Skip to main content
💡
Disclaimer: The Authorisation Request API was previously referred to as Authorisation Control API. This API name change does not impact any existing integration.
After we receive an authorisation request from the card Scheme, we validate the authenticity of the transaction. If we approve the request, we forward a synchronous message to the ledger as they must approve/decline/partially approve the request — the message is sent to the registered endpoint through the outgoing Authorisation Request API Endpoint.
  • For initial and incremental authorisations, the ledger must check whether the cardholder has sufficient account balance to cover the transaction amount.
  • For balance enquiry and PIN related services, the ledger must check whether any fees are applicable. If yes, they must verify the cardholder’s account and adjust the balance.
This provides you with a more controlled authorisation process, where you can participate in real-time decision-making.
  • To receive the messages, you must provide your customer success manager with the specific endpoint URLs and the HTTP basic authentication credentials required to access the endpoints.
  • Enfuce uses another interface to transmit transaction lifecycle events — Transaction Event Webhook. The transaction event webhook sends asynchronous notifications to the ledger.
  • If Enfuce determines that the authorisation request, as received from the card Scheme, must be declined before reaching the ledger (for example, due to incorrect PIN), the message is then sent via the Transaction Event Webhook.

Authorisation Hold

If the request is approved, the ledger must reserve the amount as an authorisation hold. The amount is reserved in the cardholder’s account balance, until the transaction is cleared, reversed, or has expired.

Benefits of Authorisation Request API

In addition to controlling the transactions you want to approve, you can use the data received in the authorisation request endpoint to create rules that provide a customised experience for your cardholders.

Supported Message Categories and Message Function

  • Message Categories: The Authorisation Request API endpoint informs the ledger about the following authorisation message categories:
    • INITIAL_AUTHORIZATION
    • INCREMENTAL_AUTHORIZATION
    • BALANCE_INQUIRY
    • PIN_MANAGEMENT
    For detailed information on each message category, see Authorisation Message Types.
  • Message Function: The messageFunction in an authorisation request message is always sent as a REQUEST, as we are awaiting a decision from the ledger to approve/decline/partially approve the authorisation request, and make adjustments to the cardholder’s account balance.

Message Contents

The Authorisation Request API endpoint includes rich information about a transaction. The following lists the minimum data you require to arrive at a decision:

Ledger’s Actions

The following section explains the actions that you must take when you receive a message via the the Authorisation Request API interface for any of the following messageCategory :
This is the most common authorisation request, frequently used for retail payments and withdrawals.
This is an additional request submitted occasionally to increase the initial authorised amount, for example, car rentals or hotel bookings.
This occurs mostly in ATMs to check the account balance. Based on how you have configured this capability, there may be a fee involved for a balance check. If the balance check incurs any fee, you must return the available balance and check whether the cardholder has sufficient funds to cover the fee.

We send this request via the authorisation request API interface, when PIN related services involve a fee.

Actions
  • Validate whether the amount represented in the transaction.approvedAmount can be debited from the cardholder’s account.
  • Hold the amount represented in the transaction.approvedAmount parameter.
  • If you approve the request, return APPROVED in the authResponseCode attribute and specify the remaining balance in the availableBalance attribute.
  • If you decline the request, return an appropriate response in the authResponseCode attribute.

Ledger’s Platform Requirements

Successful authorisation of a transaction is crucial to the payment processing workflow. If responses are not returned on time, the cardholder has to wait longer at the checkout. Hence, responses are time-sensitive. The ledger must have high availability and high-performance systems:
  • A rules engine that would evaluate the Enfuce-provided authorisation control message and approve or decline the transactions instantly.
  • Uptime > 99% (24/7/365).
  • Response to Enfuce within 5 seconds, measured from the time the request leaves Enfuce to when a response is received. This includes network trip duration, which is generally minimal under normal conditions.
  • Capability to process multiple transactions per second during peak times.

Authorisation Request API

POST /auth

Test Authorisation Control Webhook

POST /auth