Transferencia Bancaria
Cómo utilizar Transferencia Bancaria para enviar un payout en Brasil
Enviar un payout por Transferencia Bancaria en Brasil
POST
https://sandbox.transfersmile.com/api/payout
Este endpoint te permite usar Transferencia bancaria para realizar un payout en Brasil.
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
string
Correo de beneficiario
document_id*
string
Número de identificación de beneficiario
branch*
string
Código de sede de banco
account*
string
Cuenta bancaria de beneficiario
account_type*
string
Tipo de cuenta de banco de beneficiario - Sólo uno: SAVINGS, CHECKING -
account_digit*
string
Dígito de cuenta
branch_digit
string
Dígito de sede bancaria
method*
string
Valor Fijo: BANKTRANSFER
custom_code*
string
Payout ID de merchant - Max. 50 chars -
fee_bear*
string
Tarifa de procesamiento se carga a merchant o beneficiario - Sólo uno: merchant, beneficiario -
amount*
number
Monto de Payout
- Max. 2 números decimales
- Min 0.50, Max 1,000,000 -
source_currency*
string
Moneda de cuenta de merchant - Sólo uno: USD, EUR, GBP, BRL -
arrival_currency*
string
Valor Fijo: BRL
notify_url*
string
Donde Pagsmile enviará la notificación
additional_remark*
string
Descriptor en la factura bancaria del usuario - Max. 40 chars -
country*
string
BRA por Brasil
document_type*
string
Tipo de identificador del beneficiario
- Sólo uno: CPF, CNPJ -
amount_type
String
Especificar el monto es fijo para merchant o beneficiario - Sólo uno: source_amount, arrival_amount(defecto) -
{
"code": 200,
"msg": "success",
"time": 1628580845,
"data": {
"id": "S202108100734054iRiUZFPXfQM",
"custom_code": "custom_code9982674851738108",
"arrival_amount": "0.51",
"arrival_currency": "BRL",
"source_amount": "0.07",
"source_currency": "USD",
"status": "IN_PROCESSING"
}
}
Ejemplo
curl --location --request POST 'https://sandbox.transfersmile.com/api/payout' \
--header 'AppId: 94FAC**********************68548' \
--header 'Authorization: d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302' \
--header 'Content-Type: application/json' \
--data-raw '{
* "name" : "GUILHERME ****** SOUZA",
"phone": "",
"email": "payout@pagsmile.com",
* "bank_code": "001",
* "account_type": "CHECKING", // should be one of SAVINGS, CHECKING
* "account": "6***8",
* "account_digit": "4",
"branch": "0**8",
* "document_id": "12*******91",
* "document_type": "CPF", // should be one of CPF, CNPJ
* "source_currency": "BRL",
* "arrival_currency": "BRL", // fixed value: BRL
* "fee_bear": "merchant", // should be one of merchant, beneficiary
* "method": "BANKTRANSFER", // fixed value: BANKTRANSFER
* "amount": "1.80",
* "notify_url": "https://notify.url",
* "custom_code" : "custom_code9982674851738108",
* "additional_remark": "pagsmile payout test remark",
* "country": "BRA" // fixed value: BRA
}
'
Last updated