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
- Base URLhttps://api.justifi.ai/v1
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Authorizationstring required
the access_token value returned from the JustiFi oauth/token endpoint (be sure to append Bearer before the token)
Request body
Example request
{
"payment_intent_id": "pi_abc123",
"checkout_id": "cho_abc123",
"terminal_id": "trm_abc123"
}Response
Checkout sent to terminal for processing
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.