This API returns a dynamic schema that depends on the values of certain parameters. The schema contains the fields and validation rules for each payment scenario. A payment scenario is a combination of these parameters:country, transfer_method,transfer_type, currency, holder_type and bank_swift_code. To get the final schema, you need to submit the field values and re-render the form multiple times until all the fields are completed. For example, if you submit only the country parameter, the API will return a schema with the fields for country and transfer_method. If you submit the country and transfer_method parameters, the API will return a schema with the fields for country, transfer_method, currency, and so on.
curl --request POST \
--url https://api.sandbox.hit-pay.com/v1/beneficiaries/schema \
--header 'Content-Type: application/json' \
--header 'X-BUSINESS-API-KEY: <x-business-api-key>' \
--data '
{
"country": "sg",
"transfer_method": "bank_transfer",
"transfer_type": "local",
"currency": "sgd",
"holder_type": "company",
"bank_swift_code": "AEIBSGSXXXX"
}
'[
{
"key": "country",
"placeholder": null,
"title": "Country",
"required": true,
"type": "select",
"force_display": true,
"options": [
{
"value": "au",
"label": "Australia"
},
{
"value": "bd",
"label": "Bangladesh"
},
{
"value": "my",
"label": "Malaysia"
},
{
"value": "ph",
"label": "Philippines"
},
{
"value": "sg",
"label": "Singapore"
},
{
"value": "vn",
"label": "Vietnam"
}
],
"value": "sg"
},
{
"key": "transfer_method",
"placeholder": null,
"title": "Transfer Method",
"required": true,
"type": "select",
"force_display": true,
"options": [
{
"value": "bank_transfer",
"label": "Bank Transfer"
}
],
"value": "bank_transfer"
},
{
"key": "transfer_type",
"placeholder": null,
"title": "Transfer Type",
"required": false,
"type": "select",
"force_display": false,
"options": [
{
"value": "local",
"label": "FAST"
}
],
"value": "local"
},
{
"key": "currency",
"placeholder": "Select one",
"title": "Currency",
"required": true,
"type": "select",
"force_display": true,
"options": [
{
"value": "sgd",
"label": "Singapore Dollar ($)"
},
{
"value": "usd",
"label": "US Dollar ($)"
}
],
"value": "sgd"
},
{
"key": "holder_type",
"placeholder": null,
"title": "Entity Type",
"required": true,
"type": "select",
"force_display": true,
"options": [
{
"value": "company",
"label": "Company"
},
{
"value": "individual",
"label": "Individual"
}
],
"value": "company"
},
{
"key": "holder_name",
"placeholder": "John Doe",
"title": "Account Holder Name",
"required": true,
"type": "input"
},
{
"key": "bank_swift_code",
"placeholder": null,
"type": "select",
"title": "Bank Name",
"required": true,
"force_display": true,
"options": [
{
"value": "ABNASG2AXXX",
"label": "ABN AMRO BANK NV"
},
{
"value": "AEIBSGSXXXX",
"label": "AMERICAN EXPRESS BANK LTD"
},
{
"value": "ANZBSGSXXXX",
"label": "ANZ SINGAPORE"
},
{
"value": "BKKBSGSGXXX",
"label": "BANGKOK BANK PUBLIC COMPANY"
},
{
"value": "BOFASG2XXXX",
"label": "BANK OF AMERICA"
},
{
"value": "BKCHSGSGXXX",
"label": "BANK OF CHINA"
},
{
"value": "BKIDSGSGXXX",
"label": "BANK OF INDIA"
},
{
"value": "BKNZSGSGXXX",
"label": "BANK OF NEW ZEALAND"
},
{
"value": "BOTKSGSXXXX",
"label": "BANK OF TOKYO-MITSUBISHI"
},
{
"value": "BNPASGSGXXX",
"label": "BNP PARIBAS"
},
{
"value": "CRLYSGSGXXX",
"label": "CALYON"
},
{
"value": "CTCBSGSGXXX",
"label": "CHINATRUST COMMERCIAL BANK CO., LTD"
},
{
"value": "CIBBSGSGXXX",
"label": "CIMB BANK BERHAD"
},
{
"value": "CITISGSGXXX",
"label": "CITIBANK NA"
},
{
"value": "CITISGSLXXX",
"label": "CITIBANK SINGAPORE"
},
{
"value": "KWHKSGSGXXX",
"label": "CITIC Bank International Ltd"
},
{
"value": "COBASGSXXXX",
"label": "COMMERZBANK SG"
},
{
"value": "DBSSSGSGXXX",
"label": "DBS Bank/POSB"
},
{
"value": "DEUTSGSGXXX",
"label": "DEUTSCHE BANK"
},
{
"value": "DNBASGSGXXX",
"label": "DnB NOR Bank ASA"
},
{
"value": "FAEASGSGXXX",
"label": "FAR EASTERN BANK"
},
{
"value": "FCBKSGSGXXX",
"label": "FIRST COMMERCIAL BANK"
},
{
"value": "HABBSGSGXXX",
"label": "HABIB BANK LIMITED"
},
{
"value": "HLBBSGSGXXX",
"label": "HL BANK"
},
{
"value": "HSBCSGS2",
"label": "HONGKONG & SHANGHAI BANKING CORPORATION (HSBC)"
},
{
"value": "HSBCSGS2XXX",
"label": "HONGKONG & SHANGHAI BANKING CORPORATION (HSBC)"
},
{
"value": "HSBCSGSGXXX",
"label": "HONGKONG & SHANGHAI BANKING CORPORATION (HSBC)"
},
{
"value": "ICICSGSGXXX",
"label": "ICICI BANK"
},
{
"value": "IDIBSGSGXXX",
"label": "INDIAN BANK"
},
{
"value": "IOBASGSGXXX",
"label": "INDIAN OVERSEAS BANK"
},
{
"value": "INGBSGSGXXX",
"label": "INTERNALTIONALE NEDERLANDEN BANK N.V."
},
{
"value": "BCITSGSGXXX",
"label": "INTESABCI S.P.A."
},
{
"value": "ICBKSGSGXXX",
"label": "Industrial & Commercial Bank of China"
},
{
"value": "CHASSGSGXXX",
"label": "JP MORGAN CHASE BANK, N.A."
},
{
"value": "KOEXSGSGXXX",
"label": "KEB HANA BANK"
},
{
"value": "MBBESGS2",
"label": "MALAYAN BANKING BERHAD"
},
{
"value": "MBBESGS2XXX",
"label": "MAYBANK SINGAPORE LIMITED"
},
{
"value": "MHCBSGSGXXX",
"label": "MIZUHO CORPORATE BANK, LTD"
},
{
"value": "NATASGSGXXX",
"label": "NATIONAL AUSTRALIA BANK LTD"
},
{
"value": "NBOKSGSGXXX",
"label": "NATIONAL BANK OF KUWAIT, SAK"
},
{
"value": "NDEASGSGXXX",
"label": "NORDEA BANK FINLAND PLC"
},
{
"value": "OCBCSGSGXXX",
"label": "OVERSEA-CHINESE BANKING CORPORATION LTD"
},
{
"value": "BNINSGSGXXX",
"label": "PT. BANK NEGARA INDONESIA"
},
{
"value": "RHBBSGSGXXX",
"label": "RHB BANK BERHAD"
},
{
"value": "BSGPSGSGXXX",
"label": "SINGAPORE ISLAND BANK"
},
{
"value": "ESSESGSGXXX",
"label": "SKANDINAVISKA ENSKILDA BANKEN"
},
{
"value": "SOGESGSGXXX",
"label": "SOCIETE GENERALE"
},
{
"value": "SCBLSG22XXX",
"label": "STANDARD CHARTERED BANK"
},
{
"value": "SCBLSGSGXXX",
"label": "STANDARD CHARTERED BANK"
},
{
"value": "SBINSGSGXXX",
"label": "STATE BANK OF INDIA"
},
{
"value": "SMBCSGSGXXX",
"label": "SUMITOMO MITSUI BANKING CORPORATION"
},
{
"value": "HANDSGSGXXX",
"label": "SVENSKA HANDELSBANKEN AB (PUBL)"
},
{
"value": "UBSWSGSGXXX",
"label": "SWISS BANK CORP"
},
{
"value": "BEASSGSGXXX",
"label": "THE BANK OF EAST ASIA"
},
{
"value": "NOSCSGSGXXX",
"label": "THE BANK OF NOVA SCOTIA"
},
{
"value": "UCBASGSGXXX",
"label": "UCO BANK"
},
{
"value": "UBAFSGSXXXX",
"label": "UNION DE BANQUES ARABES ET FRANCAISES"
},
{
"value": "UOVBSGSGXXX",
"label": "UNITED OVERSEAS BANK LTD"
},
{
"value": "TRWISGSGXXX",
"label": "Wise Asia-Pacific Pte Ltd"
}
],
"value": "AEIBSGSXXXX"
},
{
"key": "account_number",
"placeholder": "140989",
"type": "input",
"title": "Account Number",
"required": true,
"validation": "/^\\d{4,32}$/"
},
{
"key": "nickname",
"placeholder": "John Doe",
"title": "Nickname",
"required": false,
"type": "input"
},
{
"key": "remark",
"placeholder": "Example: Test SGD transfer to US",
"title": "Remark",
"required": false,
"type": "input"
},
{
"key": "email",
"placeholder": null,
"title": "Email Address",
"required": false,
"type": "input",
"validation": "email"
},
{
"key": "is_favourite",
"placeholder": null,
"title": "Mark this beneficiary as favourite",
"required": false,
"type": "checkbox-boolean",
"value": false
}
]"b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d"
2-letter ISO 3166-1 country code
2"sg"
The transfer method needs to be specified to ensure that accurate banking details are captured and validated for the specified transfer method. This is required for timely and accurate delivery of funds to the beneficiary account
"bank_transfer"
The transfer type needs to be specified to ensure that accurate banking details are captured and validated for the specified transfer method. This is required for timely and accurate delivery of funds to the beneficiary account
"local"
It is beneficiary bank account currency
"sgd"
The type of the account holder. Individual is for personal accounts, and company is for business accounts.
individual, company "company"
The bank swift code is a unique identifier for a specific bank.
"AEIBSGSXXXX"
200
Was this page helpful?
curl --request POST \
--url https://api.sandbox.hit-pay.com/v1/beneficiaries/schema \
--header 'Content-Type: application/json' \
--header 'X-BUSINESS-API-KEY: <x-business-api-key>' \
--data '
{
"country": "sg",
"transfer_method": "bank_transfer",
"transfer_type": "local",
"currency": "sgd",
"holder_type": "company",
"bank_swift_code": "AEIBSGSXXXX"
}
'[
{
"key": "country",
"placeholder": null,
"title": "Country",
"required": true,
"type": "select",
"force_display": true,
"options": [
{
"value": "au",
"label": "Australia"
},
{
"value": "bd",
"label": "Bangladesh"
},
{
"value": "my",
"label": "Malaysia"
},
{
"value": "ph",
"label": "Philippines"
},
{
"value": "sg",
"label": "Singapore"
},
{
"value": "vn",
"label": "Vietnam"
}
],
"value": "sg"
},
{
"key": "transfer_method",
"placeholder": null,
"title": "Transfer Method",
"required": true,
"type": "select",
"force_display": true,
"options": [
{
"value": "bank_transfer",
"label": "Bank Transfer"
}
],
"value": "bank_transfer"
},
{
"key": "transfer_type",
"placeholder": null,
"title": "Transfer Type",
"required": false,
"type": "select",
"force_display": false,
"options": [
{
"value": "local",
"label": "FAST"
}
],
"value": "local"
},
{
"key": "currency",
"placeholder": "Select one",
"title": "Currency",
"required": true,
"type": "select",
"force_display": true,
"options": [
{
"value": "sgd",
"label": "Singapore Dollar ($)"
},
{
"value": "usd",
"label": "US Dollar ($)"
}
],
"value": "sgd"
},
{
"key": "holder_type",
"placeholder": null,
"title": "Entity Type",
"required": true,
"type": "select",
"force_display": true,
"options": [
{
"value": "company",
"label": "Company"
},
{
"value": "individual",
"label": "Individual"
}
],
"value": "company"
},
{
"key": "holder_name",
"placeholder": "John Doe",
"title": "Account Holder Name",
"required": true,
"type": "input"
},
{
"key": "bank_swift_code",
"placeholder": null,
"type": "select",
"title": "Bank Name",
"required": true,
"force_display": true,
"options": [
{
"value": "ABNASG2AXXX",
"label": "ABN AMRO BANK NV"
},
{
"value": "AEIBSGSXXXX",
"label": "AMERICAN EXPRESS BANK LTD"
},
{
"value": "ANZBSGSXXXX",
"label": "ANZ SINGAPORE"
},
{
"value": "BKKBSGSGXXX",
"label": "BANGKOK BANK PUBLIC COMPANY"
},
{
"value": "BOFASG2XXXX",
"label": "BANK OF AMERICA"
},
{
"value": "BKCHSGSGXXX",
"label": "BANK OF CHINA"
},
{
"value": "BKIDSGSGXXX",
"label": "BANK OF INDIA"
},
{
"value": "BKNZSGSGXXX",
"label": "BANK OF NEW ZEALAND"
},
{
"value": "BOTKSGSXXXX",
"label": "BANK OF TOKYO-MITSUBISHI"
},
{
"value": "BNPASGSGXXX",
"label": "BNP PARIBAS"
},
{
"value": "CRLYSGSGXXX",
"label": "CALYON"
},
{
"value": "CTCBSGSGXXX",
"label": "CHINATRUST COMMERCIAL BANK CO., LTD"
},
{
"value": "CIBBSGSGXXX",
"label": "CIMB BANK BERHAD"
},
{
"value": "CITISGSGXXX",
"label": "CITIBANK NA"
},
{
"value": "CITISGSLXXX",
"label": "CITIBANK SINGAPORE"
},
{
"value": "KWHKSGSGXXX",
"label": "CITIC Bank International Ltd"
},
{
"value": "COBASGSXXXX",
"label": "COMMERZBANK SG"
},
{
"value": "DBSSSGSGXXX",
"label": "DBS Bank/POSB"
},
{
"value": "DEUTSGSGXXX",
"label": "DEUTSCHE BANK"
},
{
"value": "DNBASGSGXXX",
"label": "DnB NOR Bank ASA"
},
{
"value": "FAEASGSGXXX",
"label": "FAR EASTERN BANK"
},
{
"value": "FCBKSGSGXXX",
"label": "FIRST COMMERCIAL BANK"
},
{
"value": "HABBSGSGXXX",
"label": "HABIB BANK LIMITED"
},
{
"value": "HLBBSGSGXXX",
"label": "HL BANK"
},
{
"value": "HSBCSGS2",
"label": "HONGKONG & SHANGHAI BANKING CORPORATION (HSBC)"
},
{
"value": "HSBCSGS2XXX",
"label": "HONGKONG & SHANGHAI BANKING CORPORATION (HSBC)"
},
{
"value": "HSBCSGSGXXX",
"label": "HONGKONG & SHANGHAI BANKING CORPORATION (HSBC)"
},
{
"value": "ICICSGSGXXX",
"label": "ICICI BANK"
},
{
"value": "IDIBSGSGXXX",
"label": "INDIAN BANK"
},
{
"value": "IOBASGSGXXX",
"label": "INDIAN OVERSEAS BANK"
},
{
"value": "INGBSGSGXXX",
"label": "INTERNALTIONALE NEDERLANDEN BANK N.V."
},
{
"value": "BCITSGSGXXX",
"label": "INTESABCI S.P.A."
},
{
"value": "ICBKSGSGXXX",
"label": "Industrial & Commercial Bank of China"
},
{
"value": "CHASSGSGXXX",
"label": "JP MORGAN CHASE BANK, N.A."
},
{
"value": "KOEXSGSGXXX",
"label": "KEB HANA BANK"
},
{
"value": "MBBESGS2",
"label": "MALAYAN BANKING BERHAD"
},
{
"value": "MBBESGS2XXX",
"label": "MAYBANK SINGAPORE LIMITED"
},
{
"value": "MHCBSGSGXXX",
"label": "MIZUHO CORPORATE BANK, LTD"
},
{
"value": "NATASGSGXXX",
"label": "NATIONAL AUSTRALIA BANK LTD"
},
{
"value": "NBOKSGSGXXX",
"label": "NATIONAL BANK OF KUWAIT, SAK"
},
{
"value": "NDEASGSGXXX",
"label": "NORDEA BANK FINLAND PLC"
},
{
"value": "OCBCSGSGXXX",
"label": "OVERSEA-CHINESE BANKING CORPORATION LTD"
},
{
"value": "BNINSGSGXXX",
"label": "PT. BANK NEGARA INDONESIA"
},
{
"value": "RHBBSGSGXXX",
"label": "RHB BANK BERHAD"
},
{
"value": "BSGPSGSGXXX",
"label": "SINGAPORE ISLAND BANK"
},
{
"value": "ESSESGSGXXX",
"label": "SKANDINAVISKA ENSKILDA BANKEN"
},
{
"value": "SOGESGSGXXX",
"label": "SOCIETE GENERALE"
},
{
"value": "SCBLSG22XXX",
"label": "STANDARD CHARTERED BANK"
},
{
"value": "SCBLSGSGXXX",
"label": "STANDARD CHARTERED BANK"
},
{
"value": "SBINSGSGXXX",
"label": "STATE BANK OF INDIA"
},
{
"value": "SMBCSGSGXXX",
"label": "SUMITOMO MITSUI BANKING CORPORATION"
},
{
"value": "HANDSGSGXXX",
"label": "SVENSKA HANDELSBANKEN AB (PUBL)"
},
{
"value": "UBSWSGSGXXX",
"label": "SWISS BANK CORP"
},
{
"value": "BEASSGSGXXX",
"label": "THE BANK OF EAST ASIA"
},
{
"value": "NOSCSGSGXXX",
"label": "THE BANK OF NOVA SCOTIA"
},
{
"value": "UCBASGSGXXX",
"label": "UCO BANK"
},
{
"value": "UBAFSGSXXXX",
"label": "UNION DE BANQUES ARABES ET FRANCAISES"
},
{
"value": "UOVBSGSGXXX",
"label": "UNITED OVERSEAS BANK LTD"
},
{
"value": "TRWISGSGXXX",
"label": "Wise Asia-Pacific Pte Ltd"
}
],
"value": "AEIBSGSXXXX"
},
{
"key": "account_number",
"placeholder": "140989",
"type": "input",
"title": "Account Number",
"required": true,
"validation": "/^\\d{4,32}$/"
},
{
"key": "nickname",
"placeholder": "John Doe",
"title": "Nickname",
"required": false,
"type": "input"
},
{
"key": "remark",
"placeholder": "Example: Test SGD transfer to US",
"title": "Remark",
"required": false,
"type": "input"
},
{
"key": "email",
"placeholder": null,
"title": "Email Address",
"required": false,
"type": "input",
"validation": "email"
},
{
"key": "is_favourite",
"placeholder": null,
"title": "Mark this beneficiary as favourite",
"required": false,
"type": "checkbox-boolean",
"value": false
}
]