Skip to main content
POST
IDR Collection Application

Secret Key & Private Key (Generate Signature)

Body

application/json
appId
integer
required

Business ID (retrieved from the backend; must pass the corresponding ID for the currency in the URL)

orderId
string
required

Merchant order ID

Maximum string length: 48
name
string
required

Payer's name (Payer's name format: 1-30 characters, English or Indonesian letters (case-insensitive), follows "firstName middleName lastName" structure (middleName optional), allows spaces and special characters !-))

Required string length: 1 - 30
Pattern: ^[A-Za-z\u0000-\u007F\s!-]+$
phone
string
required

Valid phone number

Pattern: ^08[0-9]{8,11}$
email
string<email>
required

Valid email

amount
string
required

Transaction amount (unit: IDR)

Pattern: ^[0-9]+$
payType
string
required
inBankCode
string
required
callBackUrl
string<uri>
required

Redirect URL after successful payment

callBackFailUrl
string<uri>
required

Redirect URL after failed payment

partnerUserId
string
required

Unique user identifier (e.g., userId). Required for risk control system. Must be valid, otherwise transactions may be affected. Format: numbers, letters, or common symbols -~!@#$%&*()_.

Pattern: ^[A-Za-z0-9\-~!@#$%&*()_]+$
sign
string
required

Signature

cancelUrl
string<uri>

Cancel payment redirect URL. If provided, users can click back on the payment page and be redirected to this URL

notifyUrl
string<uri>

Callback URL

currency
string
default:IDR

Currency (default: IDR)

subject
string

Payment remark (transaction title, product name, payment reason)

body
string

Remark details

Response

200 - application/json
status
string

1: Normal, 0: Exception

error
string

Error code

msg
string

Error description

data
object
Last modified on July 16, 2026