BankTransfer
How to use Bank Transfer to submit a payout in Brazil.
Submit a payout by Bank Transfer in Brazil
POST
https://sandbox.transfersmile.com/api/payout
This endpoint allows you to submit a payout by Bank Transfer in Brazil.
Headers
Content-Type*
string
application/json; charset=UTF-8
AppId*
string
Your App ID in payout platform.
Authorization*
string
SHA256($sorted_params + $app_key)
Request Body
name*
string
Beneficiary's name - Length must between 5 and 100 -
phone
string
Beneficiary's phone
- 0 ~ 15 digits -
string
Beneficiary's email
document_id*
string
Beneficiary's personal identification number.
bank_code*
string
branch*
string
Bank Branch Code
- 4 digits -
account*
string
Beneficiary's Bank Account
- 4 ~ 18 digits -
account_type*
string
Beneficiary's Account Type - One of: SAVINGS, CHECKING -
account_digit
string
Account Digit
- 1 or 2 digits. Left empty if the account_digit is included in the account field -
branch_digit
string
Branch digit
method*
string
Fixed value: BANKTRANSFER
custom_code*
string
Merchant Payout ID - Max. 50 chars -
fee_bear*
string
Processing fee charges to merchant or beneficiary - One of: merchant, beneficiary -
amount*
number
Payout Amount, 2 decimal numbers
- Min 1, Max 50,000 -
source_currency*
string
Merchant Account Currency - One of: USD, EUR, GBP, BRL -
arrival_currency*
string
Fixed value: BRL
notify_url*
string
Where pagsmile will send notification to.
additional_remark*
string
Descriptor on the user's bank bill - Max. 40 chars -
country*
string
BRA for Brazil
document_type*
string
Beneficiary's personal identification type
- One of: CPF, CNPJ -
amount_type
string
Specify the amount value is fixed for merchant or beneficiary - One of: source_amount, arrival_amount(default) -
Example
Note: 94FAC*********************68548 is Pagsmile's test App ID for sandbox, and d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302 is authorization token associated with the test App ID.
Example of Document
CPF
22*******99
11 digits
CNPJ
23**********31
14 digits
Example of Brazil Bank Account
X --> Numeric character
D --> Alphanumeric character
001
Banco do Brasil S.A.
XXXX, XXXXD or XXXX-D
XXXXXXXX or XXXXXXXX-X
XXXXXXXXX or XXXXXXXXX-X Prefixes: 00, 01, 51, 02, 52, 91, 92, 96 or 97
033
Banco Santander Brasil S.A.
XXXX
XXXXXXXX-X Prefixes: 01, 02, 03, 05, 09, 13 or 92
XXXXXXXX-X Prefixes: 60
104
Caixa CEF
XXXX, XXXXX or XXXX-X
XXX.XXXXXXXX-X or any combination with or without ',' or '-' characters and prefix or verification code Prefixes: 001, 010, 003 or 023
XXXX.XXXXXXXXX-X //XXX.XXXXXXXX-X or any combination with or without ',' or '-' characters and prefix or verification code Prefixes: 1288 or 013, 022
237
Banco Bradesco S.A.
XXXX, XXXXX or XXXX-X
XXXXXXX or XXXXXXX-X
XXXXXXX or XXXXXXX-X
341
Itau Unibanco S.A.
XXXX
XXXXX-X
XXXXX-X
399
HSBC Bank Brasil S.A.
XXXX, XXXXD, XXXXDD, XXXX-D or XXXX-DD
XXXXX-XX
XXXXX-XX
-
Other banks
XXXX, XXXXD, XXXXDD, XXXX-D or XXXX-DD
-
-
"account_digit" is optional. If the user fills full account number in the "account" field, the "account_digit" field should be removed or left empty. For example, if the complete account number is 1234-5, then the request can be
"account": "12345"
or
"account": "1234",
"account_digit": "5"
Third-party CPF/CNPJ Validator
Last updated