Domestic Payments Consents - v3.1.2

  1. Overview
  2. Endpoints
    1. POST /domestic-payment-consents
      1. Status
    2. GET /domestic-payment-consents/{ConsentId}
      1. Status
    3. GET /domestic-payment-consents/{ConsentId}/funds-confirmation
    4. State Model
      1. Payment Order Consent
  3. Data Model
    1. Reused Classes
      1. OBDomestic2
        1. UML Diagram
        2. Notes
        3. Data Dictionary
    2. Domestic Payment Consent - Request
      1. UML Diagram
      2. Notes
      3. Data Dictionary
    3. Domestic Payment Consent - Response
      1. UML Diagram
      2. Notes
      3. Data Dictionary
    4. Domestic Payment Consent Confirmation of Funds - Response
      1. UML Diagram
      2. Notes
      3. Data Dictionary
  4. Usage Examples
    1. POST /domestic-payment-consents
      1. Request
      2. Response
    2. GET /domestic-payment-consents/{ConsentId}
      1. Request
      2. Response

Overview

The Domestic Payments Consent resource is used by a PISP to register an intent to initiate a Domestic Payment.

This resource description should be read in conjunction with a compatible Payment Initiation API Profile.

Endpoints

ResourceHTTP OperationEndpointMandatory ?ScopeGrant TypeMessage SigningIdempotency KeyRequest ObjectResponse Object
domestic-payment-consentsPOSTPOST /domestic-payment-consentsMandatorypaymentsClient CredentialsSigned Request Signed ResponseYesOBWriteDomesticConsent3OBWriteDomesticConsentResponse3
domestic-payment-consentsGETGET /domestic-payment-consents/{ConsentId}MandatorypaymentsClient CredentialsSigned ResponseNoNAOBWriteDomesticConsentResponse3
domestic-payment-consentsGETGET /domestic-payment-consents/{ConsentId}/funds-confirmationMandatorypaymentsAuthorization CodeSigned ResponseNoNAOBWriteFundsConfirmationResponse1

POST /domestic-payment-consents

The API endpoint allows the PISP to ask an ASPSP to create a new domestic-payment-consent resource.

  • The POST action indicates to the ASPSP that a domestic 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 domestic-payment-consent resource and responds with a unique ConsentId to refer to the resource.

Status

The default Status is "AwaitingAuthorisation" immediately after the domestic-payment-consent has been created.

Status
AwaitingAuthorisation

GET /domestic-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 domestic-payment-consent has failed some other ASPSP validation, the Status will be set to "Rejected".

Once a domestic-payment has been successfully created using the domestic-payment-consent, the Status of the domestic-payment-consent will be set to "Consumed".

The available status codes for the domestic-payment-consent resource are:

Status
AwaitingAuthorisation
Rejected
Authorised
Consumed

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

The API endpoint allows the PISP to ask an ASPSP to confirm funds on a domestic-payment-consent resource.

  • An ASPSP can only respond to a funds confirmation request if the domestic-payment-consent resource has an Authorised status. If the status is not Authorised, an ASPSP must respond with a 400 (Bad Request) and a UK.OBIE.Resource.InvalidConsentStatus error code.
  • Confirmation of funds requests do not affect the status of the domestic-payment-consent resource.

State Model

The state model for the domestic-payment-consent resource follows the generic consent state model. However, does not use the Revoked status, as the consent for a domestic-payment is not a long-lived consent.

"Payment Order Consent Status"

The definitions for the Status:

 StatusStatus Description
1AwaitingAuthorisationThe consent resource is awaiting PSU authorisation.
2RejectedThe consent resource has been rejected.
3AuthorisedThe consent resource has been successfully authorised.
4ConsumedThe consented action has been successfully completed. This does not reflect the status of the consented action.

Data Model

The data dictionary section gives the detail on the payload content for the Domestic Payment API flows.

Reused Classes

OBDomestic2

This section describes the OBDomestic2 class which is reused as the Initiation object in the domestic-payment-consent resource.

UML Diagram

OBDomestic2

Notes

