Payouts (Colombia)
Call the Payouts API to request withdrawal for your customer.
POST /v1/payout
Request
Parameters details
customer_id
string
min: 1 | max: 255
yes
The customer id stored on your platform for future identification.
branch
string
min: 1 | max: 255
no
When the merchant needs to keep track of its various offices / branch, this field must be fill.
name
string
min: 3 | max: 150
yes
Name of the customer who started the transaction.
email
string
min: 30 | max: 255
yes
Email of the customer who started the transaction.
document
string
Format: 99999999999
yes
Colombia document of the customer who started the transaction.
- Must be a valid document;
Eg: 12345678909
phone
string
Format: 999999999999
yes
Colombia phone number of the customer who receive payout.
- Must be a valid phone;
Eg: 571234567890
amount
decimal (10,2)
min: 2
yes
The amount that the client specified when initiating the transaction showed IN COLOMBIAN PESO (use dot instead of comma)
Eg: 300.10
currency
string (3)
(COP)
min: 3 | max: 3
yes
The currency type that the amount will be credited. COP is only allowed for the COL country
country
string (3)
(COL)
min: 3 | max: 3
yes
The country type that the amount will be credited. COP is only allowed for the COL country
callback
string
min: 30 | max: 250
(Method: POST)
yes
The URL in you site that our API will notify when the payment changes the status, the HTTP supported method should be HTTP
Eg: http://my-url-callback/
transaction
id
string
min: 1 | max: 255
yes
The id of the transaction generated in you platform.
Response
Response details
id
status
The current status of the payment. These are our statuses: pending
, success
, failed
, onhold
, returned
, refunded
values
total
The full value of the transaction, including service fees. Decimal separator it a dot
subtotal
The value of the transaction, without service fees. Decimal separator it a dot
exchange
The exchange rate applied to the current transaction
fee
The service fee value
GET /v1/payout/{id}
Request
Response
Response details
id
The created payment by the request made unique identificator.
customer_id
The customer id stored on your platform for future identification.
transaction_id
The id of the transaction generated in you platform.
amount
The amount that the client specified when initiating the transaction.
currency
The currency type that the amount will be credited.
status
The current status of the payment. These are our statuses: pending
, success
, failed
, onhold
, returned
, refunded
created_at
The date and time the transaction was created.
updated_at
The date and time the transaction was updated with new status.
GET /v1/payouts
Request
Parameters details
limit
integer
min: 1 | max: 40
The number of items to return in the response.
page
integer
min: 1 | max: 9999999
The page number indicating which set of items will be returned in the response. So, the combination of page=1
and limit=20
returns the first 20 items. The combination of page=2
and limit=20
returns items 21 through 40.
sort
string
Format: item,(asc|desc)
Sorts the items in the response by filter in ascending or descending order.
Eg.: sort=id,desc
(This combination returns a list in descending order based on id.)
start_time
string
Internet date and time format
end_time
string
Internet date and time format
customer_id
string
min: 1 | max: 255
Sorts the items in the response by looking for the customer_id that was once provided by your system.
transaction_id
string
Sorts the items in the response by looking for the transaction_id that was once provided by your system.
To get multiple transaction_id, send each transaction_id separating by comma (,).
Eg.: 8fecdfcc-4e4d-11ee
,
8fece5ee-4e4d-11ee
,
d42953be-4e4d-11ee
Response
Response details
id
The created payment by the request made unique identificator.
customer_id
The customer id stored on your platform for future identification.
transaction_id
The id of the transaction generated in you platform.
amount
The amount that the client specified when initiating the transaction.
currency
The currency type that the amount will be credited.
status
The current status of the payment. These are our statuses: pending
, success
, failed
, onhold
, returned
, refunded
created_at
The date and time the transaction was created.
updated_at
The date and time the transaction was updated with new status.
Last updated