hoHellOOpass

Retrieve Payment Details

Fetch the current state of a single HellOOpass payment by its identifier.

Placeholder API contract

Path, headers, and fields below are illustrative until the final HellOOpass API contract is published.

GET/v1/payments/{payment_id}

Returns the payment resource for a single payment identifier.

Authentication: Secret API key (Bearer)

Use this from your backend to look up the latest state of a payment. It is the same call behind Verify Payment.

Path parameters

ParameterTypeRequiredExample
payment_idstringYespay_01HZX9K2EXAMPLE

Request headers

HeaderValueRequired
AuthorizationBearer YOUR_SECRET_API_KEYYes

Example request

curl https://sandbox-api.helloopass.example/v1/payments/pay_01HZX9K2EXAMPLE \
  -H "Authorization: Bearer YOUR_SECRET_API_KEY"

Response — 200 OK

{
  "id": "pay_01HZX9K2EXAMPLE",
  "status": "succeeded",
  "amount": 1000,
  "currency": "ETB",
  "reference": "order_1024",
  "checkout_url": "https://checkout.helloopass.example/session/01HZX9K2EXAMPLE",
  "expires_at": "2026-10-20T18:30:00Z",
  "metadata": { "order_id": "1024" }
}
FieldDescription
idPayment identifier — store it with your order
statusLatest status — see Payment Statuses
amountAmount charged, in the smallest currency unit
currencyCurrency of the charge
referenceYour original reference, echoed back
metadataYour metadata, echoed back in webhooks

Errors

HTTPCodeAction
401unauthorizedCheck API key and environment
404not_foundVerify the payment_id and environment — a sandbox id will not resolve in production
429rate_limitedBack off and retry with jitter

Notes

Was this page helpful?