Data dictionary
Model
Account
Field | Data type | Required | Description |
holderName | UserName object | Yes | Name of the account holder. |
accountNo | String | Yes | The unique identification of the account. More information:
|
bankName | String | No | Name of the bank. More information:
|
bankBIC | String | No | Bank Identifier Code. An 8 to 11-character code that identifies banks worldwide. More information:
|
Address for inquiryRaDetail
This object concerns the user
.userAddress
field in the inquiryRaDetail API.
Field | Data type | Required | Description |
address1 | String | Yes | Street address of the Customer. Note: For street addresses from China, use the following format: Room number, Town/Village, Community, Street, District, City, Province, Country For example, "401, Dabutou Village, Songyuanxia Community, Guanhu Street, Longhua District, Shanghai, China" More information:
|
Address
Field | Data type | Required | Description |
region | String | Yes | 2-character ISO 3166 country/region code that represents the country/region. For example, More information:
|
state | String | Yes | Merchant's state or province. More information:
|
city | String | Yes | Merchant's city, district, suburb, town, or village. More information:
|
address1 | String | Yes | Merchant's street address, P.O. box address, or the company address. More information:
|
Amount
Field | Data type | Required | Description |
currency | String | Yes | 3-character ISO 4217 currency code that represents the currency used. For example, More information:
|
value | String | Yes | 0 or a positive integer. The value is in the smallest currency unit. For example, if the value is More information:
|
Merchant
Field | Data type | Required | Description |
merchantName | String | Yes | Name of the merchant. More information:
|
merchantAddress | Address object | Yes | Detailed address of the merchant. Note:
|
PaymentMethod
Field | Data type | Required | Description |
paymentMethodType | String | Yes | Type of the payment method. Valid values are:
For more details about each value, refer to the PaymentMethodType section. |
paymentMethodMetaData | String | Yes | A JSON string that describes the payment details. Note:
More Information:
|
Quote
Field | Data type | Required | Description |
quoteId | String | Yes | The unique ID assigned by the Partner for every quote. More information:
|
quoteCurrencyPair | String | Yes | Two 3-character ISO 4217 currency codes that identify the currency pair for the quote. Note:
More information:
|
quotePrice | String | Yes | The price represents how much of the quote currency you need to get 1 quote unit of the base currency.
Note:
More information:
|
quoteStartTime | Datetime object | No | The date and time since when Note:
|
quoteExpiryTime | Datetime object | No | The date and time when Note:
|
baseCurrency | String | Yes | 3-character ISO-4217 currency code that the first currency in the More information:
|
quoteUnit | String | Yes | Multiplier or divisor applied to 1 base currency = More information:
|
ReceivingAccount
Field | Data type | Required | Description |
currency | String | Yes | 3-character ISO 4217 currency code that the Receiving Account uses. For example, More information:
|
walletAccountNo | String | Yes | The account number of the Receiving Account assigned by WorldFirst. More information:
|
Result
Field | Data type | Required | Description |
resultCode | String | Yes | Result code. Possible values are listed in the Result codes table on this page. More information:
|
resultMessage | String | No | Result message that explains result codes in detail. More information:
|
resultStatus | String | Yes | Result status. Valid values are:
For more details about each value, refer to the ResultStatusType section. |
TransferFactor
Field | Data type | Required | Description |
transferFundType | String | Yes | Specify the scenario that the transfer request belongs to. Valid values are:
|
delegationMode | String | Yes | Indicates whether a delegated agent engages in the transfer. Valid values are:
More information:
|
TransferFromAddition
Field | Data type | Required | Description |
payer | User object | Yes(Conditional) | Information about the payer. Note:
|
merchant | Merchant object | Yes(Conditional) | Information of the merchant. Note:
|
transferFromRegion | String | Yes | 2-character ISO-3166 country/region code that represents the country or region of the More information:
|
TransferFromDetail
Field | Data type | Required | Description |
transferFromAmount | Amount object | Yes | The amount of the transfer that the payer needs to pay in a specific currency. |
TransferToAddition
Field | Data type | Required | Description |
beneficiary | User object | Yes | Information with regard to the beneficiary. |
transferToRegion | String | Yes | Beneficiary's country or region as defined by the two-character ISO 3166 country/region code. For example, More information:
|
transferRemark | String | No | Remarks for the transfer. Note:
More information:
|
bopCode | String | Yes | Code for the Balance of Payments. Commonly used values are:
If you do not know the appropriate value to use, contact Technical Support. For more details about the value of |
TransferToDetail
Field | Data type | Required | Description |
transferToAmount | Amount object | Yes | The amount of the transfer that the beneficiary collects in a specific currency. |
transferToMethod | PaymentMethod object | Yes | The method that the beneficiary uses to receive the transfer. |
transferQuote | Quote object | No | Information on the transfer quotes. Note:
|
TransferOrderAddition
Field | Data type | Required | Description |
referenceOrderId | String | Yes | The unique ID that is assigned by the Partner to identify the transfer order for the Customer(Merchant). Note:
More information:
|
transferFromAddition | TransferFromAddition object | Yes | Additional transfer information about the payer. |
transferToAddition | TransferToAddition object | Yes | Additional transfer information about the beneficiary. |
TransactionData
Field | Data type | Required | Description |
merchantTransactionId | String | Yes | The unique ID assigned by the Partner to identify a merchant transaction. More information:
|
referenceNumber | String | Yes | The unique ID assigned by the Partner to identify an order. More information:
|
acquirerId | String | No | Transaction ID assigned by the Partner. Note: Use this parameter when the Partner is an acquiring financial institution (acquirer). More information:
|
marketplaceId | String | Yes | The ID of the Partner where the order originated from. Note:
More information:
|
orderType | String | Yes | Type of the order. Valid values are:
For more information about each value, refer to the OrderType section. More Information:
|
paymentTime | DateTime object | Yes | Indicates the time of the payment. Note:
|
tradeTime | DateTime object | Yes | Indicates the creation time of the order. Note:
|
originalAmount | String | Yes | The original amount in cents. Note:
|
originalCurrency | String | Yes | 3-character ISO 4217 currency code that More information:
|
transactionAmount | String | Yes | The transaction amount in cents. Note:
More information:
|
transactionCurrency | String | Yes | The 3-character ISO 4217 currency code that More information:
|
distributedAmount | String | No | The amount of distributed payments made in cents. Note: Use this parameter when the Customer needs to make payments for distribution.
More information:
|
distributedCurrency | String | No | The 3-character ISO 4217 currency code that Note: Use this parameter when the Customer needs to make payments for distribution. More information:
|
buyerId | String | Yes | Buyer ID assigned by the Partner. More information:
|
buyerCountry | String | Yes | The 2-character ISO 3166-1 alpha-2 code that defines the country or region where the buyer locates. For example, More information:
|
sellerId | String | Yes | Seller ID assigned by the Partner, which usually shares the same value with More information:
|
goodsCategory | String | No | Category of the goods. Note:
More information:
|
goodsTitle | String | Yes | Title of the goods. More information:
|
goodsQuantity | Integer | Yes | Quantity of the goods. |
logisticsNo | String | No | The logistic number provided. Note:
More information:
|
logisticsMethod | String | No | The method used for logistics. Note: Specify this field if you have the logistics information. Providing this information helps to increase the accuracy of anti-money laundering and fraud detection, and would increase payment success rates. More information:
|
serviceProvider | String | No | Logistic service provider's name. Note:
More information:
|
receiverAddress | String | No | Address of the goods' receiver. Note:
More information:
|
receiverName | String | No | Name of the goods' receiver. Note:
More information:
|
senderAddress | String | No | Address of the goods' sender. Note:
More information:
|
senderName | String | No | Name of the goods' sender. Note:
More information:
|
storeUrl | String | Yes | URL of the Customer's store on Partner's platform. Used for subsequent risk assessment. More information:
|
User for inquiryRaDetail
This object concerns the user
field in the inquiryRaDetail API.
Field | Data type | Required | Description |
userName | UserName object | Yes(Conditional) | User's name. Note:
|
birthday | String | Yes(Conditional) | User's birthday. For example, Note:
More information:
|
userPhoneNo | String | Yes(Conditional) | User's phone number. For example, Note:
More information:
|
userAddress | Address object | Yes(Conditional) | User's address. Note:
|
accountStatus | String | Yes | Status of the user's account. Valid values are:
For more information about each value, refer to the AccountStatus section. |
User for transfer
This object concerns the following fields in the transfer API:
transferOrderAddition.transferFromAddition.payer
transferOrderAddition.transferFromAddition.beneficiary
Field | Data type | Required | Description |
userName | UserName object | Yes | User's name. |
UserName for inquiryRaDetail
This object concerns the user
.username
field in the inquiryRaDetail API.
Field | Data type | Required | Description |
firstName | String | Yes | User's first name. More information:
|
lastName | String | Yes | User's last name. More information:
|
UserName
Field | Data type | Required | Description |
fullName | String | Yes | User's full name. More information:
|
WalletAccountPaymentMethodDetail
Field | Data type | Required | Description |
walletAccountNo | String | Yes | Account number of the wallet. More information:
|
paymentMethodDetailType | String | Yes | Account type of the wallet. The default value is More information:
|
customerName | UserName object | Yes | Name of the Customer. More information:
|
walletName | String | Yes | Name of the e-Wallet account brand. For example, |
Enumeration
Enumeration values below are used across all APIs. An enumeration value is a predetermined set of values defined as a String.
AccountStatusType
Key | Description |
ACTIVE | The user is active. |
INACTIVE | The user is inactive. |
HolderAccountType
Key | Description |
INDIVIDUAL | The account holder is an individual. |
COMPANY | The account holder is a company. |
OrderType
Key | Description |
Loan | Loan order. |
Refund | Refund order. |
ResultStatusType
Key | Description |
S | Success |
F | Failure |
U | Unknown |
PaymentMethodType
Key | Description |
BANK_ACCOUNT | Bank account |
WALLET | E-wallet |