curl --request GET \
--url http://localhost/api/payments/v3/payments/{paymentID} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"connectorID": "aSDinaTvuI8gbWludGxpZnk=",
"provider": "<string>",
"reference": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"type": "UNKNOWN",
"initialAmount": 123,
"amount": 123,
"asset": "<string>",
"scheme": "<string>",
"status": "UNKNOWN",
"sourceAccountID": "aSDinaTvuI8gbWludGxpZnk=",
"destinationAccountID": "aSDinaTvuI8gbWludGxpZnk=",
"metadata": {},
"adjustments": [
{
"id": "<string>",
"reference": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"status": "UNKNOWN",
"raw": {},
"amount": 123,
"asset": "<string>",
"metadata": {}
}
]
}
}curl --request GET \
--url http://localhost/api/payments/v3/payments/{paymentID} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"connectorID": "aSDinaTvuI8gbWludGxpZnk=",
"provider": "<string>",
"reference": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"type": "UNKNOWN",
"initialAmount": 123,
"amount": 123,
"asset": "<string>",
"scheme": "<string>",
"status": "UNKNOWN",
"sourceAccountID": "aSDinaTvuI8gbWludGxpZnk=",
"destinationAccountID": "aSDinaTvuI8gbWludGxpZnk=",
"metadata": {},
"adjustments": [
{
"id": "<string>",
"reference": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"status": "UNKNOWN",
"raw": {},
"amount": 123,
"asset": "<string>",
"metadata": {}
}
]
}
}The access token received from the authorization server in the OAuth 2.0 flow.
The payment ID
OK
Show child attributes
UNKNOWN, PAY-IN, PAYOUT, TRANSFER, OTHER UNKNOWN, PENDING, SUCCEEDED, CANCELLED, FAILED, EXPIRED, REFUNDED, REFUNDED_FAILURE, REFUND_REVERSED, DISPUTE, DISPUTE_WON, DISPUTE_LOST, AMOUNT_ADJUSTEMENT, AUTHORISATION, CAPTURE, CAPTURE_FAILED, OTHER Show child attributes
UNKNOWN, PENDING, SUCCEEDED, CANCELLED, FAILED, EXPIRED, REFUNDED, REFUNDED_FAILURE, REFUND_REVERSED, DISPUTE, DISPUTE_WON, DISPUTE_LOST, AMOUNT_ADJUSTEMENT, AUTHORISATION, CAPTURE, CAPTURE_FAILED, OTHER