Skip to main content

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

ParameterRequiredTypeDescription
platform_idYesString(7)Merchant ID
service_idYesString(7)Service ID
payment_cl_idYesString(32)Merchant Order ID
nameNoString(16)Remitter name (required for service_id SVC0055, SVC0069)
amountYesInteger(10)Amount (in cents)
notify_urlYesString(256)Transaction result notification URL
request_timeYesInteger(10)Request time (Unix timestamp in seconds)
signYesString(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

ParameterTypeDescription
error_codeStringError code
error_msgStringError message (returned when error_code is not "0000")
linkStringOrder payment URL
amountIntSubmitted amount

Remarks

  • Merchant ID is a unique identifier assigned by the system. If not obtained, please contact system personnel.
  • Service ID options:
    • SVC0055 Card to Card (Indonesia channel)
    • SVC0056 QRIS (Indonesia channel)
    • SVC0057 OVO (Indonesia channel)
    • SVC0058 DANA (Indonesia channel)
    • SVC0059 LINKAJA (Indonesia channel)
    • SVC0060 GOPAY (Indonesia channel)
    • SVC0069 E 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