Skip to main content

API INQUIRY ACCOUNT

smilepayz teamsAbout 1 min

Request

The Account Inquiry API enables merchants to retrieve the account name.

Request Path:

production: https://gateway.smilepayz.com/v2.0/inquiry-account

Header Parameters

FieldRequiredTypeDescription
Content-TypeMStringHTTP content type specification
Fixed value: application/json
Required for proper request parsing
X-TIMESTAMPMStringISO 8601 datetime format with timezone offset
Format: yyyy-MM-ddTHH:mm:ss±HH:mm
Example: 2020-12-17T10:55:00+07:00
Note: Must be current server time within ±5 minutes
X-SIGNATUREMStringDigital signature for request authentication.
See Signature Generation
X-PARTNER-IDMStringUnique merchant identifier assigned by the platform
Format: Alphanumeric string
Used for merchant authentication and transaction routing
Please enter merchantID

Body Parameters

FieldRequiredTypeDescription
merchantIdMStringPrimary merchant identifier assigned by the platform
Format: Alphanumeric string
Used for transaction routing and settlement processing
bankAccountNoMStringthe account number to be queried
paymentMethodMStringthe payment method like bank name or e-wallet name
areaMIntegerArea code ,for Indonesia is 10

:::

Example Header – Balance Inquiry Request:

POST {Base URL}/v2.0/inquiry-balance HTTP/1.2

Content-type: application/json
X-TIMESTAMP: 2020-12-18T15:06:00+07:00
X-SIGNATURE: 85be817c55b2c135157c7e89f52499bf0c25ad6eeebe04a986e8c862561b19a5
X-PARTNER-ID: 20001

Response

HTTP Request

FieldRequiredTypeDescription
Content-TypeMStringHTTP response content type specification
Fixed value: application/json
Indicates JSON response format
X-TIMESTAMPMStringISO 8601 datetime format with timezone offset
Format: yyyy-MM-ddTHH:mm:ss±HH:mm
Example: 2020-12-17T10:55:00+07:00

Response Body

FieldRequiredTypeDescription
codeMStringAPI response status code indicating operation result
Format: Two-digit string
Success: "00", Error: Other codes
Used for programmatic response handling
messageMStringHuman-readable response status description
Format: UTF-8 encoded string
Provides detailed information about the operation result
bankAccountNoOStringthe account number
bankAccountNameOListAccount holder name
paymentMethodOStringthe payment method like bank name or e-wallet name

Example Body – Balance Inquiry Response:

Content-type: application/json 
X-TIMESTAMP: 2020-12-17T10:55:00+07:00