Request a Withdrawal

This public API allows merchants to request a withdrawal of their available funds from Bamboo.

Request URL

You must invoke a GET request to the following URLs according to your needs.

  • Production: https://api.bamboopayment.com/v1/api/merchant/withdrawal
  • Stage: https://api.stage.bamboopayment.com/v1/api/merchant/withdrawal

Authorization

In the header, the Authorization parameter must be configured by concatenating the word Basic, a space and the Private Key of the merchant.

Request parameters

FieldTypeRequiredDescription
ReferenceIdstringYesA unique identifier for this withdrawal request
CurrencyIsoCodestringYesThe ISO code of the currency for the withdrawal (e.g., “USD”)
RequesterstringNoIdentifier of the person or system requesting the withdrawal
TextNotesstringNoAdditional notes or comments about the withdrawal

Request example

{
  "ReferenceId": "withdrawal-001",
  "CurrencyIsoCode": "USD",
  "Requester": "merchant-001",
  "TextNotes": "Monthly operational expenses withdrawal"
}

Response

Ok: HttpCode 200.
Message received correctly, at this point the Withdrawal request starts to be processed.

BadRequest: HttpCode HttpCode 400.
The validation of the message failed, and the Withdrawal request is not created.

footer
Last modified November 18, 2024

© Bamboo | All rights reserved 2024