API reference / Payments and approvals
Get a payment
GET/v1/orgs/{orgId}/payments/{paymentId}
A payment with its status, fee, rail, failure details and status history.
Before you call it
- Permission
payments:view
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list. |
paymentIdpath, uuidrequired | A payment from createPayment or listPayments. |
Response 200
A payment with its status timeline
| Field | What it does |
|---|---|
paymentPaymentrequired | No description in the spec yet. |
payment.idstring (uuid)required | No description in the spec yet. |
payment.account_idstring (uuid)required | No description in the spec yet. |
payment.directionenumrequired | No description in the spec yet. One of |
payment.kindstringrequired | No description in the spec yet. |
payment.purposeenum | payment sends to a third party, withdrawal moves funds to the organization's own account, deposit is incoming One of |
payment.invoice_numberstring | No description in the spec yet. |
payment.statusstringrequired | No description in the spec yet. |
payment.amountstringrequired | No description in the spec yet. |
payment.assetstringrequired | No description in the spec yet. |
payment.feestringrequired | No description in the spec yet. |
payment.railstringrequired | No description in the spec yet. |
payment.memostringrequired | No description in the spec yet. |
payment.failurePaymentFailure | No description in the spec yet. |
payment.failure.codestringrequired | No description in the spec yet. |
payment.failure.reasonstringrequired | No description in the spec yet. |
payment.created_atstring (date-time)required | No description in the spec yet. |
payment.completed_atstring (date-time) | No description in the spec yet. |
payment.counterparty_idstring (uuid) | No description in the spec yet. |
payment.recipientstring | Recipient name (outbound) |
payment.recipient_accountstring | Masked destination, e.g. Chase ••6789 |
payment.dest_assetstring | Stablecoin delivered (crypto payouts) |
payment.dest_networkstring | No description in the spec yet. |
payment.tx_hashstring | On-chain hash or bank trace number |
payment.approvals_requiredinteger | No description in the spec yet. |
payment.created_bystring (uuid) | No description in the spec yet. |
eventsPaymentEvent[]required | No description in the spec yet. |
events[].statusstringrequired | No description in the spec yet. |
events[].messagestringrequired | No description in the spec yet. |
events[].atstring (date-time)required | No description in the spec yet. |
approvalsPaymentApproval[]required | No description in the spec yet. |
approvals[].user_idstring (uuid)required | No description in the spec yet. |
approvals[].emailstring | No description in the spec yet. |
approvals[].decisionenumrequired | No description in the spec yet. One of |
approvals[].commentstringrequired | No description in the spec yet. |
approvals[].atstring (date-time)required | No description in the spec yet. |
legsPaymentLeg[]required | No description in the spec yet. |
legs[].seqintegerrequired | No description in the spec yet. |
legs[].partnerstringrequired | No description in the spec yet. |
legs[].operationstringrequired | No description in the spec yet. |
legs[].statusstringrequired | No description in the spec yet. |
legs[].amountstringrequired | No description in the spec yet. |
legs[].referencestring | No description in the spec yet. |
can_approvebooleanrequired | The caller may approve or reject this payment now |
can_cancelbooleanrequired | No description in the spec yet. |