API ReferenceGenerated Reference
Submit an x402 credit payment
Without payment proof this returns HTTP 402 with x402 payment requirements. A successful settlement is credited once using the payment identity. GET is a protocol-compatible payment endpoint, not a safe speculative read. Browser users must first obtain an account-bound URL from POST /v1/payments/context; preserve its signed context to credit the displayed user.
Query Parameters
amount_micro?integer
Default
5000000Range
1 <= valueResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.xenodia.xyz/v1/payments/topup"{
"status": "accepted",
"payment_id": 0,
"account_id": 0,
"wallet_address": "string",
"amount_micro": 0,
"message": "string"
}{
"error": "string",
"message": "string",
"request_id": "string"
}{
"error": "string",
"message": "string",
"request_id": "string"
}{}{
"error": "string",
"message": "string",
"request_id": "string"
}{
"error": "string",
"message": "string",
"request_id": "string"
}{
"error": "string",
"message": "string",
"request_id": "string"
}{
"error": "string",
"message": "string",
"request_id": "string"
}{
"error": "string",
"message": "string",
"request_id": "string"
}{
"error": "string",
"message": "string",
"request_id": "string"
}