For the OBDomestic2 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 domestic-payment-consent request immediately.
  • If the ASPSP establishes a problem with the domestic-payment-consent after the API call, the ASPSP must set the status of the domestic-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 domestic-payment-consent will be set to Rejected after PSU authentication.
  • Account Identification field usage:
    • Where “UK.OBIE.SortCodeAccountNumber” is specified as the SchemeName in the Account identification section (either DebtorAccount or CreditorAccount), the Identification field must be populated with the 6 digit Sort Code and 8 digit Account Number (a 14 digit field).
    • Where the “UK.OBIE.IBAN” is specified as the SchemeName in the Account identification section (either DebtorAccount or CreditorAccount), the Identification field must be populated with the full IBAN.
  • The element Reference has been renamed from CreditorReferenceInformation as this is the unique ISO 20022 element used in pain.001, rather than an ISO 20022 message component.
  • As a merchant may be initiating a payment via a PISP two identifiers are included in the payload:
    • InstructionIdentification is uniquely generated by the PISP. The expectation is that this is unique indefinitely across all time periods. The PISP can ensure that this is indefinitely unique by including a date or date-time element to the field, or by inserting a unique Id.
    • EndToEndIdentification is uniquely generated by the merchant.
  • Neither the InstructionIdentification nor EndToEndIdentification will be used as the domestic-payment-consent resource identifier (ConsentId) as the ConsentId must be uniquely generated by the ASPSP.
  • LocalInstrument is the requested payment scheme for execution. This is a free-text field.
  • Design decisions for the Initiation section of the payload and how this maps to the ISO 20022 messaging standard are articulated in the Mapping to Schemes and Standards section.
Data Dictionary
NameOccurrenceXPathEnhancedDefinitionClassCodesPattern
OBDomestic2 OBDomestic2The 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 domestic payment.OBDomestic2  
InstructionIdentification1..1OBDomestic2/InstructionIdentificationUnique 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  
EndToEndIdentification1..1OBDomestic2/EndToEndIdentificationUnique 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  
LocalInstrument0..1OBDomestic2/LocalInstrumentUser community specific instrument. Usage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level.OBExternalLocalInstrument1Code  
InstructedAmount1..1OBDomestic2/InstructedAmountAmount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party. Usage: This amount has to be transported unchanged through the transaction chain.OBActiveOrHistoricCurrencyAndAmount  
Amount1..1OBDomestic2/InstructedAmount/AmountA number of monetary units specified in an active currency where the unit of currency is explicit and compliant with ISO 4217.OBActiveCurrencyAndAmount_SimpleType ^\d{1,13}.\d{1,5}$
Currency1..1OBDomestic2/InstructedAmount/CurrencyA code allocated to a currency by a Maintenance Agency under an international identification scheme, as described in the latest edition of the international standard ISO 4217 “Codes for the representation of currencies and funds”.ActiveOrHistoricCurrencyCode ^[A-Z]{3,3}$
DebtorAccount0..1OBDomestic2/DebtorAccountUnambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction.OBCashAccountDebtor4  
SchemeName1..1OBDomestic2/DebtorAccount/SchemeNameName of the identification scheme, in a coded form as published in an external list.OBExternalAccountIdentification4Code  
Identification1..1OBDomestic2/DebtorAccount/IdentificationIdentification assigned by an institution to identify an account. This identification is known by the account owner.Max256Text  
Name0..1OBDomestic2/DebtorAccount/NameThe account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP’s online channels. Note, the account name is not the product name or the nickname of the account.Max70Text  
SecondaryIdentification0..1OBDomestic2/DebtorAccount/SecondaryIdentificationThis is secondary identification of the account, as assigned by the account servicing institution. This can be used by building societies to additionally identify accounts with a roll number (in addition to a sort code and account number combination).Max34Text  
CreditorAccount1..1OBDomestic2/CreditorAccountUnambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction.OBCashAccountCreditor3  
SchemeName1..1OBDomestic2/CreditorAccount/SchemeNameName of the identification scheme, in a coded form as published in an external list.OBExternalAccountIdentification4Code  
Identification1..1OBDomestic2/CreditorAccount/IdentificationIdentification assigned by an institution to identify an account. This identification is known by the account owner.Max256Text  
Name1..1OBDomestic2/CreditorAccount/NameThe account name is the name or names of the account owner(s) represented at an account level. Note, the account name is not the product name or the nickname of the account. OB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory.Max70Text  
SecondaryIdentification0..1OBDomestic2/CreditorAccount/SecondaryIdentificationThis is secondary identification of the account, as assigned by the account servicing institution. This can be used by building societies to additionally identify accounts with a roll number (in addition to a sort code and account number combination).Max34Text  
CreditorPostalAddress0..1OBDomestic2/CreditorPostalAddressInformation that locates and identifies a specific address, as defined by postal services.OBPostalAddress6  
AddressType0..1OBDomestic2/CreditorPostalAddress/AddressTypeIdentifies the nature of the postal address.OBAddressTypeCodeBusiness Correspondence DeliveryTo MailTo POBox Postal Residential Statement 
Department0..1OBDomestic2/CreditorPostalAddress/DepartmentIdentification of a division of a large organisation or building.Max70Text  
SubDepartment0..1OBDomestic2/CreditorPostalAddress/SubDepartmentIdentification of a sub-division of a large organisation or building.Max70Text  
StreetName0..1OBDomestic2/CreditorPostalAddress/StreetNameName of a street or thoroughfare.Max70Text  
BuildingNumber0..1OBDomestic2/CreditorPostalAddress/BuildingNumberNumber that identifies the position of a building on a street.Max16Text  
PostCode0..1OBDomestic2/CreditorPostalAddress/PostCodeIdentifier consisting of a group of letters and/or numbers that is added to a postal address to assist the sorting of mail.Max16Text  
TownName0..1OBDomestic2/CreditorPostalAddress/TownNameName of a built-up area, with defined boundaries, and a local government.Max35Text  
CountrySubDivision0..1OBDomestic2/CreditorPostalAddress/CountrySubDivisionIdentifies a subdivision of a country such as state, region, county.Max35Text  
Country0..1OBDomestic2/CreditorPostalAddress/CountryNation with its own government.CountryCode ^[A-Z]{2,2}$
AddressLine0..7OBDomestic2/CreditorPostalAddress/AddressLineInformation that locates and identifies a specific address, as defined by postal services, presented in free format text.Max70Text  
RemittanceInformation0..1OBDomestic2/RemittanceInformationInformation supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts’ receivable system.OBRemittanceInformation1  
Unstructured0..1OBDomestic2/RemittanceInformation/UnstructuredInformation supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts’ receivable system, in an unstructured form.Max140Text  
Reference0..1OBDomestic2/RemittanceInformation/ReferenceUnique reference, as assigned by the creditor, to unambiguously refer to the payment transaction. Usage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money. If the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor’s reference or payment remittance identification should be quoted in the end-to-end transaction identification. OB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped.Max35Text  
SupplementaryData0..1OBDomestic2/SupplementaryDataAdditional information that can not be captured in the structured fields and/or any other specific block.OBSupplementaryData1  

