Inquiry Account
This API is used to inquiry Payout beneficiary account information
POST [BASE_URL]/v1/inquiry-account
Request
Request Body
{
"channelCode": "string",
"channelInformation": {
"accountNumber": "string",
"accountName": "string"
}
}Detail Parameter Request
Parameter
Data Type
Requirement
Description
channelCode
String
M
Channel code for payout destination such as Bank, E wallet or other channels
List of Channel code can be accessed here
channelInformation
Object
M
accountNumber
String
M
Account Number of payout destination
accountName
String
M
Account Name of payout destination from Merchant
Response
Response Body
Detail Parameter Response
Parameter
Data Type
Requirement
Description
code
String
M
Response code
message
String
M
Response description
data
Object
M
uuid
String
M
Unique Inquiry Account ID
merchantId
String
M
Unique merchant ID
inquiryResult
Object
O
>> Status
String
M
Inquiry status to indicate the result
Potential value
VALID = requested account matched
WARNING = requested account is available, but the account might be mismatched. Please check detail for more information
INVALID = requested account is invalid or can’t be found
PENDING = inquiry account is still in progress
>> detail
String
C
Only available if the status is WARNING, INVALID, and PENDING explains the reason below:
Warning:
Account Name is not similar = "The account name entered does not match the bank's records. Please check the account information and try again. Bank record:{accountName from bank}"
Account Name is similar = “The account name entered is not an exact match. Please check the account information and try again. Bank record: {accountName from bank}”
Invalid:
Account number not found.
Pending:
Inquiry in progress
Tips! Storing Inquiry ID for future usage
After you have successfully received a response from the Inquiry Account, you can store the inquiryId.
So whenever you want to create a Payout to the same Beneficiary Account, you don't need to hit Inquiry Account API again just pass inquiryId on the payload here
List of Response Codes
Response Code
Response Message
Error Object
00
Success
-
credentials_invalid
Access Token is Invalid
field_format_invalid
Format Field is Invalid
field_required
Mandatory Field is Missing
service_unavailable
Gateway / Partner service is unavailable
service_unavailable
Gateway / Partner service is unavailable
balance_insufficient
Merchant Balance is Insufficient
unsupported_channel_code
Channel Code is currently not supported
general_error
General Error
Last updated