Xenodia Docs
API ReferenceGenerated Reference

Register the wallet transfer for an existing order

Requires the original account's access token. Submitting a hash does not prove payment. Xenodia verifies the chain, token, direct transfer, payer, recipient, amount and confirmation before adding Credits once. A conflicting, late or ambiguous transfer may require review. Do not submit an exchange withdrawal or a smart-account transaction.

POST
/v1/payments/orders/{id}/transactions

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.xenodia.xyz/v1/payments/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08/transactions" \  -H "Content-Type: application/json" \  -d '{    "tx_hash": "string"  }'
{
  "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"
}
{
  "error": "bad_request",
  "message": "string",
  "type": "string",
  "code": "string"
}
Empty