Skip to main content
The authorize method places a financial hold (pre-authorization) on a previously identified card. This represents the second phase of a two-step transaction, occurring after a successful cardDetect call. Use this method to:
  • Guarantee payment by reserving a maximum dollar amount before the fueling session begins.
  • Verify card validity and fund availability before the pump is activated.
  • Capture a final amount that is less than or equal to the initial hold.
Example of the authorization prompt on a Nayax device: Authorize

Requests

This command relies on the card data stored in the terminal’s session buffer from the preceding detection phase. A data object is not required, but optional fields can be included to pass product and user context to the terminal. The following example shows a minimal request:
The following example shows a request with optional data fields:

Parameter Definitions

The table below describes the fields for the authorization request:

Responses

The terminal returns a response after communicating with the financial gateway. A successful response contains the transactionId, which is mandatory for the subsequent settlement. The following example shows a typical response:

Response Parameters

Below are the parameters returned in the data object upon a successful authorization: