Wallet
Cómo enviar un payout por wallet en Colombia
Enviar un payout por Wallet en Colombia
POST
https://sandbox.transfersmile.com/api/payout
Este endpoint te permite usar e-wallet 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
document_id
string
Número de identificación de beneficiario
channel*
string
Valor Fijo: Tpaga
phone
string
Teléfono de beneficiario.
- Max.15 -
string
Correo de beneficiario
- Max.64 -
document_type
string
Tipo de identificador del beneficiario
name
string
Nombre de beneficiario
- Min.5 Max.100 -
account*
string
Cuenta Tpaga de beneficiario.
- Max.11 -
method*
string
Valor Fijo: WALLET
account_type*
string
Valor Fijo: PHONE
custom_code*
string
ID de orden de merchant
- Max. 50 -
fee_bear*
string
Uno entre [beneficiario | merchant]
amount*
string
Monto de Payout, debe ser un Integer.
- Min 1, Max 2,000,000 -
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
additional_remark*
string
Nota adicional - Max longitud: 40 -
country*
string
País de beneficiario
- Valor Fijo: COL -
amount_type
string
Especificar el monto es fijo para merchant o beneficiario - Uno entre: source_amount, arrival_amount(defecto) -
{
"code": 200,
"msg": "success",
"time": 1628580845,
"data": {
"id": "TS202108100734054iRiUZFPXfQWC",
"custom_code": "custom_code9982674851738108",
"arrival_amount": "100",
"arrival_currency": "COP",
"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",
"email" : "g******me@gmail.com",
* "account" : "+57317****412",
* "account_type" : "PHONE",
"document_id" : "************",
"document_type" : "***",
* "method" : "WALLET",
* "channel" : "Tpaga",
* "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"
}'
Last updated