Create Deposit Order (Indonesia)
Create an IDR (Indonesian Rupiah) deposit order.
Request Information
- Request URL:
/gateway/api/v1/payments - Request Method:
POST - Content-Type:
application/json;charset=utf-8
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| platform_id | Yes | String(7) | Merchant ID |
| service_id | Yes | String(7) | Service ID |
| payment_cl_id | Yes | String(32) | Merchant Order ID |
| name | No | String(16) | Remitter name (required for service_id SVC0055, SVC0069) |
| amount | Yes | Integer(10) | Amount (in cents) |
| notify_url | Yes | String(256) | Transaction result notification URL |
| request_time | Yes | Integer(10) | Request time (Unix timestamp in seconds) |
| sign | Yes | String(32) | Order Signature |
Request Example
{
"amount": "50000",
"notify_url": "https://xxx.xx/notification",
"payment_cl_id": "DEVPM00014581",
"name": "test_name",
"platform_id": "PF0002",
"request_time": "1595504136",
"service_id": "SVC0055",
"sign": "c81634c1769044eac9e9628a2292f557"
}
Response Example
Success Response
{
"error_code": "0000",
"data": {
"link": "http://xxx.xxx.xx/gateway/portal/v1/payments/GqhJK1nePB%2FayV7EO9S1EQ%3D%3D"
}
}
Error Response Example
{
"error_code": "0004",
"error_msg": "Signature verification failed!"
}
Response Parameter Description
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code |
| error_msg | String | Error message (returned when error_code is not "0000") |
| link | String | Order payment URL |
| amount | Int | Submitted amount |
Remarks
- Merchant ID is a unique identifier assigned by the system. If not obtained, please contact system personnel.
- Service ID options:
SVC0055Card to Card (Indonesia channel)SVC0056QRIS (Indonesia channel)SVC0057OVO (Indonesia channel)SVC0058DANA (Indonesia channel)SVC0059LINKAJA (Indonesia channel)SVC0060GOPAY (Indonesia channel)SVC0069E WALLET (Indonesia channel)- Refer to Service ID List
- Transaction amount unit is IDR (cents). Please multiply by 100. For example, to collect 10000.00, pass value 1000000
- Request time uses Unix timestamp in seconds
- Transaction results will be notified to
notify_url. Please provide a publicly accessible full URL (only http and https protocols supported). See parameter specs in Transaction Result Notification