Skip to main content
POST
/
commands
/
receipt
Print Receipt
curl --request POST \
  --url http://{IP_ADDRESS}:{PORT}/commands/receipt \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --header 'provider: <provider>' \
  --data '
{
  "terminal_id": "10362517",
  "payment_method": "QRIS",
  "terminal_reference": "1750407594445|1750407594"
}
'
{
  "terminal_id": "10362517",
  "terminal_reference": "N/A|1750407594",
  "payment_method": "QRIS",
  "amount": 1000,
  "currency": "IDR",
  "transaction_date": "2025-06-20T08:26:19.000Z",
  "status": "SUCCESS"
}

Authorizations

X-API-KEY
string
header
required

API key for authentication

Headers

provider
enum<string>
required

Provider name.

Available options:
BRI,
NTT
simulation
boolean

Simulation/mock response flag.

pretty-print
boolean

Json Pretty Formatter flag.

Body

application/json
terminal_id
string
required

Terminal's ID.

Required string length: 1 - 50
Example:

"10362517"

payment_method
enum<string>
required

Available payment methods

Available options:
CARD,
EWALLET,
QRIS
Example:

"QRIS"

terminal_reference
string
required

terminal_reference from /pay response.

Required string length: 1 - 100
Example:

"1750407594445|1750407594"

Response

Successful receipt print response.

status
enum<string>
required

Transaction status values

Available options:
SUCCESS,
FAILED
Example:

"SUCCESS"

order_id
string
required

Merchant's order ID. Uses only letters and numbers (alphanumeric). Hyphens, underscores, and other special characters are not allowed and may cause the transaction to fail to execute or complete.

Example:

"test1223323"

terminal_reference
string

Reference for Void & Receipt.

Example:

"1750407594445|1750407594"

payment_method
enum<string>

Available payment methods

Available options:
CARD,
EWALLET,
QRIS
Example:

"QRIS"

amount
number<double>

The transaction amount.

Required range: x >= 0
Example:

100

currency
string

The transaction currency (ISO 4217).

Required string length: 3
Example:

"IDR"

transaction_date
string<date-time>

The date and time of the transaction.

Example:

"2025-06-20T08:19:54.000Z"