The OBWriteDomesticConsent3 object will be used for the call to:

  • POST /domestic-payment-consents

UML Diagram

OBWriteDomesticConsent3

Notes

The domestic-payment-consent request contains these objects:

  • Initiation
  • Authorisation
  • SCASupportData
  • Risk

Data Dictionary

NameOccurrenceXPathEnhancedDefinitionClassCodesPattern
OBWriteDomesticConsent3OBWriteDomesticConsent3  OBWriteDomesticConsent3  
Data1..1OBWriteDomesticConsent3/Data OBWriteDataDomesticConsent3  
Initiation1..1OBWriteDomesticConsent3/Data/InitiationThe 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 domestic payment.OBDomestic2  
Authorisation0..1OBWriteDomesticConsent3/Data/AuthorisationThe authorisation type request from the TPP.OBAuthorisation1  
SCASupportData0..1OBWriteDomesticConsent3/Data/SCASupportDataSupporting Data provided by TPP, when requesting SCA Exemption.OBSCASupportData1  

The OBWriteDomesticConsentResponse3 object will be used for a response to a call to:

  • POST /domestic-payment-consents
  • GET /domestic-payment-consents/{ConsentId}

UML Diagram

OBWriteDomesticConsentResponse3

Notes

Them domestic-payment-consent response contains the full original payload from the domestic-payment-consent request, with the additional elements below:

  • ConsentId
  • CreationDateTime the domestic-payment-consent resource was created.
  • Status and StatusUpdateDateTime of the domestic-payment-consent resource.
  • CutOffDateTime Behaviour is explained in Payment Initiation API Profile, Section - Payment Restrictions -> CutOffDateTime Behaviour.
  • ExpectedExecutionDateTime for the domestic-payment resource if created before CutOffDateTIme - the expected DateTime the payment is executed against the Debtor Account. If populated, the ASPSP must update the value with any changes (e.g., after PSU authorisation).
  • ExpectedSettlementDateTime for the domestic-payment resource if created before CutOffDateTIme - the expected DateTime the payment will be received at the Creditor Account. If populated, the ASPSP must update the value with any changes (e.g., after PSU authorisation).
  • Charges array for the breakdown of applicable ASPSP charges.

Data Dictionary

