Transferencia Bancaria

Cómo enviar un payout por Transferencia Bancaria en Chile.

Enviar un payout por Transferencia Bancaria en Chile.

POST https://sandbox.transfersmile.com/api/payout

Este endpoint te permite usar Transferencia bancaria para realizar un payout en Chile.

Headers

NameTypeDescription

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

NameTypeDescription

name*

string

Nombre de beneficiario, longitud entre 5 y 100

phone

string

Teléfono de beneficiario

email

string

Correo de beneficiario

bank_code*

string

Código de banco, ver bank list

account*

string

Cuenta, max longitud es 20

account_type*

string

Debe ser una CHECKING, SAVINGS, VISTA, RUT, SALARY.

document_id*

string

Número de identificación de beneficiario

document_type*

string

Tipo de identificador del beneficiario, debe ser uno de RUT, RUN, PAS, CE.

method*

string

Valor Fijo: BankTransfer

custom_code*

string

ID de orden de merchant

- Max.50 -

fee_bear*

string

Uno [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: CLP -

notify_url*

string

Donde Pagsmile enviará el callback

additional_remark*

string

Nota adicional - Max Longitud: 40 -

country*

string

Valor Fijo: CHL, por Chile

amount_type

string

Especificar el monto es fijo para merchant o beneficiario

- Uno de: source_amount, arrival_amount(defecto) -

{
    "code": 200,
    "msg": "success",
    "time": 1628580845,
    "data": {
        "id": "TS202108100734054iRiUZFPXfQBCL",
        "custom_code": "custom_code9982674851738108",
        "arrival_amount": "100",
        "arrival_currency": "CLP",
        "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",
    * "bank_code": "012", // Banco del Estado de Chile
    * "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" : "RUT",
    * "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" : "CLP",
    * "notify_url" : "https://notify.url",
    * "additional_remark" : "pagsmile payout test",
    * "country": "CHL"
}'

Nota: 94FAC**********************68548 es el test ID de pagsmile para prueba en sandbox, y d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302 es el token de autorización asociado con el app ID de prueba.

Last updated