Terminals

Pay via Terminal

Send a checkout to be processed via terminal, listen for checkout events (recommended) or poll checkout API for payment outcome

post/terminals/pay

Request

Headers

Authorizationstring required

the access_token value returned from the JustiFi oauth/token endpoint (be sure to append Bearer before the token)

Request body

payment_intent_idstring uuid

(deprecated, use checkout id) id for the payment intent which you want to process via terminal

checkout_idstring uuid required

id of the checkout which you want to process via terminal

terminal_idstring uuid required

id of the terminal on which you want to process a transaction

Example request

{
  "payment_intent_id": "pi_abc123",
  "checkout_id": "cho_abc123",
  "terminal_id": "trm_abc123"
}

Response

Checkout sent to terminal for processing

idstring uuid

the object id, also found in the data object

typestring

the object type, or array of objects

page_infounknown

Example response

{
  "id": "tses_FQz6I0hMTrcU9Ur7TpOPZ",
  "type": "terminal_sessions",
  "data": {
    "id": "tses_FQz6I0hMTrcU9Ur7TpOPZ",
    "session_type": "payment",
    "status": "created",
    "payment_id": "py_abc123",
    "terminal_id": "trm_abc123",
    "account_id": "acc_abc123",
    "platform_account_id": "acc_abc123",
    "checkout_id": "cho_abc123"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.