Wallet

Where to use Papara wallet to submit a payout in Turkey.

Papara

Submit a payout by Wallet in Turkey

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

This endpoint allows you to submit a payout by e-Wallet in Turkey.

Headers

Name
Type
Description

Content-Type*

string

application/json; charset=UTF-8

Authorization*

string

SHA256($sorted_params + $app_key)

AppId*

string

Your App ID in payout platform

Request Body

Name
Type
Description

name

string

Beneficiary's name

- Min.5 Max.100 -

channel*

string

Fixed value: Papara

method*

string

Fixed value: Wallet

account_type*

string

Beneficiary's Papara account type - One of: PHONE, EMAIL, WalletNumber, DocumentID -

account*

string

Beneficiary Papara account.

- 0 ~ 64 chars -

email

string

Beneficiary's email

- Max.64 -

phone

string

Beneficiary's phone.

- 0 ~ 15 digits -

amount*

number

Payout Amount, 2 decimal numbers

- Min 0.01, Max 500,000 -

fee_bear*

string

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

custom_code*

string

Merchant Payout ID - Max. 50 chars -

notify_url*

string

Where pagsmile will send notification to.

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) -

country*

string

Fixed Value: TUR for Turkey

additional_remark*

string

Descriptor on the user's bank bill - Max length: 40 -

{
    "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": "Wallet",   // fixed value: Wallet
    * "channel": "Papara",  // fixed value: Papara
    * "notify_url": "https://notify.url",
    * "account": "22*******99",
    * "account_type": "DocumentID",  // should be one of PHONE EMAIL WalletNumber DocumentID
    * "source_currency": "USD", 
    * "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 Type
Document ID
Description

NIN

22*******99

11 digits

Example of Papara Account

Account Type
Account
Description

Phone

+905012345678

country code (+90) is optional.

Email

papara_account@pagsmile.com

WalletNumber

1234567890 or PL1234567890

DocumentID

12345678901

National ID, 11 digits

Last updated