Inquiry Account Internal

Inquiry Account Internal is a service used to verify the validity of the destination (beneficiary) account number at the same bank as the source account.
Type Value
Service Code
15
Name
API Internal Account Inquiry
HTTP Method
POST

Flow

You send the required parameters to make a request, and Espay Disbursement will respond in JSON format.

API URL

Environment URL
Sandbox
Port of HTTPS (443)
https://sandbox-api.espay.id/api/v1.0/account-inquiry-internal
Production
Port of HTTPS (443)
https://api.espay.id/api/v1.0/account-inquiry-internal

Headers

Name Type Mandatory Description
Content-Type
String
Y
Content of your request body.

Example:
application/json
X-TIMESTAMP
String (25)
Y
Customer's current local date and time.

Format:
yyyy-MM-ddThh:mi:ssTZD (ISO 8601)

Example:
2024-03-14T07:49:28+07:00
X-SIGNATURE
String (255)
Y
Code used to validate transactions. Learn Signatures Asymmetric
X-EXTERNAL-ID
String (32)
Y
Numeric String. Reference number that should be unique on the same day.
X-PARTNER-ID
String (50)
Y
Merchant Code from Espay team.

Example:
SGWYESSISHOP
CHANNEL-ID
String (5)
Y
Channel id.

Value:
Espay
Authorization-Customer
String
Y
Access Token from B2B. Learn Access Token B2B

Format:
Bearer (access token).

Example:
Bearer ZDE1MTQxM2QwODE2Zj UyNjk3ZmY0NTA3ZDgwZ Tg2ZDcyNmQ4MTNlYw
Y: Yes, O: Optional, C: Conditional

Request Parameters

Parameter Type Mandatory Description
partnerReferenceNo
String (64)
Y
Unique reference code from merchant.
beneficiaryAccountNo
String (16)
Y
Beneficiary account number.
additionalInfo
Array of Object
O
  accountNo
String (50)
Y
Source account number.
Y: Yes, O: Optional, C: Conditional

Response Parameters

Parameter Type Mandatory Description
responseCode
String (7)
Y
Response Code.

Format:
HTTP code + Service code + Error code. Click here

Example:
Contoh:
200+15+00 = 2001500.
responseMessage
String (150)
Y
Response description.
partnerReferenceNo
String (64)
Y
Unique reference code from merchant.
beneficiaryAccountName
String (100)
Y
Beneficiary account name.
beneficiaryAccountNo
String (16)
Y
Beneficiary account number.

Try It!

Anda bisa coba masukkan data sesuai dengan input yang telah disediakan. Setelah itu Anda submit dan lihat hasilnya!





























Sample Headers

Content-Type:application/json
X-TIMESTAMP:2024-03-14T07:49:28+07:00
X-SIGNATURE:PESpyuSye0sRLnJybkhyDhl+1SIlys3a9dfezLWg1EIv7eru9r1cExovkGaammOm3Qp0wMxnaMBwfTI8oRoZRvwtIFjZOotIlxaXRzlfCmm3xtmKP/NFbm4XrqN4eEd6WM5Prldpza1hd68kUbvAU4Jbwtih+rDmPTKcaogftYfE/qHQpZ50ZMqHQsyj+Tp9CxabJM4YlRtn06hQeIb21Ybc17SrRmO9JyhndEoSCVVSFcvwfXPTYuAyMnXwRLax2zwROLeonvboVjKY7RuCCwSCwIu+S+aSQXBlHixI5c/gKRl3eDC3E2aMmfbiQWiA==
X-EXTERNAL-ID:c3b32464-620c-4cd2-89f9-54e49da20d93
X-PARTNER-ID:SGWYESSISHOP
CHANNEL-ID:ESPAY
Authorization:Bearer SS7NI+cTe4iVw9YfL9InmeTYSQDcK0eGuw0iu88kFiym5XE2J0dK6OgFrOhw50TpaI2euDdCkee0nP/IbQbVWQ==
   
             































Sample Request

{
    "partnerReferenceNo": "20220929-ACCINQ-021",
    "beneficiaryAccountNo": "701075323",
    "additionalInfo": {
        "accountNo": "2092871482"
    }
}
             







Sample Positive Response

{
    "responseCode": "2001500",
    "responseMessage": "Successful",
    "partnerReferenceNo": "20220929-ACCINQ-021",
    "beneficiaryAccountName": "KR DUMMY ACCOUNT TBXXXXXXXXXXXXXXXXXXXXX",
    "beneficiaryAccountNo": "701075323"
}
              

Sample Negative Response

{
    "responseCode": "4011501",
    "responseMessage": "Unauthorized. IP Address rejected / unregistered"
}
              





CURL

curl --location 'https://sandbox-api.espay.id/api/v1.0/account-inquiry-internal' \
--header 'Content-Type: application/json' \
--header 'X-TIMESTAMP: 2024-03-14T07:49:28+07:00' \
--header 'X-SIGNATURE: Ez4VM6yLWfgSLPZifeXDxjc8ko6IK1qa9V0nvohRGAL5dgfCXgpjMShRB+r4wthYwsb2BUSOh//gW0a2qqnVwUbg31MdUytp9FnZq6O7Kp6jGHSConvkaxMSp764iFCbpcjciaGwekXFmIdfnRB3Tn988Yz89Vb6qhxRZ30aLha+2JoRbY7ajy1Ml/upOvmmhhuwCdXgzjcsNVpSUO2RPag9Zasx+gmUc7vX4kWcpkd5gjNpp1d9h/arKaO+0xWYELWbbVyDUkwVdydhsH5YDMd5vt1TS/49lNSH/eMN1QevI7ayV3cxv8YP3i7QwBncXOV24OXNpxvegxabn/5CCA==' \
--header 'X-EXTERNAL-ID: c3b32464-620c-4cd2-89f9-54e49da20d93' \
--header 'X-PARTNER-ID: SGWYESSISHOP' \
--header 'CHANNEL-ID: ESPAY' \
--header 'Authorization: Bearer 5sjRbYs/JcESyDcloMT0j76JGUtQChwnLLvLzWoO63N2rMaG9nRL3vZTgTr2QHCIjqnBPq8TAjGbT7EL8nPucQ==' \
--data '{
    "partnerReferenceNo": "20220929-ACCINQ-021",
    "beneficiaryAccountNo": "701075323",
    "additionalInfo": {
        "accountNo": "2092871482"
    }
}'
              
Scroll to Top