Перейти до основного вмісту

Виплати через онлайн-банкінг в Японії

Для проведення зарахувань на рахунки за допомогою онлайн-банкінгу в Японії запит до API Tranzzo повинен містити такі параметри:

ParameterTypeRequiredDescription
pos_idUUIDMerchant's identifier (POS_ID)
modeMODEdirect
methodMETHODPayment method (credit)
amountNumberTransaction amount. Must be a positive number
currencyCURRENCYTransaction currency (ISO_4217)
order_3ds_bypassString3-D Secure flow option
order_idStringUnique identifier of order
descriptionStringPayment description
paywayStringbanking
server_urlURLWebhook notification will be sent to this URL
result_urlURLCustomer will be redirected to this URL after payment.
customer_fnameStringSender’s first name
customer_lnameStringSender’s last name
customer_countryStringSender’s country (ISO 3166-1 (alpha-2))
customer_cityStringSender’s city
customer_birthdayDateSender’s birthday (format: yyyy-MM-dd)
recipient_fnameStringRecipient’s first name
recipient_lnameStringRecipient’s last name
recipient_emailStringRecipient’s email address
recipient_phoneStringRecipient’s phone
properties.addressStringRecipient’s address
properties.post_codeStringRecipient’s postcode
properties.recipient_addressStringRecipient’s address
properties.recipient_cityStringRecipient’s city
properties.recipient_countryStringRecipient’s country (ISO 3166-1 (alpha-2))
properties.recipient_postcodeStringRecipient’s postcode
properties.account_numberStringRecipient’s bank account number
properties.bank_nameStringRecipient’s bank name
properties.recipient_birth_dateStringRecipient’s date of birth (format: yyyy-MM-dd)
properties.bank_account_codeStringPayment system of recipient’s bank (a specific value for each country)
properties.branch_codeStringBank branch code (a specific value for each country
properties.stateStringSender’s region/prefecture
properties.recipient_stateStringRecipient’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/",
}