Parameters
Account bank country code of the beneficiary.
Two-letter ISO 3166-2 country code.
Account currency code of the beneficiary.
Three-letter ISO 4217 currency code.
Entity type of the beneficiary.
One of company, individual
Email of the beneficiary.
A nickname for the beneficiary.
Maximum length 120
Required if “entity_type” is “individual”.
First name of the beneficiary.
Maximum length 45
Required if “entity_type” is “individual”.
Last name of the beneficiary.
Maximum length 45
Required if “entity_type” is “company”.
Company names cannot consist entirely of numbers.
Maximum length 120
Payment method of the beneficiary.
One of local, swift.
It is related to clearing_system, and the relationship can be obtained from this interface Get a list of payment methods.
Bank name of the beneficiary’s bank account.
Maximum length 240
Bank street address.
Maximum length 240
Account holder name of the beneficiary’s bank account.
Maximum length 36
Bank account number.
Maximum length 60
If iban is not required, account_number is required .
International bank account number, mostly for european countries.
speaCountrys:AD,AT,BE,BG,CY,HR,CZ,DK,EE,FI,FR,DE,GR,HU,IS,IE,IT,LV,LI,LT,LU,MT,MC,NL,NO,PL,PT,RO,SM,SK,SI,ES,SE,CH,GB,VA
speaCurrency:EUR,USD
If the country and currency are in the above list, the iban is required.
BIC/SWIFT code
Maximum length 30
Which clearing system should be used for this beneficiary.
Maximum length 30
It is related to payment_method, and the relationship can be obtained from this interface Get a list of payment methods.
Routing code type.
When the validation_field value of Get a list of payment methods does not find the corresponding field in the input parameter list,
the field name is put into routing_code_type1 and the value is put into the corresponding routing_code_value1.
Routing code value.
Routing code for routing_code_type_1.
If supplied, routing_code_type_1 should also be supplied.
Routing code sub type.
When the validation_field value of Get a list of payment methods does not find the corresponding field in the input parameter list,
the field name is put into routing_code_type2 and the value is put into the corresponding routing_code_value2.
Routing code sub type value.
Routing code for routing_code_type_2.
If supplied, routing_code_type_2 should also be supplied.
Country code of the beneficiary
Two-letter ISO 3166-2 country code.
City of the beneficiary.
Maximum length 36
State of the beneficiary.
Maximum length 96
Address of the beneficiary.
Maximum length 255
Postal code of the beneficiary.
Maximum length 12
Response
Indicates whether the call was successful. 200 if successful, 400 if not.
Response Message. “Success” if successful, others not.
Entity type of the beneficiary.
One of company, individual
The payment method needs to be specified to ensure that accurate banking details are captured and validated for the specified payment method.
One of local, swift
Email of the beneficiary.
Nickname of the beneficiary.
Company name of the beneficiary.
Account currency code.
Three-letter ISO 4217 currency code. Bank country code.
Two-letter ISO 3166-2 country code. First name of the beneficiary.
Last name of the beneficiary.
Beneficiary’s bank account details where the payment will be credited. Bank name of the beneficiary’s bank account.
Bank country code.
Two-letter ISO 3166-2 country code. Account holder name of the beneficiary’s bank account.
Account currency code.
Three-letter ISO 4217 currency code. Account number, mostly for non-european countries, either account_number or iban should be filled.
International bank account number, mostly for european countries.
Which clearing system should be used for this.
Routing code sub type value.
Beneficiary’s address details. Country code of the beneficiary.
Two-letter ISO 3166-2 country code. Street address of the beneficiary.
Postal code of the beneficiary.
State of the beneficiary.
curl 'https://api.sandbox.uqpay.org/api/v1/beneficiaries/create' \
-H 'content-type: application/json' \
-H 'x-auth-token: Bearer 0e043e2ec6898b3220a0921466d7c203' \
-H 'x-client-id: Up1HIsjiETPXLy7gON9PMG' \
--data-raw '{"bank_country":"US","account_currency":"USD","entity_type":"company","email":"[email protected] ","nickname":"MANY A-SUN","first_name":"","last_name":"","company_name":"Courtesy Hardware Store","payment_method":"swift","bank_name":"1ST STATE BANK","bank_address":"4929 Briarwood Drive","account_holder":"Robert Shishani","country_code":"US","city":"Montgomery","state":"Alabama","address":"1230 Stafford Dr","postal_code":"36117","clearing_system":"SWIFT","account_number":"4865393923574557","swift_code":"230"}'
{
"code" : 200 ,
"message" : "Success" ,
"data" : {
"beneficiary_id" : "00dcbdb4-3642-424d-88bf-76629efaa168" ,
"account_currency_code" : "SGD" ,
"account_number" : "33990319141" ,
"bank_country_code" : "SG" ,
"beneficiary_address" : "{ \" country_code \" : \" SG \" , \" city \" : \" singapore \" , \" street_address \" : \" 7 Burn Road #07-07 Trivex Singapore 413577 \" , \" postal_code \" : \" 413577 \" , \" state \" : \" singapore \" }" ,
"beneficiary_bank_details" : "{ \" bank_name \" : \" test bank name \" , \" bank_address \" : \" test bank address \" , \" bank_country_code \" : \" SG \" , \" account_holder \" : \" zuuzj \" , \" account_currency_code \" : \" SGD \" , \" account_number \" : \" 33990319141 \" , \" iban \" : \"\" , \" swift_code \" : \" UOVBSGSG \" , \" clearing_system \" : \" local \" , \" routing_code_type1 \" : \"\" , \" routing_code_value1 \" : \"\" , \" routing_code_type2 \" : \"\" , \" routing_code_value2 \" : \"\" }" ,
"beneficiary_company_name" : "00dcbdb4-3642-424d-88bf-76629efaa168" ,
"beneficiary_entity_type" : "individual" ,
"beneficiary_first_name" : "00dcbdb4-3642-424d-88bf-76629efaa168" ,
"beneficiary_last_name" : "00dcbdb4-3642-424d-88bf-76629efaa168" ,
"beneficiary_email" : "[email protected] " ,
"beneficiary_nickname" : "zuuj88" ,
"payment_method" : "local" ,
"beneficiary_status" : "pending"
}
}