API-only

The API-only integration allows you to build your own user interface for the payment experience, giving you full control over the look and feel, enabling seamless integration with your existing platform. Responses from Unified Global Payments API will guide you through the whole payment initiation process, telling what is required to move things forward, whether to provide additional input, or redirect the payer to the given URL for payment authorisation.

The API-only integration requires polling. During the initiation flow you will be required to periodically call Volt’s API to check where the payer is in the flow, or if flow has already been finished.

  • Redirect authorisation
  • Pre-authorisation
  • Embedded authorisation with SCA App
  • Embedded authorisation

The payer is redirected to the institution’s user interface (UI) to authenticate and authorise the payment. This flow delegates the responsibility of handling user credentials and authorisation to the institution’s secure environment.

Prerequisite

In order to use Volt’s API you need to be authenticated. Use this guide to handle authentication with Volt’s API.

Steps:

  1. Partner retrieves the list of institutions.
    Use this guide to build institution selection component.

  2. Payer selects the institution.
    User selects their bank from the institution selection interface.

  3. Partner collects payment data from the payer.
    Gather necessary data such as currency, amount, and required account identifiers.

  4. Partner initiates payment request.
    Use the POST /payments endpoint. The response includes a redirectUrl to which the user should be redirected.

API-only integration requires passing X-Volt-Initiation-Channel HTTP header with value api.

POST /payments response
{
    //...
    "paymentInitiationFlow": {
        "status": "PROCESSING",
        "details": {
          "reason": "AWAITING_USER_REDIRECT",
            "redirect": {
                "url": "https://vo.lt/short",
                "directUrl": "https://myBank.com/authorisation?code=xyz"
            }
        }
    }
    //...
}
  1. Payer interacts with the institution.
    The user completes authentication and authorisation within the selected bank interface or Volt SCA App.

  2. Payer returns to the partner.
    Payer is redirected to the return URL provided in the POST /payments request.

  3. Partner receives payment details and authorisation status.
    Poll the GET /payments/{id} endpoint until the payment initiation flow status changes from PROCESSING to a final state (e.g., FINISHEDEXCEPTIONABORTED).

  4. Partner receives the payment notification about the payment status.
    Notification (webhook) will be sent to you.

You can configure payment notifications in the Fuzebox or pass it directly in the POST /payments request.
Detailed guide can be found here<URL>.

Special Scenario:
For certain institutions (mostly in Spain), additional input  REDIRECT_TYPE may be required. This involves sending a PATCH /payments/{id} request with the selected redirect type before proceeding with user redirection.
You will be informed about this requirement when calling POST /payments for the first time

POST /payments response
{
    // ...
    "paymentInitiationFlow": {
        "status": "WAITING_FOR_INPUT",
        "requiredInput": [
             {
               "name": "REDIRECT_TYPE",
               "propertyPath": "openBankingEU.redirectType",
               "allowedValues": [
                   {
                       "name": "APP",
                       "value": "app",
                       "description": null
                   },
                   {
                       "name": "WEB",
                       "value": "web",
                       "description": null
                   }
               ]
             }
        ]
    }
}

The payer is redirected to the institution’s user interface (UI) to authenticate and authorise the payment. However, authentication and authorisation are two separate steps, which results in two separate redirects. This flow delegates the responsibility of handling user credentials and authorisation to the institution’s secure environment.

Prerequisite

In order to use Volt’s API you need to be authenticated. Use this guide to handle authentication with Volt’s API.

Steps:

  1. Partner retrieves the list of institutions.
    Use this guide to build institution selection component.

  2. Payer selects the institution.
    User selects their bank from the institution selection interface.

  3. Partner collects payment data from the payer.
    Gather necessary data such as currency, amount, and required account identifiers.

  4. Partner initiates payment request.
    Use the POST /payments endpoint. The response includes a redirectUrl to which the user should be redirected.

API-only integration requires passing X-Volt-Initiation-Channel HTTP header with value api.

POST /payments response
{
    //...
    "paymentInitiationFlow": {
        "status": "PROCESSING",
        "details": {
          "reason": "AWAITING_USER_REDIRECT",
            "redirect": {
                "url": "https://vo.lt/short",
                "directUrl": "https://myBank.com/authorisation?code=xyz"
            }
        }
    }
    //...
}
  1. Payer interacts with the institution.
    The user completes authentication within the selected bank interface.

  2. Payer returns to the partner.
    Payer is redirected to the return URL provided in the POST /payments request.

  3. Partner receives payment details and authorisation status.
    Poll the GET /payments/{id} to obtain second redirect URL.
POST /payments response
{
    //...
    "paymentInitiationFlow": {
        "status": "PROCESSING",
        "details": {
          "reason": "AWAITING_USER_REDIRECT",
            "redirect": {
                "url": "https://vo.lt/short",
                "directUrl": "https://myBank.com/authorisation?code=xyz"
            }
        }
    }
    //...
}
  1. Payer interacts with the institution.
    The user completes authorisation within the selected bank interface.

  2. Payer returns to the partner.
    Payer is redirected to the return URL provided in the POST /payments request.

  3. Partner receives payment details and authorisation status.
    Poll the GET /payments/{id} endpoint until the payment initiation flow status changes from PROCESSING to a final state (e.g., FINISHEDEXCEPTIONABORTED).

  4. Partner receives the payment notification about the payment status.
    Notification (webhook) will be sent to you.

You can configure payment notifications in the Fuzebox or pass it directly in the POST /payments request.
Detailed guide can be found here<URL>.

Special Scenario:
Calling GET /payments/{id} after payer has authenticated within the institution and returned to partner might return information about decoupled flow.

GET /payments/{id} response
{
    // ...
    "paymentInitiationFlow": {
        "status": "PROCESSING",
        "details": {
            "reason": "AWAITING_DECOUPLED_AUTHORISATION"
        }
    }
}

In this case there is no second redirect to the institution. Instead, payer needs to authorise the payment using external device (usually a banking app on a mobile phone). Partner should keep polling GET /payments/{id} endpoint until the payment initiation flow status changes from PROCESSING to a final state (e.g., FINISHEDEXCEPTIONABORTED).

Embedded authorisation flow is a bit complex and requires the partner to build a lot of UI elements, and handle underlying logic.

To make that part easier, or even possible, Volt offers an SCA App intermediary part of the flow that handles payer’s credentials gathering, as well as SCA method/code collection.

Prerequisite

In order to use Volt’s API you need to be authenticated. Use this guide to handle authentication with Volt’s API.

Steps:

  1. Partner retrieves the list of institutions.
    Use this guide to build institution selection component.

  2. Payer selects the institution.

    User selects their bank from the institution selection interface.

  3. Partner collects payment data from the payer.
    Gather necessary data such as currency, amount, and required account identifiers.

  4. Partner initiates payment request.
    Use the POST /payments endpoint. The response includes a redirectUrl to Volt’s SCA App which the user should be redirected.

API-only integration requires passing X-Volt-Initiation-Channel HTTP header with value api.

POST /payments response
{  
    //...
    "paymentInitiationFlow": {
        "status": "PROCESSING",
        "details": {
            "reason": "AWAITING_USER_REDIRECT",
            "redirect": {
                "url": "https://vo.lt/short",
                "directUrl": "https://sca.volt.io/{paymentId}"
            }
        }
    }
    //...
}
  1. Payer interacts with the SCA App.
    The user completes authentication and authorisation within Volt’s SCA App.

  2. Payer returns to the partner.
    Payer is redirected to the return URL provided in the POST /payments request.

  3. Partner receives payment details and authorisation status.
    Poll the GET /payments/{id} endpoint until the payment initiation flow status changes from PROCESSING to a final state (e.g., FINISHEDEXCEPTIONABORTED).

  4. Partner receives the payment notification about the payment status.
    Notification (webhook) will be sent to you.

You can configure payment notifications in the Fuzebox or pass it directly in the POST /payments request.
Detailed guide can be found here<URL>.

With the embedded authorisation flow payer’s credentials to the selected institution are captured by the partner and used for authentication at the institution without redirecting the payer to the Volt’s nor bank’s UI.

Apart of collecting the payer’s credentials by the partner, embedded flow often requires partner to also handle SCA process, this is collecting information about selected SCA method and/or SCA code.

Prerequisite

In order to use Volt’s API you need to be authenticated. Use this guide to handle authentication with Volt’s API.

Steps:

  1. Partner retrieves the list of institutions.
    Use this guide to build institution selection component.

  2. Payer selects the institution.

    User selects their bank from the institution selection interface.

  3. Partner collects payment data from the payer.
    Gather necessary data such as currency, amount, and required account identifiers.

  4. Partner initiates payment request.
    Use the POST /payments endpoint. The response indicates the required user credentials (e.g., username & password).

API-only integration requires passing X-Volt-Initiation-Channel HTTP header with value api.

POST /payments response
{
    // ...
    "paymentInitiationFlow": {
        "status": "WAITING_FOR_INPUT",
        "requiredInput": [
            {
                "name": "SCA_USERNAME",
                "propertyPath": "sca.username"
            },
            {
                "name": "SCA_PASSWORD",
                "propertyPath": "sca.password"
            }
        ]
    }
}
  1. Payer provides credentials.
    Partner provides an interface for the payer to input username and password that will be used to authenticate with the institution.

  2. Partner passes payer’s credentials.
    Use the PATCH /payments/{id} endpoint. The response may list available SCA methods.
PATCH /payments/{id}
{
    // ...
    "sca": {
        "username": "shopper_bank_account_username"
        "password": "shopper_password"
    }
}
  1. Payer selects SCA method.
    User chooses from available methods like PUSH_OTP or SMS_OTP.

  2. Partner passes selected SCA method.
    Use the PATCH /payments/{id} endpoint. Depending on the method, additional inputs like an SCA code may be required.

  3. Payer provides SCA code (if applicable).

  4. Partner passes SCA code.
    Finalise the authorsation using the PATCH /payments/{id} endpoint.

  5. Partner receives payment details and authorisation status.
    Poll the GET /payments/{id} endpoint until the status changes to a final state.

  6. Partner receives the payment notification about the payment status.
    Notification (webhook) will be sent to you.

You can configure payment notifications in the Fuzebox or pass it directly in the POST /payments request.
Detailed guide can be found here<URL>.

Special Scenario:
Integration with the SCA App simplifies the embedded flow by handling credential gathering and SCA method/code collection.