Skip to main content
POST
Generate

Authorizations

Authorization
string
header
required

JWT issued by POST /api/v1.1/access-token/b2b. Send Authorization: Bearer <token>.

X-PARTNER-ID
string
header
required

Merchant API key (Credential.api_key). Required on every request.

Path Parameters

account_id
string
required

ULID of the account that will receive the QRIS payment. Must belong to the authenticated merchant and be active. Account ULID

Example:

"01H9X8ZK3M7QF4N2VTB6RYJWPC"

Body

application/json
amount
number
required

Payment amount for the dynamic QRIS. Minimum and maximum limits depend on merchant configuration.

Example:

10000

expired_at
string<date-time>

Optional expiration datetime. Must be later than the current time. A value without timezone offset is interpreted as Asia/Jakarta (WIB, UTC+7). Defaults to 1 hour after creation when omitted.

Example:

"2024-05-13T00:00:00+07:00"

merchant_reff_no
string | null

Optional merchant reference number, returned on the transaction resource and in callbacks. Not checked for uniqueness: reusing a value does not prevent a new QRIS from being created.

Maximum string length: 255
Example:

"INV20240513001"

Response

QRIS created

status
integer
required

HTTP status code.

Example:

200

success
boolean
required

Indicates whether the request was successful.

Example:

true

data
object
required

QRIS transaction resource payload.