Skip to main content
Use this endpoint to fetch the current state of a payment using its UUID. The response includes the full transaction record: status, amount, currency, the upstream provider that processed it, and error details if the payment failed. Payments are scoped to your merchant account — you can only retrieve payments created with your API key.

Path parameters

id
string
required
UUID of the payment to retrieve.

Headers

X-API-Key
string
required
Your secret API key. Starts with smtgw_sk_.

Response

data
object
curl https://api.gateway.accelebit.com/v1/payments/f47ac10b-58cc-4372-a567-0e02b2c3d479 \
  -H "X-API-Key: smtgw_sk_test_your_secret_key"
{
  "data": {
    "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "merchantId": "merchant_abc123",
    "customerId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "providerId": "everest",
    "status": "captured",
    "amount": "55.00",
    "currency": "EUR",
    "paymentMethod": "card",
    "merchantRef": "order_98765",
    "errorCode": null,
    "errorMessage": null,
    "createdAt": "2026-04-09T12:01:00.000Z",
    "updatedAt": "2026-04-09T12:01:02.000Z"
  },
  "meta": {
    "timestamp": "2026-04-09T12:05:00.000Z"
  }
}