curl --request POST \
--url https://api.example.com/payouts/{payoutId}/confirm \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"signature": "<string>"
}
'import requests
url = "https://api.example.com/payouts/{payoutId}/confirm"
payload = { "signature": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({signature: '<string>'})
};
fetch('https://api.example.com/payouts/{payoutId}/confirm', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"kind": "fiat",
"status": "awaitingSignature",
"transactionHash": "<string>",
"transactionId": "txn_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41",
"pollUrl": "<string>",
"failure": {
"code": "<string>"
}
}{
"id": "<string>",
"kind": "fiat",
"status": "awaitingSignature",
"transactionHash": "<string>",
"transactionId": "txn_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41",
"pollUrl": "<string>",
"failure": {
"code": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}Authorize an outgoing transfer
Verify the developer-key signature against the immutable approval and fund the prepared transfer. A retry cannot change the contact, amount, payment method or quote.
curl --request POST \
--url https://api.example.com/payouts/{payoutId}/confirm \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"signature": "<string>"
}
'import requests
url = "https://api.example.com/payouts/{payoutId}/confirm"
payload = { "signature": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({signature: '<string>'})
};
fetch('https://api.example.com/payouts/{payoutId}/confirm', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"kind": "fiat",
"status": "awaitingSignature",
"transactionHash": "<string>",
"transactionId": "txn_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41",
"pollUrl": "<string>",
"failure": {
"code": "<string>"
}
}{
"id": "<string>",
"kind": "fiat",
"status": "awaitingSignature",
"transactionHash": "<string>",
"transactionId": "txn_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41",
"pollUrl": "<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
Body
Response
Successful Response
Stable public identifier for this outgoing transfer.
Whether the contact is account-based or on-chain.
fiat, onchain Current public lifecycle status of the transfer.
awaitingSignature, submitted, settled, failed, refunded On-chain transaction hash, when broadcast.
Ledger transaction identifier, when created.
^(?:txn_)?[A-Za-z0-9._:\-]{1,216}$"txn_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41"
Relative API URL to poll while processing continues.
Terminal or actionable failure details.
Show child attributes
Show child attributes
Was this page helpful?