Get Available Payment
The following is an API endpoint to get available payment.
Used to get list of our available payment.
Endpoint
/api/merchant/payment-channel
Headers
- Name
X-Client-Id
- Type
- uuid
- Description
Client ID (provided by BJPAY or retrieve from our Merchant Portal).
- Name
X-Client-Secret
- Type
- string
- Description
Client Secret (provided by BJPAY or retrieve from our Merchant Portal).
- Name
X-Request-Time
- Type
- YYYY-MM-DDTHH:mm:ssZ
- Description
Request Time should be ISO 8601 and will be used to generate Signature.
- Name
Content-Type
- Type
- application/json
- Description
Content type application/json
Request
Example
POST
/api/merchant/payment-channelcurl --location --request POST 'https://api.bjpay.co.id/api/merchant/payment-channel' \
--header 'X-Client-Id: {{client_id}}' \
--header 'X-Client-Secret: {{client_secret}}' \
--header 'X-Request-Time: {{request_time}}' \
--header 'Content-Type: application/json' \
Response
Example
{
"code": "OK", // Check Response Code List
"message": "Success", // Check Response Message List
"data": [
{
"name": "VA",
"channel": [
{
"id": 9,
"code": "MANDIRI",
"name": "Bank Mandiri",
"description": "Pembayaran dengan cara transfer ke nomor rekening virtual dari bank Mandiri",
"image": "https://cdn.bjpay.id/services/logo-mandiri.png",
"feeFlat": 1500,
"feePercentage": 0,
"minAmount": 0,
"maxAmount": 0,
"isActive": true
},
]
},
{
"name": "EWALLET",
"channel": [
{
"id": 8,
"code": "GOPAY",
"name": "GoPay",
"description": "Pembayaran melalui E-Wallet GoPay",
"image": "https://cdn.bjpay.id/services/logo-gopay.png",
"feeFlat": 0,
"feePercentage": 2,
"minAmount": 0,
"maxAmount": 0,
"isActive": true
}
]
},
]
}