POST
Create Payment Transaction

Authorizations

X-DOMPAY-API-Key
string
header
required
X-DOMPAY-Signature
string
header
required
X-DOMPAY-Timestamp
string
header
required

Body

application/json
method
string
required
Example:

"QRIS"

amount
number
required
Example:

5000

currency
string
required
Example:

"IDR"

reference
string
required
Example:

"ORDER123456"

settlementSpeed
string
Example:

"standard"

redirectUrl
string<uri>

Optional per-checkout redirect URL after payment completion. Must use http or https.

Maximum string length: 2048
Example:

"https://merchant.example.com/payment/result"

metadata
object

Optional merchant metadata. Selected order fields are shown on the public checkout page, so do not send sensitive data here.

Response

200 - application/json

Payment created successfully

id
string
status
string
amount
number
currency
string