Credit points from an x402 payment
x402_topupTop up points for the CURRENT Bearer key using x402 proof.
Inputs:
quote_id: returned by PAYMENT-REQUIRED (or /api/v1/x402/quote)
payment_signature_b64: base64(JSON) that will be passed as HTTP header PAYMENT-SIGNATURE
Side effects: credits points to the same Bearer key (no key rotation). On success returns credited_points and balance_after (shape depends on upstream).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | Quote ID returned by PAYMENT-REQUIRED (or /x402/quote). | |
| payment_signature_b64 | Yes | Base64(JSON) for header PAYMENT-SIGNATURE. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |