Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Merchant secret key, or a Platform secret key with delegation.

Headers

Ionic-Account
string

Merchant ID when an authorized Platform acts for a connected Merchant. Omit when authenticating directly as that Merchant.

Pattern: ^mer_
Idempotency-Key
string
required

Unique checkout-attempt key. Reuse the same value only when retrying the same request body and route.

Required string length: 1 - 255

Path Parameters

id
string
required

Terminal to print on.

Pattern: ^tmr_

Body

application/json
refund_id
string
required

A succeeded Refund of a payment taken on a Terminal.

Pattern: ^rf_
Example:

"rf_01JEXAMPLE4R7T2W9K3M8P5Q"

Response

The print ran; status reports whether the Terminal confirmed it.

object
enum<string>
required
Available options:
terminal_print
terminal_id
string
required

Terminal the receipt was sent to.

refund_id
string
required

Refund the receipt is for.

livemode
boolean
required
status
enum<string>
required

printed when the Terminal confirmed the print, failed when it did not.

Available options:
printed,
failed