API reference

Retrieve a transaction

Look up a transaction you created or that belongs to your account.

GEThttps://api.xxpayus.online/api/v1/transactions/{id}Merchant, Agent

{id} can be the transaction_id returned when the payment was created, or the internal UUID. You can only read transactions belonging to your account; unknown or other-account IDs return 404.

bash
curl https://api.xxpayus.online/api/v1/transactions/GGP_EXAMPLE_ORDER \
  -H "X-API-Key: xxp_pk_your_key_id" \
  -H "X-API-Secret: $XXPAYUS_API_SECRET"
Response
{
  "transaction": {
    "transaction_id": "GGP_EXAMPLE_ORDER",
    "method": "cashapp",
    "amount": 50,
    "status": "completed",
    "created_at": "2026-10-06T16:00:00.000Z"
  }
}

The transaction object contains additional fields such as fees and timestamps.