curl --request GET \
--url https://api.example.com/payouts/{payoutId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/payouts/{payoutId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/payouts/{payoutId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "po_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41",
"kind": "fiat",
"status": "awaitingSignature",
"createdAt": "2023-11-07T05:31:56Z",
"quote": {
"fromAmount": "500.00",
"fromCurrency": "<string>",
"toAmount": "500.00",
"toCurrency": "<string>",
"rate": "500.00",
"feeAmount": "500.00",
"feeCurrency": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"fromChainId": "<string>",
"toChainId": "<string>"
},
"transactionHash": "<string>",
"transactionId": "txn_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41",
"contact": {
"contactId": "ct_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41",
"name": "<string>",
"address": "<string>",
"chainId": "<string>",
"token": "<string>"
},
"paymentReference": "<string>",
"settledAt": "2023-11-07T05:31:56Z",
"attention": {
"kind": "rfi",
"url": "<string>"
},
"failure": {
"code": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}Retrieve an outgoing transfer
Retrieve the current transfer lifecycle, including quote, contact, settlement result and any actionable failure.
curl --request GET \
--url https://api.example.com/payouts/{payoutId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/payouts/{payoutId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/payouts/{payoutId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "po_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41",
"kind": "fiat",
"status": "awaitingSignature",
"createdAt": "2023-11-07T05:31:56Z",
"quote": {
"fromAmount": "500.00",
"fromCurrency": "<string>",
"toAmount": "500.00",
"toCurrency": "<string>",
"rate": "500.00",
"feeAmount": "500.00",
"feeCurrency": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"fromChainId": "<string>",
"toChainId": "<string>"
},
"transactionHash": "<string>",
"transactionId": "txn_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41",
"contact": {
"contactId": "ct_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41",
"name": "<string>",
"address": "<string>",
"chainId": "<string>",
"token": "<string>"
},
"paymentReference": "<string>",
"settledAt": "2023-11-07T05:31:56Z",
"attention": {
"kind": "rfi",
"url": "<string>"
},
"failure": {
"code": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The client account to act for, as a cl_… id. Omit it to act as yourself.
"cl_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41"
Path Parameters
Response
Successful Response
Stable public identifier for this outgoing transfer.
^(?:po_)?[A-Za-z0-9._:\-]{1,216}$"po_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41"
Whether the contact is account-based or on-chain.
fiat, onchain Current public lifecycle status of the transfer.
awaitingSignature, submitted, settled, failed, refunded UTC timestamp when the transfer was created.
Price, fee and conversion terms fixed at creation.
Show child attributes
Show child attributes
On-chain transaction hash, when broadcast.
Ledger transaction identifier, when created.
^(?:txn_)?[A-Za-z0-9._:\-]{1,216}$"txn_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41"
Contact snapshot fixed at creation.
Show child attributes
Show child attributes
Reference or memo delivered with the transfer.
UTC timestamp when settlement completed.
Additional action required before processing.
Show child attributes
Show child attributes
Terminal or actionable failure details.
Show child attributes
Show child attributes
Was this page helpful?