Transferencia Bancaria
Cómo enviar un payout por Transferencia Bancaria en Colombia.
Enviar un payout por Transferencia Bancaria en Colombia
POST
https://sandbox.transfersmile.com /api/payout
Este endpoint te permite usar transferencia bancaria para realizar un payout en Colombia.
Headers
Content-Type*
string
application/json; charset=UTF-8
AppId*
string
APP ID en la plataforma de payout
Authorization*
string
SHA256($sorted_params + $app_key)
Request Body
name*
string
Nombre de beneficiario, longitud entre 5 y 100
phone*
string
Teléfono de beneficiario
email*
string
Correo de beneficiario
account*
string
Cuenta, max longitud es 20
account_type*
string
Una entre CHECKING, SAVINGS
document_id*
string
Número de identificación de beneficiario
method*
string
Valor Fijo: BankTransfer
custom_code*
string
ID de orden de merchant
- Max.50 -
fee_bear*
string
Uno entre [beneficiario | merchant]
amount*
string
Monto de Payout, debe ser Integer.
- Min 1, Max 2,000,000 -
amount_type
string
Especificar el monto es fijo para merchant o beneficiario
- Uno entre: source_amount, arrival_amount(defecto) -
source_currency*
string
Moneda de cuenta de merchant
- soporta: USD, GBP, EUR -
arrival_currency*
string
Moneda de cuenta de beneficiario.
- Valor Fijo: COP -
notify_url*
string
Donde Pagsmile enviará el callback
additionl_remark*
string
Nota adicional - Max Longitud: 40 -
country*
string
Valor Fijo: COL, por Colombia
{
"code": 200,
"msg": "success",
"time": 1628580845,
"data": {
"id": "TS202108100734054iRiUZFPXfQBC",
"custom_code": "custom_code9982674851738108",
"arrival_amount": "100",
"arrival_currency": "COL",
"source_amount": "0.07",
"source_currency": "USD",
"status": "IN_PROCESSING"
}
}
Ejemplo
curl --location --request POST 'http://sandbox.transfersmile.com/api/payout' \
--header 'AppId: 94FAC**********************68548' \
--header 'Authorization: d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302' \
--header 'Content-Type: application/json' \
--data-raw '{
* "name" : "GUILHERME ****** SOUZA",
* "phone" : "468****068", // phone is required
* "email" : "g******me@gmail.com", // email is required
* "bank_code": "007", // Bancolombia
* "account" : "00219400254640654321", // just for test in sandbox
* "account_type" : "CHECKING",
* "document_id" : "123456789", // just for test in sandbox, don't use this in production.
* "document_type" : "CC",
* "method" : "BankTransfer",
* "custom_code" : "custom_code9982674851738108",
* "fee_bear" : "merchant",
* "amount" : "100", //Amount should be an integer, like 1.00 is not available.
* "source_currency" : "USD",
* "arrival_currency" : "COP",
* "notify_url" : "https://notify.url",
* "additional_remark" : "pagsmile payout test",
* "country": "COL"
}'
Tipo de Documento
CC
Entre 6 y 10
numérico
CE
hasta 12
caracteres
PEP
hasta 15
caracteres
Last updated