Refunds for APM

Process refunds for Alternative Payment Methods that don't support this feature natively through Bamboo's Instant Payout system to your customer's bank account.

Overview

This endpoint allows you to process refunds for completed purchases made with Alternative Payment Methods (APMs) that don't natively support this feature. Bamboo processes these refunds through an Instant Payout to your customer's bank account, providing an unmatched SLA for claim resolution.

For details on authentication, url request and basic refund parameters, refer to our refunds operation guide.

Metadata for refunds

Request Parameters

Include the following specific fields in the MetadataIn object of your Refund request to process an APM Refund.

Customer Information

Payee data is necessary to process a Refund via a Payout, for purchases where these parameters (Customer Name and Document) haven’t been defined, they should be sent in the Refund Request.

ParameterTypeMandatoryDescription
MetadataInCustomerFirstNamestringYesCustomer's first name receiving the refund (from Customer.FirstName in the Purchase)
MetadataInCustomerLastNamestringYesCustomer's last name receiving the refund (from Customer.LastName in the Purchase)
MetadataInCustomerDocumentTypestringYesCustomer's document type (Format: DOCUMENT.COUNTRY)
MetadataInCustomerDocumentNumberstringYesCustomer's document number
MetadataInCustomerEmailstringYes*Customer's email for notifications and bank data collection
MetadataInCustomerPhoneNumberstringYes*Customer's phone number for notifications and bank data collection

Either the Customer’s Email OR Phone Number is required when Bamboo manages the bank data collection.

Bank Account Information

Required when merchants collect bank account information through their own claims process, in case these parameters are not received it’s necessary to provide Customer’s contact data.

ParameterTypeMandatoryDescription
MetadataInRefundBankIDstringYesRefund recipient's bank code. See bank list
MetadataInRefundBankAccountTypestringYesRefund recipient's Bank Account type: 1 for Checking, 2 for Savings
MetadataInRefundBankAccountNumberstringYesRefund Recipient's Bank Account number

Additional Configuration

Allows customization of your customer’s experience when Bamboo manages the bank data collection.

ParameterTypeMandatoryDescription
MetadataInPayinMerchantLogoURLstringNoURL of merchant's logo for notifications and web forms
MetadataInResponseURL-SuccessstringNoSuccess page URL after customer completes bank data form
MetadataInResponseURL-FailurestringNoError page URL for failed bank data collection

Request Examples

Bank Data Provided by Merchant

{
  "Amount": "2500",
  "MetadataIn": {
    "CustomerFirstName": "Juan",
    "CustomerLastName": "Pérez",
    "CustomerDocumentType": "CI.CO",
    "CustomerDocumentNumber": "123456789",
    "RefundBankID": "01",
    "RefundBankAccountType": "1",
    "RefundBankAccountNumber": "1234567890"
  }
}

Bank Data provided by Customer / Payee

{
  "Amount": "2500",
  "MetadataIn": {
    "CustomerFirstName": "Juan",
    "CustomerLastName": "Pérez",
    "CustomerDocumentType": "CI.CO",
    "CustomerDocumentNumber": "123456789",
    "CustomerEmail": "[email protected]",
    "CustomerPhoneNumber": "3001234567"
  }
}

Response Example

{
  "Amount": "2500",
  "TransactionId": "123456789",
  "Status": "PENDING",
  "Result": "COMPLETED"
}
ℹ️

Important Notes

  • Pending Status: APM refunds remain in PENDING status while the bank transfer is being processed.
  • Final Result: The final refund result will be notified through the Transaction webhook.
  • Status Updates: You can check the latest refund status using the GET Transaction operation with the Transaction ID you get in the refund request response.