ตรวจสอบบัญชี
smilepayz teamsน้อยกว่า 1 นาที
ชื่อเจ้าของบัญชี ธนาคาร/กระเป๋าในอินโดนีเซีย (paymentMethod, area 10)
Request
POST/v2.0/inquiry-account
Request Path:
sandbox: https://sandbox-gateway.smilepayz.com/v2.0/inquiry-account
production: https://gateway.smilepayz.com/v2.0/inquiry-account
| Field | Required | Type | Description |
|---|
Content-Type | M | String | application/json |
X-TIMESTAMP | M | String | Format: yyyy-MM-ddTHH:mm:ss±HH:mm |
X-SIGNATURE | M | String | Request signature; Signature Generation. |
X-PARTNER-ID | M | String | merchantID (alphanumeric). |
Body Parameters
| Field | Required | Type | Description |
|---|
merchantId | M | String | Platform merchant ID. |
bankAccountNo | M | String | Account number to look up. |
paymentMethod | M | String | Bank or e-wallet code (e.g. BCA). |
area | M | Integer | Region code; 10 = Indonesia. |
Example Body – Account Inquiry Request:
Content-type: application/json
X-TIMESTAMP: 2020-12-18T15:06:00+07:00
X-SIGNATURE: 85be817c55b2c135157c7e89f52499bf0c25ad6eeebe04a986e8c862561b19a5
X-PARTNER-ID: 20001
{
"merchantId": "20019",
"bankAccountNo": "40755555555",
"paymentMethod": "BCA",
"area": 10
}
Responses
HTTP Request
| Field | Required | Type | Description |
|---|
Content-Type | M | String | application/json |
X-TIMESTAMP | M | String | Format: yyyy-MM-ddTHH:mm:ss±HH:mm |
Body Parameters
| Field | Required | Type | Description |
|---|
code | M | String | 00 = success; other codes = error. |
message | M | String | Result text (UTF-8). |
bankAccountNo | O | String | Queried account number. |
bankAccountName | O | List | Holder name(s). |
paymentMethod | O | String | Method code echoed. |
Example Body – Account Inquiry Response:
Content-type: application/json
X-TIMESTAMP: 2020-12-17T10:55:00+07:00
{
"bankAccountNo": "40755456555",
"bankAccountName": "the name",
"paymentMethod": "BCA",
"message": null,
"code": "00"
}