v4.0 Updated Examples
This page contains updated examples found on the specification pages.
The following example replaces the Domestic Payment Consent request payload and addresses the issue with the
Riskelement being nested inData
POST /domestic-payment-consents
Request
{
"Data": {
"ReadRefundAccount": "Yes",
"Initiation": {
"InstructionIdentification": "ACME412",
"EndToEndIdentification": "FRESCO.21302.GFX.20",
"LocalInstrument": "UK.OBIE.Paym",
"InstructedAmount": {
"Amount": "165.88",
"Currency": "GBP"
},
"DebtorAccount": {
"SchemeName": "UK.OBIE.SortCodeAccountNumber",
"Identification": "08080025612489",
"SecondaryIdentification": "080801562314789",
"Name": "Jane Smith",
"Proxy": {
"Identification": "441234012345",
"Code": "TELE",
"Type": "Telephone"
}
},
"CreditorAccount": {
"SchemeName": "UK.OBIE.SortCodeAccountNumber",
"Identification": "08080021325698",
"Name": "ACME Inc",
"SecondaryIdentification": "0002",
"Proxy": {
"Identification": "2360549017905188",
"Code": "TELE",
"Type": "Telephone"
}
},
"CreditorPostalAddress": {
"AddressType": "BIZZ",
"Department": "Finance",
"SubDepartment": "Payroll",
"StreetName": "Bank Street",
"BuildingNumber": "11",
"BuildingName": "Tower Bridges",
"Floor": "6",
"UnitNumber": "UNIT591",
"Room": "844",
"PostBox": "PO Box 123456",
"PostCode": "Z78 4TY",
"TownLocationName": "Bank",
"TownName": "London",
"DistrictName": "Greater London",
"CareOf": "Ms Jane Smith",
"CountrySubDivision": "England",
"Country": "UK"
},
"UltimateDebtor": {
"SchemeName": "UK.OBIE.BICFI",
"Identification": "2360549017905161589",
"Name": "Ultimate Debtor",
"LEI": "8200007YHFDMEODY1965",
"PostalAddress": {
"AddressType": "BIZZ",
"StreetName": "Bank Street",
"BuildingNumber": "11",
"Floor": "6",
"PostCode": "Z78 4TY",
"TownName": "London",
"Country": "UK"
}
},
"CreditorAgent": {
"LEI": "IZ9Q00LZEVUKWCQY6X15",
"SchemeName": "UK.OBIE.BICFI",
"Identification": "80200112344562",
"Name": "The Credit Agent",
"PostalAddress": {
"AddressType": "BIZZ",
"StreetName": "Bank Street",
"BuildingNumber": "11",
"Floor": "6",
"PostCode": "Z78 4TY",
"TownName": "London",
"Country": "UK"
}
},
"UltimateCreditor": {
"SchemeName": "UK.OBIE.BICFI",
"Identification": "2360549017905161589",
"Name": "Ultimate Creditor",
"LEI": "60450004FECVJV7YN339",
"PostalAddress": {
"AddressType": "BIZZ",
"StreetName": "Bank Street",
"BuildingNumber": "11",
"Floor": "6",
"PostCode": "Z78 4TY",
"TownName": "London",
"Country": "UK"
}
},
"RegulatoryReporting": [
{
"DebitCreditReportingIndicator": "CRED",
"Authority": {
"Name": "string",
"CountryCode": "UG"
},
"Details": [
{
"Type": "CRED",
"Date": "2024-04-25T13:26:41.911Z",
"Information": [
"Reg info1",
"Reg info2"
],
"Country": "QG",
"Amount": {
"Amount": "4.68702",
"Currency": "JGM"
}
}
]
}
],
"RemittanceInformation": {
"Structured": [
{
"ReferredDocumentInformation": [
{
"Code": "CINV",
"Issuer": "Issuer01",
"Number": "Number_01",
"RelatedDate": "2024-04-25T13:26:41.911Z",
"LineDetails": [
"LineDetail"
]
}
],
"ReferredDocumentAmount": 1,
"CreditorReferenceInformation": {
"Code": "DISP",
"Issuer": "Issuer01",
"Reference": "REF_26518"
},
"Invoicer": "INVR51856",
"Invoicee": "INVE5161856",
"TaxRemittance": "Tax Remittance related information",
"AdditionalRemittanceInformation": [
"Free text for additional information"
]
}
],
"Unstructured": [
"Internal ops code 5120101"
]
}
},
"Authorisation": {
"AuthorisationType": "Any",
"CompletionDateTime": "2025-05-30T10:35:27Z"
},
"SCASupportData": {
"RequestedSCAExemptionType": "EcommerceGoods",
"AppliedAuthenticationApproach": "SCA",
"ReferencePaymentOrderId": "O-611265"
}
},
"Risk": {
"PaymentContextCode": "EcommerceMerchantInitiatedPayment",
"ContractPresentIndicator": false,
"PaymentPurposeCode": "EPAY",
"CategoryPurposeCode": "CASH",
"BeneficiaryPaymentDetailsPrepopulatedIndicator": false,
"BeneficiaryAccountType": "Business",
"MerchantCategoryCode": "7300",
"MerchantCustomerIdentification": "053598653254",
"DeliveryAddress": {
"AddressLine": [
"Flat 7",
"Acacia Lodge"
],
"StreetName": "Acacia Avenue",
"BuildingNumber": "27",
"PostCode": "GU31 2ZZ",
"TownName": "Sparsholt",
"CountrySubDivision": "Wessex",
"Country": "UK"
}
}
}