Payouts to bank cards
To make a payout to a bank card, specify the required parameters.
Payout parameters
- With a token
- Without a token
To get a token, use our tokenization widget.
Name | Mandatory | Type | Description |
---|---|---|---|
payment_method/payout_details | + | object | Payout data |
type | + | string | Value: card |
card | + | object | Bank card payment details |
type | + | string | Value: encrypted_card |
encrypted_card | + | object | Encrypted card details |
number_hash | + | string | Card number hash |
amount_details | + | object | Amount |
amount | + | int | Amount in rubles in decimal format. The value must be greater than zero. To send 100 USD, specify 10000 |
currency | + | string | Currency code according to ISO 4217. Case insensitive |
participant_details | + | object | Information on the payout participants |
recipient | + | object | Recipient details |
full_name | + | string | Recipient's full name |
sender | - | object | Sender details |
Name | Mandatory | Type | Description |
---|---|---|---|
payment_method/payout_details | + | object | Payout data |
type | + | string | Value: card |
card | + | object | Bank card payment details |
type | + | string | Value: bank_card |
bank_card | + | object | Card details |
number | + | string | Card number |
amount_details | + | object | Amount |
amount | + | int | Amount in rubles in decimal format. The value must be greater than zero. To send 100 USD, specify 10000 |
currency | + | string | Currency code according to ISO 4217. Case insensitive |
participant_details | + | object | Information on the payout participants |
recipient | + | object | Recipient details |
full_name | + | string | Recipient's full name |
sender | - | object | Sender details |
Payout request example
- With a token
- Without a token
curl -X POST \
https://demo.smart-glocal.com/api/v1/session/start/payout \
-H 'Content-Type: application/json' \
-H 'X-PARTNER-PROJECT: your_project_name' \
-H 'X-PARTNER-SIGN: signature' \
-d'{
"session_id": "ps_31222806",
"amount_details": {
"amount": 3290,
"currency": "eur"
},
"payment_method": {
"type": "card",
"card": {
"type": "encrypted_card",
"encrypted_card": {
"number_hash": "3c6cdac9a24f4653512e35d62c76b329f145af5475028c3205dd219517cee33d"
}
}
},
"participant_details": {
"recipient": {
"full_name": "John Johnson"
},
"sender": {}
},
"customer": {
"reference": "984753"
},
"metadata": {
"metadata": "withdrawal_116",
"proxy_to_host": ""
}
}'
curl -X POST \
https://demo.smart-glocal.com/api/v1/session/start/payout \
-H 'Content-Type: application/json' \
-H 'X-PARTNER-PROJECT: your_project_name' \
-H 'X-PARTNER-SIGN: signature' \
-d'{
"session_id": "ps_31222806",
"payment_method": {
"type": "card",
"card": {
"type": "bank_card",
"bank_card": {
"number": "4242424242424242"
}
}
},
"participant_details": {
"recipient": {
"full_name": "John Johnson"
},
"sender": {}
},
"customer": {
"reference": "984753"
},
"metadata": {
"metadata": "withdrawal_116",
"proxy_to_host": ""
},
"amount_details": {
"amount": 1000,
"currency": "usd"
}
}'