Xenodia Docs
API ReferenceGenerated Reference

Read a wallet payment and its credited account

Requires the original account's access token. Only completed confirms Credits delivery. Keep tracking the original order instead of sending another transfer when a transaction is still confirming.

GET
/v1/payments/orders/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://api.xenodia.xyz/v1/payments/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "data": {
    "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"
  }
}
{
  "error": "bad_request",
  "message": "string",
  "type": "string",
  "code": "string"
}
{
  "error": "bad_request",
  "message": "string",
  "type": "string",
  "code": "string"
}