NameOccurrenceXPathEnhancedDefinitionClassCodesPattern
OBWriteDomesticConsentResponse3 OBWriteDomesticConsentResponse3 OBWriteDomesticConsentResponse3  
Data1..1OBWriteDomesticConsentResponse3/Data OBWriteDataDomesticConsentResponse3  
ConsentId1..1OBWriteDomesticConsentResponse3/Data/ConsentIdOB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource.Max128Text  
CreationDateTime1..1OBWriteDomesticConsentResponse3/Data/CreationDateTimeDate and time at which the resource was created.ISODateTime  
Status1..1OBWriteDomesticConsentResponse3/Data/StatusSpecifies the status of consent resource in code form.OBExternalConsentStatus1CodeAuthorised AwaitingAuthorisation Consumed Rejected 
StatusUpdateDateTime1..1OBWriteDomesticConsentResponse3/Data/StatusUpdateDateTimeDate and time at which the resource status was updated.ISODateTime  
CutOffDateTime0..1OBWriteDomesticConsentResponse3/Data/CutOffDateTimeSpecified cut-off date and time for the payment consent.ISODateTime  
ExpectedExecutionDateTime0..1OBWriteDomesticConsentResponse3/Data/ExpectedExecutionDateTimeExpected execution date and time for the payment resource.ISODateTime  
ExpectedSettlementDateTime0..1OBWriteDomesticConsentResponse3/Data/ExpectedSettlementDateTimeExpected settlement date and time for the payment resource.ISODateTime  
Charges0..nOBWriteDomesticConsentResponse3/Data/ChargesSet of elements used to provide details of a charge for the payment initiation.OBCharge2  
Initiation1..1OBWriteDomesticConsentResponse3/Data/InitiationThe 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 domestic payment.OBDomestic2  
Authorisation0..1OBWriteDomesticConsentResponse3/Data/AuthorisationThe authorisation type request from the TPP.OBAuthorisation1  
SCASupportData0..1OBWriteDomesticConsentResponse3/Data/SCASupportDataSupporting Data provided by TPP, when requesting SCA Exemption.OBSCASupportData1  
Risk1..1OBWriteDomesticConsentResponse3/RiskThe Risk section is sent by the initiating party to the ASPSP. It is used to specify additional details for risk scoring for Payments.OBRisk1  

The OBWriteFundsConfirmationResponse1 object will be used for a response to a call to:

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

UML Diagram

OBWriteConfirmFundsResponse1

Notes

The confirmation of funds response contains the result of a funds availability check, or SupplementaryData.

Data Dictionary

NameOccurrenceXPathEnhancedDefinitionClassCodesPattern
OBWriteFundsConfirmationResponse1 OBWriteFundsConfirmationResponse1 OBWriteFundsConfirmationResponse1  
Data1..1OBWriteFundsConfirmationResponse1/Data OBWriteDataFundsConfirmationResponse1  
FundsAvailableResult0..1OBWriteFundsConfirmationResponse1/Data/FundsAvailableResultResult of a funds availability check.OBFundsAvailableResult1  
FundsAvailableDateTime1..1OBWriteFundsConfirmationResponse1/Data/FundsAvailableResult/FundsAvailableDateTimeDate and time at which the funds availability check was generated.ISODateTime  
FundsAvailable1..1OBWriteFundsConfirmationResponse1/Data/FundsAvailableResult/FundsAvailableFlag to indicate the availability of funds given the Amount in the consent request.xs:boolean  
SupplementaryData0..1OBWriteFundsConfirmationResponse1/Data/SupplementaryDataAdditional information that can not be captured in the structured fields and/or any other specific block.OBSupplementaryData1  

Usage Examples

Note, further usage examples are available here.

POST /domestic-payment-consents

Request

POST /domestic-payment-consents HTTP/1.1
Authorization: Bearer 2YotnFZFEjr1zCsicMWpAA
x-idempotency-key: FRESCO.21302.GFX.20
x-jws-signature: TGlmZSdzIGEgam91cm5leSBub3QgYSBkZXN0aW5hdGlvbiA=..T2ggZ29vZCBldmVuaW5nIG1yIHR5bGVyIGdvaW5nIGRvd24gPw==
x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT
x-fapi-customer-ip-address: 104.25.212.99
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d
Content-Type: application/json
Accept: application/json
{
  "Data": {
    "Initiation": {
      "InstructionIdentification": "ACME412",
      "EndToEndIdentification": "FRESCO.21302.GFX.20",
      "InstructedAmount": {
        "Amount": "165.88",
        "Currency": "GBP"
      },
      "CreditorAccount": {
        "SchemeName": "UK.OBIE.SortCodeAccountNumber",
        "Identification": "08080021325698",
        "Name": "ACME Inc",
        "SecondaryIdentification": "0002"
      },
      "RemittanceInformation": {
        "Reference": "FRESCO-101",
        "Unstructured": "Internal ops code 5120101"
      }
    }
  },
  "Risk": {
    "PaymentContextCode": "EcommerceGoods",
    "MerchantCategoryCode": "5967",
    "MerchantCustomerIdentification": "053598653254",
    "DeliveryAddress": {
      "AddressLine": [
        "Flat 7",
        "Acacia Lodge"
      ],
      "StreetName": "Acacia Avenue",
      "BuildingNumber": "27",
      "PostCode": "GU31 2ZZ",
      "TownName": "Sparsholt",
      "CountySubDivision": [
        "Wessex"
      ],
      "Country": "UK"
    }
  }
}

