Confirm a payout deposit
curl --request POST \
--url http://localhost:3000/api/integrations/breb/payouts/{payoutId}/confirm \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"txHash": "0x1111111111111111111111111111111111111111111111111111111111111111"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({txHash: '0x1111111111111111111111111111111111111111111111111111111111111111'})
};
fetch('http://localhost:3000/api/integrations/breb/payouts/{payoutId}/confirm', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3000/api/integrations/breb/payouts/{payoutId}/confirm"
payload = { "txHash": "0x1111111111111111111111111111111111111111111111111111111111111111" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"payoutId": "<string>",
"status": "<string>",
"fromToken": "<string>",
"sourceAmount": "<string>",
"fees": [
{
"code": "swap",
"amountUsd": "<string>",
"to": "<string>",
"status": "quoted"
}
],
"quote": {
"display": "<string>",
"effectiveUsdCop": "<string>"
},
"receipt": {
"title": "Retiro Bre-B",
"status": "<string>",
"completedAt": "<string>",
"transactionType": "withdrawal",
"payoutId": "<string>",
"breBKey": "<string>",
"breBKeyLast4": "<string>",
"beneficiaryName": "<string>",
"totalPaid": {
"amount": "<string>",
"currency": "USD"
},
"exchangeRate": {
"display": "1 USD = 3000 COP",
"effectiveUsdCop": "<string>",
"sellRateUsdCop": "<string>"
},
"commission": {
"mode": "included_in_rate",
"displayAmount": "0",
"displayCurrency": "COP",
"note": "<string>"
},
"totalReceived": {
"amount": "<string>",
"currency": "COP"
},
"feesItemized": [
{
"code": "swap",
"amountUsd": "<string>",
"to": "<string>",
"status": "quoted"
}
]
},
"deposit": {
"chain": "<string>",
"currency": "<string>",
"address": "<string>",
"amount": "<string>"
},
"transaction": {
"approvalTarget": "<string>",
"to": "<string>",
"data": "<string>",
"value": "0"
},
"feeTransaction": {
"approvalTarget": "<string>",
"to": "<string>",
"data": "<string>",
"value": "0"
},
"destinationPreview": {
"accountOwnerName": "<string>",
"bankName": "<string>",
"documentLast4": "<string>"
}
}{
"error": "<string>",
"errorCode": "below_minimum"
}BRE-B
Confirm a payout deposit
txHash is unique across payouts. A second payout cannot reuse it (tx_hash_reused).
Mock mode skips the onchain receipt check.
POST
/
api
/
integrations
/
breb
/
payouts
/
{payoutId}
/
confirm
Confirm a payout deposit
curl --request POST \
--url http://localhost:3000/api/integrations/breb/payouts/{payoutId}/confirm \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"txHash": "0x1111111111111111111111111111111111111111111111111111111111111111"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({txHash: '0x1111111111111111111111111111111111111111111111111111111111111111'})
};
fetch('http://localhost:3000/api/integrations/breb/payouts/{payoutId}/confirm', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3000/api/integrations/breb/payouts/{payoutId}/confirm"
payload = { "txHash": "0x1111111111111111111111111111111111111111111111111111111111111111" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"payoutId": "<string>",
"status": "<string>",
"fromToken": "<string>",
"sourceAmount": "<string>",
"fees": [
{
"code": "swap",
"amountUsd": "<string>",
"to": "<string>",
"status": "quoted"
}
],
"quote": {
"display": "<string>",
"effectiveUsdCop": "<string>"
},
"receipt": {
"title": "Retiro Bre-B",
"status": "<string>",
"completedAt": "<string>",
"transactionType": "withdrawal",
"payoutId": "<string>",
"breBKey": "<string>",
"breBKeyLast4": "<string>",
"beneficiaryName": "<string>",
"totalPaid": {
"amount": "<string>",
"currency": "USD"
},
"exchangeRate": {
"display": "1 USD = 3000 COP",
"effectiveUsdCop": "<string>",
"sellRateUsdCop": "<string>"
},
"commission": {
"mode": "included_in_rate",
"displayAmount": "0",
"displayCurrency": "COP",
"note": "<string>"
},
"totalReceived": {
"amount": "<string>",
"currency": "COP"
},
"feesItemized": [
{
"code": "swap",
"amountUsd": "<string>",
"to": "<string>",
"status": "quoted"
}
]
},
"deposit": {
"chain": "<string>",
"currency": "<string>",
"address": "<string>",
"amount": "<string>"
},
"transaction": {
"approvalTarget": "<string>",
"to": "<string>",
"data": "<string>",
"value": "0"
},
"feeTransaction": {
"approvalTarget": "<string>",
"to": "<string>",
"data": "<string>",
"value": "0"
},
"destinationPreview": {
"accountOwnerName": "<string>",
"bankName": "<string>",
"documentLast4": "<string>"
}
}{
"error": "<string>",
"errorCode": "below_minimum"
}Authorizations
Integration API key. Send as Bearer copby_live_pk_….
Path Parameters
Body
application/json
Pattern:
^0x[a-fA-F0-9]{64}$Response
Updated payout
Consumer receipt (REQ-INT-RCPT-01). Fees are included in exchangeRate.effectiveUsdCop.
Use feesItemized only for partner backoffice / disputes.
Hide child attributes
Hide child attributes
Example:
"Retiro Bre-B"
Available options:
withdrawal Masked key (last4), e.g. ···3143