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 final statuses (Paid, Declined, and Rejected). For payout states, check our status article.

STATUSCodeDESCRIPTION
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"
      }
    }
}
footer
Last modified September 19, 2024

© Bamboo | All rights reserved 2024