Response

HTTP/1.1 201 Created
x-jws-signature: V2hhdCB3ZSBnb3QgaGVyZQ0K..aXMgZmFpbHVyZSB0byBjb21tdW5pY2F0ZQ0K
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d
Content-Type: application/json
{
  "Data": {
    "ConsentId": "58923",
    "Status": "AwaitingAuthorisation",
    "CreationDateTime": "2017-06-05T15:15:13+00:00",
    "StatusUpdateDateTime": "2017-06-05T15:15:13+00:00",
    "Initiation": {
      "InstructionIdentification": "ACME412",
      "EndToEndIdentification": "FRESCO.21302.GFX.20",
      "InstructedAmount": {
        "Amount": "165.88",
        "Currency": "GBP"
      },
      "CreditorAccount": {
        "SchemeName": "UK.OBIE.SortCodeAccountNumber",
        "Identification": "08080021325698",
        "Name": "ACME Inc",
        "SecondaryIdentification": "0002"
      },
      "RemittanceInformation": {
        "Reference": "FRESCO-101",
        "Unstructured": "Internal ops code 5120101"
      }
    }
  },
  "Risk": {
    "PaymentContextCode": "EcommerceGoods",
    "MerchantCategoryCode": "5967",
    "MerchantCustomerIdentification": "053598653254",
    "DeliveryAddress": {
      "AddressLine": [
        "Flat 7",
        "Acacia Lodge"
      ],
      "StreetName": "Acacia Avenue",
      "BuildingNumber": "27",
      "PostCode": "GU31 2ZZ",
      "TownName": "Sparsholt",
      "CountySubDivision": [
        "Wessex"
      ],
      "Country": "UK"
    }
  },
  "Links": {
    "Self": "https://api.alphabank.com/open-banking/v3.1/pisp/domestic-payment-consents/58923"
  },
  "Meta": {}
}

GET /domestic-payment-consents/{ConsentId}

Request

GET /domestic-payment-consents/58923 HTTP/1.1
Authorization: Bearer Jhingapulaav
x-fapi-auth-date: Sun, 10 Sep 2017 19:43:31 GMT
x-fapi-customer-ip-address: 104.25.212.99
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d
Accept: application/json

Response

HTTP/1.1 200 OK
x-jws-signature: V2hhdCB3ZSBnb3QgaGVyZQ0K..aXMgZmFpbHVyZSB0byBjb21tdW5pY2F0ZQ0K
x-fapi-interaction-id: 93bac548-d2de-4546-b106-880a5018460d
Content-Type: application/json
{
  "Data": {
    "ConsentId": "58923",
    "Status": "Authorised",
    "CreationDateTime": "2017-06-05T15:15:13+00:00",
    "StatusUpdateDateTime": "2017-06-05T15:15:22+00:00",
    "Initiation": {
      "InstructionIdentification": "ACME412",
      "EndToEndIdentification": "FRESCO.21302.GFX.20",
      "InstructedAmount": {
        "Amount": "165.88",
        "Currency": "GBP"
      },
      "CreditorAccount": {
        "SchemeName": "UK.OBIE.SortCodeAccountNumber",
        "Identification": "08080021325698",
        "Name": "ACME Inc",
        "SecondaryIdentification": "0002"
      },
      "RemittanceInformation": {
        "Reference": "FRESCO-101",
        "Unstructured": "Internal ops code 5120101"
      }
    }
  },
  "Risk": {
    "PaymentContextCode": "EcommerceGoods",
    "MerchantCategoryCode": "5967",
    "MerchantCustomerIdentification": "053598653254",
    "DeliveryAddress": {
      "AddressLine": [
        "Flat 7",
        "Acacia Lodge"
      ],
      "StreetName": "Acacia Avenue",
      "BuildingNumber": "27",
      "PostCode": "GU31 2ZZ",
      "TownName": "Sparsholt",
      "CountySubDivision": [
        "Wessex"
      ],
      "Country": "UK"
    }
  },
  "Links": {
    "Self": "https://api.alphabank.com/open-banking/v3.1/pisp/domestic-payment-consents/58923"
  },
  "Meta": {}
}