API ReferenceGenerated Reference
Reserve the single wallet-send attempt for an unpaid order
Requires the original account's access token. Call with an empty JSON object immediately before asking the wallet to send. Atomically reserves the pending, unexpired order and changes it to confirming, even before a transaction hash exists. A second tab or device receives 409 and must inspect the original order. This endpoint does not send funds. Keep attempt_id to report an explicit wallet rejection; an unknown result must remain reserved for recovery.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Format
uuidResponse Body
application/json
application/json
application/json
curl -X POST "https://api.xenodia.xyz/v1/payments/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08/attempts"{
"data": {
"order": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"account_id": 0,
"account_label": "string",
"payer_address": "string",
"asset_id": "base_usdc",
"chain_id": 8453,
"token_address": "string",
"recipient_address": "string",
"amount_micro": "string",
"credit_micro": "string",
"rate_ppm": "string",
"status": "pending",
"payment_attempt_id": "string",
"tx_hash": "string",
"created_at": "2019-08-24T14:15:22Z",
"expires_at": "2019-08-24T14:15:22Z"
},
"attempt_id": "7a838dca-3ea8-4a7c-8133-ba2c86aeb22d"
}
}{
"error": "bad_request",
"message": "string",
"type": "string",
"code": "string"
}{
"error": "bad_request",
"message": "string",
"type": "string",
"code": "string"
}Empty