Notification Webhook

You can implement a service to receive and process notifications related to the Payout final status from the Bamboo Payment systems.

The Payout API only sends notifications for the following statuses (Held, Paid, Declined, and Rejected). For payout states, check our status article.

STATUSCodeDESCRIPTION
Held7The payout is under review from our Compliance Team
Paid1The payout has been paid. This is a final status indicating the successful completion of the payment.
Declined8The payout was declined due to structural validation or Compliance rules.
Rejected4The payout was rejected. Possible reasons for rejection include bank account issues, monthly limits exceeded, etc.

The merchant must publish an HTTP/REST service to send the notifications generated.

WebHook Service specifications

The WebHook service is a REST Service that must process a request with the following characteristics:

URL:<Determined by the merchant>
API Type:Public
Method:POST
Response:HTTP Code

Notification parameters

ParameterFormatDescription
payoutIdintegerInternal identification of the Payout.
referencestringUnique identifier of the Payout you defined when you requested the Payout.
isoCountrystringISO code of the country in the format ISO 3166-2.
createddateDate and time when the Payout was requested.
lastUpdatedateDate and time of the last update of the Payout.
statusintegerInternal code of the current status of the Payout.
statusDescriptionstringFinal status of the Payout. Refer to this article to learn more about Payout status.
errorCodestringInternal code of the error for the declined Payout. Find the possible errors here.
errorDescriptionstringError description for declined Payouts.
amountobjectValue and currency requested in the Payout.
localAmountobjectValue and currency requested in the Payout in local currency.
exchangeRatenumericConversion value used in the Payout.
payeeobjectInformation of the recipient or beneficiary of the Payout.

Notification example

{
    "payoutId": 18009,
    "reference": "PAB-3268",
    "isoCountry": "BR",
    "created": "2023-08-30T12:02:39.1987743+00:00",
    "lastUpdate": "2023-08-30T12:06:26.9119828+00:00",
    "status": 1,
    "statusDescription": "Paid",
    "errorCode": null,
    "errorDescription": null,
    "amount": {
      "value": 10,
      "isoCurrency": "USD"
    },
    "localAmount": {
      "value": 47.31,
      "isoCurrency": "BRL"
    },
    "exchangeRate": 4.851803,
    "payee": {
      "firstName": "Tiago",
      "lastName": "Costa",
      "email": "tcosta@mail.com",
      "phone": "92799322",
      "address": "55489-272, Travessa Eduardo, 90 Esteves do Norte - CE",
      "document": {
        "number": "54562271779",
        "type": "CPF"
      }
    }
}

Status: Held

{
  "payoutId": 123065303847429696,
  "reference": "ARI-390",
  "isoCountry": "CO",
  "created": "2024-12-05T14:17:34.8923361Z",
  "lastUpdate": "2024-12-05T14:17:35.8297711Z",
  "status": 7,
  "statusDescription": "Held",
  "errorCode": null,
  "errorDescription": null,
  "amount": {
    "value": 5000,
    "isoCurrency": "USD"
  },
  "localAmount": null,
  "exchangeRate": null,
  "payee": {
    "firstName": "Juan",
    "lastName": "Perez",
    "email": "",
    "phone": "099999999",
    "address": "address",
    "document": {
      "number": "2606876221",
      "type": "CC"
    }
  },
  "description": null
}

footer
Last modified December 20, 2024

© Bamboo | All rights reserved 2024