Colombia

Localpayment's API works 24/7/365, the payments are processed during business hours from 9am to 15pm GMT -3 when we have our cut-off. Requests done after the cut-off will be executed next business day

Create Payout Colombia

POST https://sandbox.localpayment.com/api/v2/payouts/payout

Array () [

*Key required

Headers

NameTypeDescription

Content-Type*

String

Default: application/json Content Type

Authorization*

String

Authorization

customer_id*

String

String <=12

customer_id

countryCode*

String

Value: "COL"

Request Body

NameTypeDescription

submerchant_code*

String

[ 3 .. 60 ] characters ^[a-zA-Z0-9\\s\\- _]{3,60}$

The name of the merchant sending the payment

sender_taxid

String

^[a-zA-Z0-9\s]{0,22}$

This field is required when the sender is a customer (C2C or C2B)

sender_address

String

"^[a-zA-ZáéíóúÁÉÍÓÚ0-9\s]{1,300}$" accepts numbers, letters, and spaces, and the length is between 1 and 300 characters

This field is required when the sender is a customer (C2C or C2B)

sender_state

String

^[a-zA-ZáéíóúÁÉÍÓÚ\s]{1,20}$

This field is required when the sender is a customer (C2C or C2B)

sender_country

String

^[a-zA-ZáéíóúÁÉÍÓÚ\s]{1,20}$

This field is required when the sender is a customer (C2C or C2B)

sender_birthdate

String

([12]\\d{3}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))

format - yyyymmdd

sender_email

String

beneficiary_name

String

[ 1 .. 60 ] characters ^[a-zA-Z0-9\s]{1,60}$

type_of_id*

String

1 charactersColombia

id *

String

Show pattern

Check document_id validation Colombia

account_type*

String

2 characters

27= Checking

37= Savings

You can see the account type Colombia

bank_code*

String

Check the [bank codes]Colombia

beneficiary_account_number *

String

[ 4 .. 20 ] characters

beneficiary_address

String

^[a-zA-ZáéíóúÁÉÍÓÚ0-9\s]{1,150}$

beneficiary_state

String

^[a-zA-ZáéíóúÁÉÍÓÚ\\s]{1,60}$

beneficiary_country

String

^[a-zA-ZáéíóúÁÉÍÓÚ\s]{1,60}$

beneficiary_birth_date

String

([12]\\d{3}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))

format - yyyymmdd

beneficiary_email

String

beneficiary_phone_number

String

sender_phone_number

String

merchant_id*

String

[ 0 .. 60 ] characters

Your internal transaction/tracking ID

concept_code*

String

You can see the concept code Concept Codes

currency*

String

Value: "COP"

payout_date

String

format - yyyymmdd - UTC Timezone

amount *

String

Integer <int64> >= 100

The last 2 digits represent the decimals (cents). This is the amount to be received by the beneficiary in the local currency

authenticate

boolean

If set as true, the transaction will be created in status OnHold and will expire after a week unless is aproved using the endpoint payouts/authenticate. As default this parameter is false and will be created with the status Received

sender_name

String

[a-zA-ZáéíóúÁÉÍÓÚ\s]{1,60}$

This field is required when the sender is a customer (C2C or C2B)

[
    {
        "authenticate": false,
        "transaction_id": 308054,
        "payout_id": 51629,
        "status": "Received",
        "Ticket": "16401875210000",
        "submerchant_code": "a31321",
        "sender_taxid": null,
        "sender_name": "testsender",
        "sender_address": "address",
        "sender_state": "state",
        "sender_country": "India",
        "sender_birthdate": null,
        "sender_email": null,
        "sender_phone_number": null,
        "sender_zip_code": null,
        "beneficiary_name": "testbene",
        "type_of_id": "1",
        "id": "XXXXXXXX",
        "account_type": "27",
        "bank_code": "1007",
        "beneficiary_account_number": "XXXXXXXXX",
        "beneficiary_address": "",
        "beneficiary_state": null,
        "beneficiary_country": null,
        "beneficiary_zip_code": null,
        "beneficiary_birth_date": null,
        "beneficiary_email": null,
        "beneficiary_phone_number": "0",
        "merchant_id": "1a23456",
        "concept_code": "0001",
        "currency": "COP",
        "payout_date": "20211222",
        "amount": 1000,
        "exchange_rate": 3959901000,
        "gmf_tax": 0,
        "ErrorRow": {
            "Errors": [],
            "HasError": false
        }
    }
]

Example: PayOut request

curl --location --request POST {{Api_URL}} \
--header 'Authorization: {{Token_Generated}} \
--header 'customer_id: {{Your_CustomerID}}' \
--header 'countryCode: COL' \
--header 'Content-Type: application/json' \
--data-raw '[
{
      "account_type":"37",
      "amount":2500000,
      "bank_code":"1507",
      "beneficiary_account_number":"58963145",    
      "beneficiary_name":"Benefiaciary Name",
      "concept_code": "0001",
      "currency":"COP",
      "id":"46789023", 
      "merchant_id":{{$timestamp}},
      "submerchant_code":"Submerchant Code",
      "type_of_id":"5"
   }

Last updated