Виплати через онлайн-банкінг в Японії
Для проведення зарахувань на рахунки за допомогою онлайн-банкінгу в Японії запит до API Tranzzo повинен містити такі параметри:
Parameter | Type | Required | Description |
---|---|---|---|
pos_id | UUID | ✅ | Merchant's identifier (POS_ID ) |
mode | MODE | ✅ | direct |
method | METHOD | ✅ | Payment method (credit ) |
amount | Number | ✅ | Transaction amount. Must be a positive number |
currency | CURRENCY | ✅ | Transaction currency (ISO_4217) |
order_3ds_bypass | String | ✅ | 3-D Secure flow option |
order_id | String | ✅ | Unique identifier of order |
description | String | ✅ | Payment description |
payway | String | ✅ | banking |
server_url | URL | Webhook notification will be sent to this URL | |
result_url | URL | Customer will be redirected to this URL after payment. | |
customer_fname | String | ✅ | Sender’s first name |
customer_lname | String | ✅ | Sender’s last name |
customer_country | String | ✅ | Sender’s country (ISO 3166-1 (alpha-2)) |
customer_city | String | ✅ | Sender’s city |
customer_birthday | Date | ✅ | Sender’s birthday (format: yyyy-MM-dd) |
recipient_fname | String | ✅ | Recipient’s first name |
recipient_lname | String | ✅ | Recipient’s last name |
recipient_email | String | ✅ | Recipient’s email address |
recipient_phone | String | ✅ | Recipient’s phone |
properties.address | String | ✅ | Recipient’s address |
properties.post_code | String | ✅ | Recipient’s postcode |
properties.recipient_address | String | ✅ | Recipient’s address |
properties.recipient_city | String | ✅ | Recipient’s city |
properties.recipient_country | String | ✅ | Recipient’s country (ISO 3166-1 (alpha-2)) |
properties.recipient_postcode | String | ✅ | Recipient’s postcode |
properties.account_number | String | ✅ | Recipient’s bank account number |
properties.bank_name | String | ✅ | Recipient’s bank name |
properties.recipient_birth_date | String | ✅ | Recipient’s date of birth (format: yyyy-MM-dd) |
properties.bank_account_code | String | ✅ | Payment system of recipient’s bank (a specific value for each country) |
properties.branch_code | String | ✅ | Bank branch code (a specific value for each country |
properties.state | String | ✅ | Sender’s region/prefecture |
properties.recipient_state | String | ✅ | Recipient’s region/prefecture |
Значення параметру payway має бути передане як banking
.
Приклад запиту:
{
"pos_id": "'$POS_ID'",
"mode": "direct",
"method": "credit",
"amount": 1,
"currency": "JPY",
"payway": "banking",
"order_id": "'$ORDER_ID'",
"description": "Description",
"order_3ds_bypass": "supported",
"customer_fname": "John",
"customer_lname": "Doe",
"customer_city": "Okinawa",
"customer_country": "JP",
"customer_birthday": "1990-01-02",
"recipient_fname": "Jane",
"recipient_lname": "Roe",
"recipient_phone": "999999999",
"recipient_email": "[email protected]",
"properties": {
"account_number": "474839194",
"bank_name": "Mizuho Bank",
"bank_account_code": "JPZGN",
"branch_code": "1234567",
"recipient_address": "Okimawa str 121",
"recipient_country": "JP",
"recipient_city": "Okinawa",
"recipient_postcode": "904-0033",
"recipient_birth_date": "1990-01-07",
"address": "Okimawa str 122",
"post_code": "904-0033",
"state": "Kyushu-Okinawa",
"recipient_state": "Kyushu-Okinawa"
},
"server_url": "http://callback-stub:9000/consume",
"result_url": "http://www.google.com/",
}