Skip to main content
GET
Get payment details

Authorizations

Api-Key
string
header
required

Headers

Api-Key
string
required
Merchant-Id
string
required
WCP-Version
string | null
Sdk-Name
string | null
Sdk-Version
string | null
Sdk-Platform
string | null
Idempotency-Key
string | null

Path Parameters

id
string
required

Payment ID

Example:

"pay_7fa2ecc101ARZ3NDEKTSV4RRFFQ69G5FAV"

Response

Payment details retrieved successfully

referenceId
string
required

Merchant-provided reference ID for this payment, as supplied during payment creation

status
enum<string>
required

Payment status

Available options:
requires_action,
processing,
succeeded,
failed,
expired,
cancelled
failureCode
null | enum<string>

Machine-readable reason identifying why the payment failed. Present only when status == "failed".

Available options:
declined_user
info
null | object

Payment information (transaction hash, amount). Present when status is Succeeded, null otherwise.

Example:
settlement
null | object

Settlement metadata for the MTA → destination transfer. Null when settlement has not completed yet (pending, non-MTA flows, or pre-confirmation).

Example: