Domestic Immediate Payment

Version 3.1.2 (Current Version)

What this API does

When using our Sandbox, we have a predefined, pre-authorised set of consents to be used within the environment. The predefined authorisation code is provided in the test data

These APIs currently supports Bacs, Balance Transfers, CHAPS and Faster Payments.

This API lets you initiate a single immediate domestic payment and submit payment requests. It also lets you check the payment status and confirm funds.

The API endpoint lets you ask Virgin Money to create a new domestic payment consent resource:

  • The POST action tells Virgin Money that a domestic payment consent has been staged. At this point, it does not identify the customer to Virgin Money; the request payload may not contain information about the account to be debited
  • The endpoint lets you send a copy of the consent between the customer and you to Virgin Money for the customer to authorise

Virgin Money will create a domestic payment consent resource and provide a unique ConsentId for the resource.

Before calling the API, you must have an access token issued by Virgin Money using a 'Client Credentials' grant.

GET

/domestic-payment-consents/{ConsentId}

Check the status of the payment consent. 

Before calling the API, you must have an access token issued by Virgin Money using 'Client Credentials' grant.

Once the customer has authorized the domestic payment consent, you can submit the payment for processing:

  • This request instructs Virgin Money to begin the payment journey. Virgin Money will normally execute the payment request immediately but this may not always be possible, for example, during busy periods
  • You must ensure the Initiation and Risk sections of the payment match the corresponding sections of the payment consent resource. Any discrepancy will generate an error response and we will not process the request

Before calling the API, you must have an access token issued by Virgin Money using 'Authorization Code' grant.

GET

/domestic-payments/{DomesticPaymentId}

Check the status of the payment.

Before calling the API, you must have an access token issued by Virgin Money using 'Client Credentials' grant.

GET

/domestic-payment-consents/{ConsentId}/funds-confirmation

Check if sufficient funds are available to make the payment. 

Before calling the API, you must have an access token issued by Virgin Money using 'Authorization Code' grant type.

Having trouble?

Contact our dedicated team members via our ticketing system or via our support mailbox

Opens in a new window Contact