Credit and Debit Cards

Accept and process card payments in Colombia with Bamboo’s API. Supports Visa, Mastercard, AMEX, and cross-border operations.

This page describes Colombia-specific requirements for the Create a Purchase operation. Refer to the create a Purchase guide for the full parameter list and base definitions.


Mandatory fields for Colombia

The following fields are required in addition to the global mandatory parameters.

PropertyTypeDescription
CustomerFirstNamestringCustomer’s first name.
CustomerLastNamestringCustomer’s last name.
CustomerDocumentTypestringType of identification document. Use CC.CO for individuals or NIT.CO for companies.
CustomerDocumentNumberstringIdentification number corresponding to the selected document type.
CustomerAddressStatestringDepartment or province.
CustomerAddressCitystringCity of residence.
CustomerAddressAddressDetailstringStreet number.
CustomerAddressPostalCodestringPostal code.
MetaDataInTaxAmountnumericVAT amount of the purchase. Mandatory for domestic purchases. Use integer values without a decimal separator (e.g., 1225 for COP 12.25).

Conditionally required / recommended

PropertyTypeGuidance
SoftDescriptorstringOptional. Text shown on the cardholder’s bank statement (recommended format: Bamboo*MerchantName).
CustomerPhoneNumberstringOptional. Include to improve anti-fraud scoring.
CustomerAddressCountrystringOptional. Cardholder Country

🔁

This payment methods use an API flow. The response to the purchase request will include the final status (COMPLETED, REJECTED, etc.), without redirection.


Request example using Token

To test this endpoint, use the API Reference or the Postman Collection

{
  "TrxToken": "OT__co_6dHAgJo6qeg62qIroA7H7_f_NWZZ6IEx4jiYpVJ8SzQ_",
  "UniqueID": "co-order-10001",
  "Capture": true,
  "TargetCountryISO": "CO",
  "Currency": "COP",
  "Amount": 25000,
  "Installments": 1,
  "Order": "CO-INV-10001",
  "Description": "Compra en línea - Pedido 10001",
  "Customer": {
    "FirstName": "Juan",
    "LastName": "Pérez",
    "ReferenceCode": "CLI-CO-0001",
    "PhoneNumber": "3204567890",
    "DocumentNumber": "1012345678",
    "DocumentType": "CC.CO",
    "Email": "[email protected]",
    "Address": {
      "Country": "CO",
      "City": "Bogota D.C",
      "State": "Bogota D.C",
      "PostalCode": "110111",
      "AddressDetail": "Calle 100 #10-20 Oficina 302"
    }
  },
  "MetaDataIn": {
    "TaxAmount": 4000
  },
  "CustomerIP": "190.10.224.231",
  "AntifraudData": {
    "AntifraudFingerprintId": "0046f17b-197a-4d63-8b6b-6082cdd557ff"
  }
}

Request example using Card Data

To test this endpoint, use the API Reference or the Postman Collection

{
  "CardData": {
    "CardHolderName": "Juan Pérez",
    "Pan": "5303710409428783",
    "CVV": "355",
    "Expiration": "05/26",
    "Email": "[email protected]",
    "Document": "1012345678"
  },
  "UniqueID": "co-order-10002",
  "Capture": true,
  "TargetCountryISO": "CO",
  "Currency": "COP",
  "Amount": 25000,
  "Installments": 1,
  "Order": "CO-INV-10002",
  "Description": "Compra en línea - Prueba tarjeta",
  "Customer": {
    "FirstName": "Juan",
    "LastName": "Pérez",
    "ReferenceCode": "CLI-CO-0002",
    "PhoneNumber": "3204567890",
    "DocumentNumber": "1012345678",
    "DocumentType": "CC.CO",
    "Email": "[email protected]",
    "Address": {
      "Country": "CO",
      "City": "Bogota D.C",
      "State": "Bogota D.C",
      "PostalCode": "110111",
      "AddressDetail": "Carrera 7 #72-35 Piso 4"
    }
  },
  "MetaDataIn": {
    "TaxAmount": 4000
  },
  "CustomerIP": "190.10.224.231",
  "AntifraudData": {
    "AntifraudFingerprintId": "0046f17b-197a-4d63-8b6b-6082cdd557ff"
  }
}


Response parameters

For more information on the response parameters, please refer to the Response parameters section of the Purchase creation.



Testing cards

Use the following cards to simulate different statuses of the purchase in the staging environment.

For approved purchases

BrandPANCVVExpiration
Mastercard530371040942878335505/26
Visa451307610605534815906/26
Diners36032429319768905212/26

For rejected / special cases

Scenario

PAN

CVV

Expiration

Insufficient funds (Mastercard)

5529030604551745

124

11/26



Discover the API

Once you’re familiar with how to create a purchase, you can test your integration using our API Reference: