Skip to main content
GET
/
api
/
v1
/
payments
/
payment-status
Check payment status
curl --request GET \
  --url https://api-beta.pepay.io/api/v1/payments/payment-status \
  --header 'x-session-token: <api-key>' \
  --header 'x-signature: <api-key>'
{
  "status": "paid",
  "paid_at": "2024-01-01T12:30:00Z"
}

Authorizations

x-session-token
string
header
required

Payment session token (opaque). Returned when creating an invoice; send on every request.

x-signature
string
header
required

Payment session signature in the format signature_hash.timestamp_ms (returned with the invoice/session).

Response

Payment status retrieved successfully

status
enum<string>

Current payment status

Available options:
unpaid,
underpaid,
paid,
expired
paid_at
string<date-time> | null

Timestamp when payment was completed (null if not paid)