BankTransfer

How to use Bank Transfer to submit a payout in Turkey.

Submit a payout by Bank Transfer in Turkey

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

This endpoint allows you to submit a payout by Bank Transfer in Trazil.

Headers

NameTypeDescription

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

NameTypeDescription

name*

string

Beneficiary's name - Length must between 5 and 100 -

account_type*

string

Beneficiary's Account Type - Fixed Value: IBAN -

account*

string

Beneficiary's Bank Account

- TR + 24 digits -

document_type

string

Beneficiary's personal identification type

- Fixed Value: NIN -

document_id

string

Beneficiary's personal identification number.

email

string

Beneficiary's email

phone

string

Beneficiary's phone

- 0 ~ 15 digits -

fee_bear*

string

Processing fee charges to merchant or beneficiary - One of: merchant, beneficiary -

custom_code*

string

Merchant Payout ID - Max. 50 chars -

method*

string

Fixed value: BANKTRANSFER

arrival_currency*

string

Fixed value: TRY

source_currency*

string

Merchant Account Currency - One of: USD, EUR, GBP, TRY -

amount_type

string

Specify the amount value is fixed for merchant or beneficiary - One of: source_amount, arrival_amount(default) -

amount*

number

Payout Amount, 2 decimal numbers

- Min 0.01, Max 500,000 -

country*

string

Fixed Valud: TUR, for Turkey

addtional_remark*

string

Descriptor on the user's bank bill - Max. 40 chars -

notify_url*

string

Where pagsmile will send notification to.

{
    "code": 200,
    "msg": "success",
    "time": 1628580845,
    "data": {
        "id": "TS202108100734054iRiUZFPXfQM",
        "custom_code": "custom_code9982674851738108",
        "arrival_amount": "0.51",
        "arrival_currency": "BRL",
        "source_amount": "0.07",
        "source_currency": "USD",
        "status": "IN_PROCESSING"
    }
}

Example

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",
    * "amount": "10.01",
    * "arrival_currency": "TRY", // fixed value: TRY
    * "custom_code" : "custom_code_your_order_id",
      "document_id": "22*******99",
      "document_type": "NIN",
    * "fee_bear": "merchant",
    * "method": "BankTransfer",   // fixed value: BankTransfer
    * "notify_url": "https://notify.url",
    * "account": "TR112233445566778899001122", // TR + 24 digits
    * "account_type": "IBAN",  // fixed value: IBAN
    * "source_currency": "USD", // supported: USD GBP EUR TRY
    * "additional_remark": "pagsmile payout test remark",
    * "country": "TUR", // fixed value: TUR
}'

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

Document TypeDocument IDDescription

NIN

22*******99

11 digits

Example of BankTransfer Account

Account TypeAccountDescription

IBAN

TR112233445566778899001122

TR + 2 Check digits + 5 Bank code + 1 National check digit + 16 bank account number

Last updated