Inquiry PaymentMethod API
About 1 min
Tips
The request frequency must be less than 10 times per minute, otherwise access will be prohibited.
Introduce
Service Code | 93 |
---|---|
Name | API Disbursement Inquiry PaymentMethod |
Version | 1.0 |
HTTP Method | POST |
Path | .../{version}/disbursement/inquiry-paymentMethod |
Request Header
API Header Format Structure for Disbursement Inquiry PaymentMethod:
Field | Attribute | Type | Description |
---|---|---|---|
Content-Type | Mandatory | String | String represents indicate the media type of the resource (e.g. application/json, application/pdf) |
Authorization | Mandatory | String | String starts with keyword “Bearer ” followed by access_token (e.g. Bearer eyJraWQiOi...Jzc29zIiiY) |
X-TIMESTAMP | Mandatory | String | Merchant's current local time in yyyy-MM-ddTHH:mm:ssTZD format |
X-SIGNATURE | Mandatory | String | Represents signature of a request.Identify Signature Type used |
ORIGIN | Optional | String | Origin Domain www.yourdomain.com |
X-PARTNER-ID | Mandatory | String | MerchantID. Unique ID for a partner as MerchantID |
X-EXTERNAL- ID | Mandatory | String | Numeric String. Reference number that should be unique in the same day |
CHANNEL-ID | Mandatory | String | PJP’s channel id Device identification on which the API services is currently being accessed by the end user (customer) |
Request Parameter
Field | Attribute | Type | Description |
---|---|---|---|
merchant | Mandatory | Merchant | Json String merchant information.Filed merchantId is Mandatory. Refer to: Merchant |
additionalInfo | Optional | String | String Additional Information |
Response Parameter
Field | Attribute | Type | Description |
---|---|---|---|
responseCode | Mandatory | String(32) | String Response code. success=2009300 |
responseMessage | Mandatory | String(64) | String Response description |
merchant | Mandatory | Merchant | Json String merchant information. Refer to: Merchant |
additionalInfo | Optional | String | String Additional Information |
paymentMethodList | Mandatory | List<PaymentMethod> | Json String.Refer to:PaymentMethod |
Sample Parameter
Sample Request
curl -X POST 'https://sandbox-gateway.smilepay.id/v1.0/disbursement/inquiry-paymentMethod' \
-H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJuYmYiOjE3NDA3MjUyMTcsImV4cCI6MTc0MDcyNjExNywiaWF0IjoxNzQwNzI1MjE3LCJNRVJDSEFOVF9JRCI6InNhbmRib3gtMTAwMDEifQ.q6XPop1aQ6VqhCy1mv4Am-2tNdkiYJOpUCHgpfpJogE' \
-H 'X-TIMESTAMP: 2025-02-28T14:47:46+07:00' \
-H 'X-SIGNATURE: fwOeS/e+7GHjJBpqhHAOoW7ZH5k/nKV3E9EnrcZ2pGEbDW54RPfAwCeJL18X9PQeNdXrJMGu+l9W762eKVbRQw==' \
-H 'ORIGIN:www.yourdomain.com' \
-H 'X-PARTNER-ID: sandbox-10001' \
-H 'X-EXTERNAL-ID: 1737547970911' \
-H 'CHANNEL-ID: 95221' \
-H 'Content-Type: application/json' \
-d '{
"merchant": {
"merchantId": "sandbox-10001",
"merchantName": "sandbox test"
},
"additionalInfo": ""
}'
Sample Response
{
"merchant": {
"merchantId": "sandbox-10001",
"merchantName": "sandbox test"
},
"additionalInfo": "",
"paymentMethodList": [
{
"paymentMethod": "DANAMON",
"paymentName": "DANAMON Bank",
"singleFee": 3000,
"singleRate": 0,
"amountLimitMin": 10000,
"amountLimitMax": 1000000000,
"settleType": "T1"
},
{
"paymentMethod": null,
"paymentName": null,
"singleFee": null,
"singleRate": null,
"amountLimitMin": null,
"amountLimitMax": null,
"settleType": null
},
{
"paymentMethod": "MANDIRI",
"paymentName": "Mandiri Bank",
"singleFee": 3300,
"singleRate": 0,
"amountLimitMin": 10000,
"amountLimitMax": 1000000000,
"settleType": "T1"
}
],
"responseCode": "2009300",
"responseMessage": "Successful"
}