International Scheduled Payments v3.1.1
- 1 Version Control
- 2 Endpoints
- 2.1 POST /international-scheduled-payment-consents
- 2.1.1 Status
- 2.2 GET /international-scheduled-payment-consents/{ConsentId}
- 2.2.1 Status
- 2.3 GET /international-scheduled-payment-consents/{ConsentId}/funds-confirmation
- 2.4 POST /international-scheduled-payments
- 2.4.1 Status
- 2.5 GET /international-scheduled-payments/{InternationalScheduledPaymentId}
- 2.5.1 Status
- 2.6 State Model
- 2.6.1 Payment Order Consent
- 2.6.2 Payment Order
- 2.6.2.1 Multiple Authorisation
- 2.1 POST /international-scheduled-payment-consents
- 3 Data Model
- 3.1 Reused Classes
- 3.1.1 OBInternationalScheduled2
- 3.1.1.1 UML Diagram
- 3.1.1.2 Notes
- 3.1.1.3 Data Dictionary
- 3.1.2 OBExchangeRate2
- 3.1.2.1 Data Dictionary
- 3.1.1 OBInternationalScheduled2
- 3.2 International Scheduled Payment Consent - Request
- 3.2.1 UML Diagram
- 3.2.2 Notes
- 3.2.3 Data Dictionary
- 3.3 International Scheduled Payment Consent - Response
- 3.3.1 UML Diagram
- 3.3.2 Notes
- 3.3.3 Data Dictionary
- 3.4 International Scheduled Payment Consent Confirmation of Funds - Response
- 3.4.1 UML Diagram
- 3.4.2 Notes
- 3.4.3 Data Dictionary
- 3.5 International Scheduled Payment - Request
- 3.5.1 UML Diagram
- 3.5.2 Notes
- 3.5.3 Data Dictionary
- 3.6 International Scheduled Payment - Response
- 3.6.1 UML Diagram
- 3.6.2 Notes
- 3.6.3 Data Dictionary
- 3.1 Reused Classes
- 4 Usage Examples
Version Control
Version | Date | Author | Comments |
|---|---|---|---|
3.0 | Sep 7, 2018 | OB R/W API Team | This is the baseline version. No change from RC3. |
3.1-draft1 | Sep 12, 2018 | OB R/W API Team | This is the initial draft version for 3.1. Draft 1 Changes
Errata
|
3.1-draft2 | Oct 5, 2018 | OB R/W API Team | Draft2 Changes:
|
3.1-draft3 | Oct 15, 2018 | OB R/W API Team | Draft3 Changes:
|
3.1-draft4 | Nov 6, 2018 | OB R/W API Team | Draft4 Changes:
|
3.1-rc1 | Nov 12, 2018 | OB R/W API Team | RC1 Changes:
|
3.1 | Nov 30, 2018 | OB R/W API Team | Version 3.1 final release. No changes from Version 3.1 RC1 |
3.1.1-RC1 | Feb 14, 2019 | OB R/W API Team | v3.1.1-RC1 Changes:
|
Endpoints
Resource | HTTP Operation | Endpoint | Mandatory ? | Scope | Grant Type | Message Signing | Idempotency Key | Request Object | Response Object |
|---|---|---|---|---|---|---|---|---|---|
international-scheduled-payment-consents | POST | POST /international-scheduled-payment-consents | Conditional | payments | Client Credentials | Signed Request Signed Response | Yes | OBWriteInternationalScheduledConsent1 | OBWriteInternationalScheduledConsentResponse1 |
international-scheduled-payment-consents | GET | GET /international-scheduled-payment-consents/{ConsentId} | Mandatory (if resource POST implemented) | payments | Client Credentials | Signed Response | No | NA | OBWriteInternationalScheduledConsentResponse1 |
international-scheduled-payment-consents | GET | GET /international-scheduled-payment-consents/{ConsentId}/funds-confirmation | Mandatory (if immediate debit supported) | payments | Authorization Code | Signed Response | No | NA | OBWriteFundsConfirmationResponse1 |
international-scheduled-payments | POST | POST /international-scheduled-payments | Conditional | payments | Authorization Code | Signed Request Signed Response | Yes | OBWriteInternationalScheduled1 | OBWriteInternationalScheduledResponse1 |
international-scheduled-payments | GET | GET /international-scheduled-payments/{InternationalScheduledPaymentId} | Mandatory (if resource POST implemented) | payments | Client Credentials | Signed Response | No | NA | OBWriteInternationalScheduledResponse1 |
POST /international-scheduled-payment-consents
POST /international-scheduled-payment-consentsThe API endpoint allows the PISP to ask an ASPSP to create a new international-scheduled-payment-consent resource.
The POST action indicates to the ASPSP that an international scheduled payment consent has been staged. At this point, the PSU may not have been identified by the ASPSP, and the request payload may not contain any information of the account that should be debited.
The endpoint allows the PISP to send a copy of the consent (between PSU and PISP) to the ASPSP for the PSU to authorise.
The ASPSP creates the international-scheduled-payment-consent resource and responds with a unique ConsentId to refer to the resource.
Status
The default Status is "AwaitingAuthorisation" immediately after the international-scheduled-payment-consent has been created.
Status |
|---|
AwaitingAuthorisation |
GET /international-scheduled-payment-consents/{ConsentId}
GET /international-scheduled-payment-consents/{ConsentId}A PISP can optionally retrieve a payment consent resource that they have created to check its status.
Status
Once the PSU authorises the payment-consent resource, the Status of the payment-consent resource will be updated with "Authorised".
If the PSU rejects the consent or the international-scheduled-payment-consent has failed some other ASPSP validation, the Status will be set to "Rejected".
Once an international-scheduled-payment has been successfully created using the international-scheduled-payment-consent, the Status of the international-scheduled-payment-consent will be set to "Consumed".
The available Status codes for the international-scheduled-payment-consent resource are:
Status |
|---|
AwaitingAuthorisation |
Rejected |
Authorised |
Consumed |
GET /international-scheduled-payment-consents/{ConsentId}/funds-confirmation
GET /international-scheduled-payment-consents/{ConsentId}/funds-confirmationThe API endpoint allows the PISP to ask an ASPSP to confirm funds on an international-scheduled-payment-consent resource, where the payment is for immediate debit.
An ASPSP can only respond to a funds confirmation request if the international-scheduled-payment-consent resource has an
Authorisedstatus. If the status is notAuthorised, an ASPSP must respond with a 400 (Bad Request) and aUK.OBIE.Resource.InvalidConsentStatuserror code.Confirmation of funds requests do not affect the status of the international-scheduled-payment-consent resource.
POST /international-scheduled-payments
POST /international-scheduled-paymentsOnce the international-scheduled-payment-consent has been authorised by the PSU, the PISP can proceed to submit the international-scheduled-payment for processing:
This is done by making a POST request to the international-scheduled-payments endpoint.
This request is an instruction to the ASPSP to begin the international scheduled payment journey. The PISP must submit the international scheduled payment immediately, however, there are some scenarios where the ASPSP may not warehouse the international scheduled payment immediately (e.g. busy periods at the ASPSP).
The PISP must ensure that the Initiation and Risk sections of the international-scheduled-payment match the corresponding Initiation and Risk sections of the international-scheduled-payment-consent resource. If the two do not match, the ASPSP must not process the request and must respond with a 400 (Bad Request).
Any operations on the international-scheduled-payment resource will not result in a Status change for the international-scheduled-payment resource.
Status
An international-scheduled-payment can only be created if its corresponding international-scheduled-payment-consent resource has the status of "Authorised".
The international-scheduled-payment resource that is created successfully must have one of the following Status codes:
Status |
|---|
InitiationPending |
InitiationFailed |
InitiationCompleted |
GET /international-scheduled-payments/{InternationalScheduledPaymentId}
GET /international-scheduled-payments/{InternationalScheduledPaymentId}A PISP can retrieve the international-scheduled-payment to check its status.
Status
The international-scheduled-payment resource must have one of the following Status codes:
Status |
|---|
InitiationPending |
InitiationFailed |
InitiationCompleted |
State Model
Payment Order Consent
The state model for the international-scheduled-payment-consent resource follows the generic consent state model. However, does not use the "Revoked" status, as the consent for an international-scheduled-payment is not a long-lived consent.
The definitions for the Status:
Status | Status Description | |
|---|---|---|
| 1 | AwaitingAuthorisation | The consent resource is awaiting PSU authorisation. |
| 2 | Rejected | The consent resource has been rejected. |
| 3 | Authorised | The consent resource has been successfully authorised. |
| 4 | Consumed | The consented action has been successfully completed. This does not reflect the status of the consented action. |
Payment Order
The state model for the international-scheduled-payment resource describes the initiation status only. I.e., not the subsequent execution of the international-scheduled-payment.
The definitions for the Status:
Status | Payment Status Description | |
|---|---|---|
| 1 | InitiationPending | The initiation of the payment order is pending. |
| 2 | InitiationFailed | The initiation of the payment order has failed. |
| 3 | InitiationCompleted | The initiation of the payment order is complete. |
Multiple Authorisation
If the payment-order requires multiple authorisations, the Status of the multiple authorisations will be updated in the MultiAuthorisation object.
The definitions for the Status:
Status | Status Description | |
|---|---|---|
| 1 | AwaitingFurtherAuthorisation | The payment-order resource is awaiting further authorisation. |
| 2 | Rejected | The payment-order resource has been rejected by an authoriser. |
| 3 | Authorised | The payment-order resource has been successfully authorised by all required authorisers. |
Data Model
The data dictionary section gives the detail on the payload content for the International Scheduled Payment API flows.
Reused Classes
OBInternationalScheduled2
This section describes the OBInternationalScheduled2 class which is reused as the Initiation object in the international-scheduled-payment-consent and international-scheduled-payment resources.
UML Diagram
Notes
For the OBInternationalScheduled2 Initiation object:
All elements in the Initiation payload, that are specified by the PISP must not be changed via the ASPSP as this is part of formal consent from the PSU.
If the ASPSP is able to establish a problem with payload or any contextual error during the API call, the ASPSP must reject the international-scheduled-payment-consent consent request immediately.
If the ASPSP establishes a problem with the international-scheduled-payment-consent after the API call, the ASPSP must set the Status of the international-scheduled-payment-consent resource to Rejected.
DebtorAccount is optional as the PISP may not know the account identification details for the PSU.
If the DebtorAccount is specified by the PISP and is invalid for the PSU, then the international-scheduled-payment-consent will be set to Rejected after PSU authentication.
CreditorAgent must at least have either of the pairs provided: SchemeName and Identification, or Name and PostalAddress.
Account Identification field usage:
SchemeName is a free-text field which will be populated with identification schemes an ASPSP accepts.
Identification is a field which is populated with the Identification of the account, using the valid identification scheme provided.
Valid UK Account Identification SchemeName values include, but are not restricted to:
"UK.OBIE.SortCodeAccountNumber" - Identification field must be populated with the 6 digit Sort Code and 8 digit Account Number (a 14 digit field).
"UK.OBIE.IBAN" - The Identification field must be populated with the full IBAN.
"UK.OBIE.PAN" - The Identification field must be populated with the full PAN. A PAN may be an instrument (e.g., a debit card) linked to a payment account, and may not be the only PAN linked to the payment account.
"UK.OBIE.Paym" - The Identification field must be populated with the Paym proxy value.
LocalInstrument is the requested payment scheme for execution. This is a free-text field.
InstructionPrioirty may be used by the ASPSP to determine the payment scheme for execution.
The InstructedAmount object must be populated with the desired Amount and Currency of transfer, regardless of the currency of the DebtorAccount. I.e., a PSU may wish to transfer 100EUR from a GBP DebtorAccount (the InstructedAmount will be 100EUR), or 100GBP in EUR (the InstructedAmount will be 100GBP).
The CurrencyOfTransfer must be used to specify the currency the funds will be transferred. I.e., a PSU may wish to transfer 100USD from a GBP DebtorAccount to a Rupee INR CreditorAccount in India.
The ChargeBearer field is used by the PISP to indicate the bearer of charges. An ASPSP must Reject the Initiation request if the requested charge allocation cannot be fulfilled.
Permission field is restricted to "Create" however, may be extended to "Update" and "Delete" in a future iteration of the specification.
RequestedExecutionDateTime allows a PISP to specify the date for an ASPSP to execute the international scheduled payment.
The ExchangeRateInformation object must conform to these behaviours:
A PISP must specify the DebtorAccount currency in the UnitCurrency field if the PISP is requesting a specific RateType so the ASPSP can respond with an exchange rate quote prior to PSU authorisation.
A PISP may indicate an exchange rate request using the RateType with these enumerations:
Actual.
Agreed.
Indicative.
A PISP must specify ExchangeRate and ContractIdentification when requesting an Agreed RateType. If an invalid ContractIdentification and ExchangeRate are requested together, an ASPSP must reject the request.
For an "Agreed" RateType - a requested exchange rate is populated in the ExchangeRate field, against the UnitCurrency. I.e, if the UnitCurrency is GBP and CurrencyOfTransfer is USD, then ExchangeRate will be 1.34 (USD to 1 GBP).
For an "Agreed" RateType - the exchange rate contract identifier is populated in the ContractIdentification field.
A PISP must not specify ExchangeRate and/or ContractIdentification when requesting an Actual RateType.
A PISP must not specify ExchangeRate and/or ContractIdentification when requesting an Indicative RateType.
Data Dictionary
Name | Occurrence | XPath | EnhancedDefinition | Class | Codes | Pattern |
|---|---|---|---|---|---|---|
OBInternationalScheduled2 |
| OBInternationalScheduled2 | The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single scheduled international payment. | OBInternationalScheduled2 |
|
|
InstructionIdentification | 1..1 | OBInternationalScheduled2/InstructionIdentification | Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.
Usage: the instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction. | Max35Text |
|
|
EndToEndIdentification | 0..1 | OBInternationalScheduled2/EndToEndIdentification | Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.
Usage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction. OB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field. | Max35Text |
|