Swagger for PISP Domestic Scheduled Payments API Specification
Paths
/domestic-scheduled-payment-consents
Creates a domestic scheduled payment consents resource.
Creates a Domestic Scheduled Payment Consents.
TPP client credential authorisation flow with the ASPSP
Every request will be processed only once per x-idempotency-key.
The unique id of the ASPSP to which the request is issued. The unique id will be issued by OB.
The time when the PSU last logged in with the TPP. All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: Sun, 10 Sep 2017 19:43:31 UTC
{
"pattern": "^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \\d{2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \\d{4} \\d{2}:\\d{2}:\\d{2} (GMT|UTC)$"
}
An RFC4122 UID used as a correlation ID.
{
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
}
Domestic Scheduled Payment consent POST body
{
"schema": {
"type": "object",
"required": [
"Data",
"Risk"
],
"properties": {
"Data": {
"$ref": "#\/definitions\/DomesticScheduledPaymentConsentData"
},
"Risk": {
"$ref": "#\/definitions\/Risk"
}
}
}
}
A detached JWS signature of the body of the payload.
An Authorisation Token as per https://tools.ietf.org/html/rfc6750
Bad request
Unauthorized
Forbidden
Resource not found
Internal server error
curl --request POST \
--url https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents \
--header 'Authorization: REPLACE_THIS_VALUE' \
--header 'accept: application/json;charset=UTF-8' \
--header 'content-type: application/json;charset=UTF-8' \
--header 'x-fapi-customer-last-logged-time: REPLACE_THIS_VALUE' \
--header 'x-fapi-financial-id: REPLACE_THIS_VALUE' \
--header 'x-fapi-interaction-id: REPLACE_THIS_VALUE' \
--header 'x-idempotency-key: REPLACE_THIS_VALUE' \
--header 'x-jws-signature: REPLACE_THIS_VALUE' \
--data '{"Data":{"Permission":"Create","ReadRefundAccount":"Yes","Initiation":{"InstructionIdentification":"341009779130368","EndToEndIdentification":"7480757618475008","LocalInstrument":"UK:FasterPayments","RequestedExecutionDateTime":"5/24/2067","InstructedAmount":{"Amount":"0671940506","Currency":"GBP"},"DebtorAccount":{"SchemeName":"SortCodeAccountNumber","Identification":"3881187118415872","Name":"Lena Wilkins","SecondaryIdentification":"2964677780832256"},"CreditorAccount":{"SchemeName":"SortCodeAccountNumber","Identification":"268144744595456","Name":"Stephen Joseph","SecondaryIdentification":"8073610409279488"},"CreditorPostalAddress":{"AddressType":"Correspondence","Department":"sonnec","SubDepartment":"wevongerjef","StreetName":"Covhok Street","BuildingNumber":"8689087135350784","PostCode":"T0Y 6J0","TownName":"Marvin Owen","CountrySubDivision":"Sudan","Country":"IZ","AddressLine":["rudenamouhebeinohibsian","dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea","artucpobzufivhuwsituvikmizopodugorekledergotunzadbud"]},"RemittanceInformation":{"Unstructured":"kepmiazerarfibo","Reference":"badupebud"},"SupplementaryData":{"DebitAccountReference":{"Reference":"pavlifadfofco"}}},"Authorisation":{"AuthorisationType":"Single","CompletionDateTime":"2022-05-02T00:40:11.177Z"},"SCASupportData":{"RequestedSCAExemptionType":"EcommerceServices","AppliedAuthenticationApproach":"CA","Refe
curl --request POST \
--url https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents \
--header 'Authorization: REPLACE_THIS_VALUE' \
--header 'accept: application/json;charset=UTF-8' \
--header 'content-type: application/json;charset=UTF-8' \
--header 'x-fapi-customer-last-logged-time: REPLACE_THIS_VALUE' \
--header 'x-fapi-financial-id: REPLACE_THIS_VALUE' \
--header 'x-fapi-interaction-id: REPLACE_THIS_VALUE' \
--header 'x-idempotency-key: REPLACE_THIS_VALUE' \
--header 'x-jws-signature: REPLACE_THIS_VALUE' \
--data '{"Data":{"Permission":"Create","ReadRefundAccount":"Yes","Initiation":{"InstructionIdentification":"341009779130368","EndToEndIdentification":"7480757618475008","LocalInstrument":"UK:FasterPayments","RequestedExecutionDateTime":"5/24/2067","InstructedAmount":{"Amount":"0671940506","Currency":"GBP"},"DebtorAccount":{"SchemeName":"SortCodeAccountNumber","Identification":"3881187118415872","Name":"Lena Wilkins","SecondaryIdentification":"2964677780832256"},"CreditorAccount":{"SchemeName":"SortCodeAccountNumber","Identification":"268144744595456","Name":"Stephen Joseph","SecondaryIdentification":"8073610409279488"},"CreditorPostalAddress":{"AddressType":"Correspondence","Department":"sonnec","SubDepartment":"wevongerjef","StreetName":"Covhok Street","BuildingNumber":"8689087135350784","PostCode":"T0Y 6J0","TownName":"Marvin Owen","CountrySubDivision":"Sudan","Country":"IZ","AddressLine":["rudenamouhebeinohibsian","dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea","artucpobzufivhuwsituvikmizopodugorekledergotunzadbud"]},"RemittanceInformation":{"Unstructured":"kepmiazerarfibo","Reference":"badupebud"},"SupplementaryData":{"DebitAccountReference":{"Reference":"pavlifadfofco"}}},"Authorisation":{"AuthorisationType":"Single","CompletionDateTime":"2022-05-02T00:40:11.177Z"},"SCASupportData":{"RequestedSCAExemptionType":"EcommerceServices","AppliedAuthenticationApproach":"CA","ReferencePaymentOrderId":"8484440273584128"}},"Risk":{"PaymentContextCode":"BillingGoodsAndServicesInArrears","MerchantCategoryCode":"nujamhu","MerchantCustomerIdentification":"3985952890421248","ContractPresentInidicator":true,"BeneficiaryPrepopulatedIndicator":false,"PaymentPurposeCode":"leg","BeneficiaryAccountType":"JointPersonal","DeliveryAddress":{"AddressLine":["cosvaktog"],"StreetName":"Zotfo Circle","BuildingNumber":"8346284777799680","PostCode":"N1O 0Z7","TownName":"Wesley Bryan","CountrySubDivision":"Martinique","Country":"GM"}}}'
x
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'REPLACE_THIS_VALUE'
request["x-idempotency-key"] = 'REPLACE_THIS_VALUE'
request["x-fapi-financial-id"] = 'REPLACE_THIS_VALUE'
request["x-fapi-customer-last-logged-time"] = 'REPLACE_THIS_VALUE'
request["x-fapi-interaction-id"] = 'REPLACE_THIS_VALUE'
request["x-jws-signature"] = 'REPLACE_THIS_VALUE'
request["content-type"] = 'application/json;charset=UTF-8'
request["accept"] = 'application/json;charset=UTF-8'
request.body = "{\"Data\":{\"Permission\":\"Create\",\"ReadRefundAccount\":\"Yes\",\"Initiation\":{\"InstructionIdentification\":\"341009779130368\",\"EndToEndIdentification\":\"7480757618475008\",\"LocalInstrument\":\"UK:FasterPayments\",\"RequestedExecutionDateTime\":\"5/24/2067\",\"InstructedAmount\":{\"Amount\":\"0671940506\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"3881187118415872\",\"Name\":\"Lena Wilkins\",\"SecondaryIdentification\":\"2964677780832256\"},\"CreditorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"268144744595456\",\"Name\":\"Stephen Joseph\",\"SecondaryIdentification\":\"8073610409279488\"},\"CreditorPostalAddress\":{\"AddressType\":\"Correspondence\",\"Department\":\"sonnec\",\"SubDepartment\":\"wevongerjef\",\"StreetName\":\"Covhok Street\",\"BuildingNumber\":\"8689087135350784\",\"PostCode\":\"T0Y 6J0\",\"TownName\":\"Marvin Owen\",\"CountrySubDivision\":\"Sudan\",\"Country\":\"IZ\",\"AddressLine\":[\"rudenamouhebeinohibsian\",\"dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea\",\"artucpobzufivhuwsituvikmizopodugorekledergotunzadbud\"]},\"RemittanceInformation\":{\"Unstructured\":\"kepmiazerarfibo\",\"Ref
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'REPLACE_THIS_VALUE'
request["x-idempotency-key"] = 'REPLACE_THIS_VALUE'
request["x-fapi-financial-id"] = 'REPLACE_THIS_VALUE'
request["x-fapi-customer-last-logged-time"] = 'REPLACE_THIS_VALUE'
request["x-fapi-interaction-id"] = 'REPLACE_THIS_VALUE'
request["x-jws-signature"] = 'REPLACE_THIS_VALUE'
request["content-type"] = 'application/json;charset=UTF-8'
request["accept"] = 'application/json;charset=UTF-8'
request.body = "{\"Data\":{\"Permission\":\"Create\",\"ReadRefundAccount\":\"Yes\",\"Initiation\":{\"InstructionIdentification\":\"341009779130368\",\"EndToEndIdentification\":\"7480757618475008\",\"LocalInstrument\":\"UK:FasterPayments\",\"RequestedExecutionDateTime\":\"5/24/2067\",\"InstructedAmount\":{\"Amount\":\"0671940506\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"3881187118415872\",\"Name\":\"Lena Wilkins\",\"SecondaryIdentification\":\"2964677780832256\"},\"CreditorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"268144744595456\",\"Name\":\"Stephen Joseph\",\"SecondaryIdentification\":\"8073610409279488\"},\"CreditorPostalAddress\":{\"AddressType\":\"Correspondence\",\"Department\":\"sonnec\",\"SubDepartment\":\"wevongerjef\",\"StreetName\":\"Covhok Street\",\"BuildingNumber\":\"8689087135350784\",\"PostCode\":\"T0Y 6J0\",\"TownName\":\"Marvin Owen\",\"CountrySubDivision\":\"Sudan\",\"Country\":\"IZ\",\"AddressLine\":[\"rudenamouhebeinohibsian\",\"dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea\",\"artucpobzufivhuwsituvikmizopodugorekledergotunzadbud\"]},\"RemittanceInformation\":{\"Unstructured\":\"kepmiazerarfibo\",\"Reference\":\"badupebud\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"pavlifadfofco\"}}},\"Authorisation\":{\"AuthorisationType\":\"Single\",\"CompletionDateTime\":\"2022-05-02T00:40:11.177Z\"},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"EcommerceServices\",\"AppliedAuthenticationApproach\":\"CA\",\"ReferencePaymentOrderId\":\"8484440273584128\"}},\"Risk\":{\"PaymentContextCode\":\"BillingGoodsAndServicesInArrears\",\"MerchantCategoryCode\":\"nujamhu\",\"MerchantCustomerIdentification\":\"3985952890421248\",\"ContractPresentInidicator\":true,\"BeneficiaryPrepopulatedIndicator\":false,\"PaymentPurposeCode\":\"leg\",\"BeneficiaryAccountType\":\"JointPersonal\",\"DeliveryAddress\":{\"AddressLine\":[\"cosvaktog\"],\"StreetName\":\"Zotfo Circle\",\"BuildingNumber\":\"8346284777799680\",\"PostCode\":\"N1O 0Z7\",\"TownName\":\"Wesley Bryan\",\"CountrySubDivision\":\"Martinique\",\"Country\":\"GM\"}}}"
response = http.request(request)
puts response.read_body
x
import http.client
conn = http.client.HTTPSConnection("secure-api.lloydsbank.com")
payload = "{\"Data\":{\"Permission\":\"Create\",\"ReadRefundAccount\":\"Yes\",\"Initiation\":{\"InstructionIdentification\":\"341009779130368\",\"EndToEndIdentification\":\"7480757618475008\",\"LocalInstrument\":\"UK:FasterPayments\",\"RequestedExecutionDateTime\":\"5/24/2067\",\"InstructedAmount\":{\"Amount\":\"0671940506\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"3881187118415872\",\"Name\":\"Lena Wilkins\",\"SecondaryIdentification\":\"2964677780832256\"},\"CreditorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"268144744595456\",\"Name\":\"Stephen Joseph\",\"SecondaryIdentification\":\"8073610409279488\"},\"CreditorPostalAddress\":{\"AddressType\":\"Correspondence\",\"Department\":\"sonnec\",\"SubDepartment\":\"wevongerjef\",\"StreetName\":\"Covhok Street\",\"BuildingNumber\":\"8689087135350784\",\"PostCode\":\"T0Y 6J0\",\"TownName\":\"Marvin Owen\",\"CountrySubDivision\":\"Sudan\",\"Country\":\"IZ\",\"AddressLine\":[\"rudenamouhebeinohibsian\",\"dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea\",\"artucpobzufivhuwsituvikmizopodugorekledergotunzadbud\"]},\"RemittanceInformation\":{\"Unstructured\":\"kepmiazerarfibo\",\"Reference\":\"badupebud\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"pavlifadfofco\"}}},\"Authorisation\":{\"AuthorisationType\":\"Single\",\"CompletionDateTime\":\"2022-05-02T00:40:11.177Z\"},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"EcommerceServices\",\"AppliedAuthenticationApproach\":\"CA\",\"ReferencePaymentOrderId\":\"8484440273584128\"}},\"Risk\":{\"PaymentContextCode\":\"BillingGoodsAndServicesInArrears\",\"MerchantCategoryCode\":\"nujamhu\",\"MerchantCustomerIdentification\":\"3985952890421248\",\"ContractPresentInidicator\":true,\"BeneficiaryPrepopulatedIndicator\":false,\"PaymentPurposeCode\":\"leg\",\"BeneficiaryAccountType\"
import http.client
conn = http.client.HTTPSConnection("secure-api.lloydsbank.com")
payload = "{\"Data\":{\"Permission\":\"Create\",\"ReadRefundAccount\":\"Yes\",\"Initiation\":{\"InstructionIdentification\":\"341009779130368\",\"EndToEndIdentification\":\"7480757618475008\",\"LocalInstrument\":\"UK:FasterPayments\",\"RequestedExecutionDateTime\":\"5/24/2067\",\"InstructedAmount\":{\"Amount\":\"0671940506\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"3881187118415872\",\"Name\":\"Lena Wilkins\",\"SecondaryIdentification\":\"2964677780832256\"},\"CreditorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"268144744595456\",\"Name\":\"Stephen Joseph\",\"SecondaryIdentification\":\"8073610409279488\"},\"CreditorPostalAddress\":{\"AddressType\":\"Correspondence\",\"Department\":\"sonnec\",\"SubDepartment\":\"wevongerjef\",\"StreetName\":\"Covhok Street\",\"BuildingNumber\":\"8689087135350784\",\"PostCode\":\"T0Y 6J0\",\"TownName\":\"Marvin Owen\",\"CountrySubDivision\":\"Sudan\",\"Country\":\"IZ\",\"AddressLine\":[\"rudenamouhebeinohibsian\",\"dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea\",\"artucpobzufivhuwsituvikmizopodugorekledergotunzadbud\"]},\"RemittanceInformation\":{\"Unstructured\":\"kepmiazerarfibo\",\"Reference\":\"badupebud\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"pavlifadfofco\"}}},\"Authorisation\":{\"AuthorisationType\":\"Single\",\"CompletionDateTime\":\"2022-05-02T00:40:11.177Z\"},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"EcommerceServices\",\"AppliedAuthenticationApproach\":\"CA\",\"ReferencePaymentOrderId\":\"8484440273584128\"}},\"Risk\":{\"PaymentContextCode\":\"BillingGoodsAndServicesInArrears\",\"MerchantCategoryCode\":\"nujamhu\",\"MerchantCustomerIdentification\":\"3985952890421248\",\"ContractPresentInidicator\":true,\"BeneficiaryPrepopulatedIndicator\":false,\"PaymentPurposeCode\":\"leg\",\"BeneficiaryAccountType\":\"JointPersonal\",\"DeliveryAddress\":{\"AddressLine\":[\"cosvaktog\"],\"StreetName\":\"Zotfo Circle\",\"BuildingNumber\":\"8346284777799680\",\"PostCode\":\"N1O 0Z7\",\"TownName\":\"Wesley Bryan\",\"CountrySubDivision\":\"Martinique\",\"Country\":\"GM\"}}}"
headers = {
'Authorization': "REPLACE_THIS_VALUE",
'x-idempotency-key': "REPLACE_THIS_VALUE",
'x-fapi-financial-id': "REPLACE_THIS_VALUE",
'x-fapi-customer-last-logged-time': "REPLACE_THIS_VALUE",
'x-fapi-interaction-id': "REPLACE_THIS_VALUE",
'x-jws-signature': "REPLACE_THIS_VALUE",
'content-type': "application/json;charset=UTF-8",
'accept': "application/json;charset=UTF-8"
}
conn.request("POST", "/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
x
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "{\"Data\":{\"Permission\":\"Create\",\"ReadRefundAccount\":\"Yes\",\"Initiation\":{\"InstructionIdentification\":\"341009779130368\",\"EndToEndIdentification\":\"7480757618475008\",\"LocalInstrument\":\"UK:FasterPayments\",\"RequestedExecutionDateTime\":\"5/24/2067\",\"InstructedAmount\":{\"Amount\":\"0671940506\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"3881187118415872\",\"Name\":\"Lena Wilkins\",\"SecondaryIdentification\":\"2964677780832256\"},\"CreditorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"268144744595456\",\"Name\":\"Stephen Joseph\",\"SecondaryIdentification\":\"8073610409279488\"},\"CreditorPostalAddress\":{\"AddressType\":\"Correspondence\",\"Department\":\"sonnec\",\"SubDepartment\":\"wevongerjef\",\"StreetName\":\"Covhok Street\",\"BuildingNumber\":\"8689087135350784\",\"PostCode\":\"T0Y 6J0\",\"TownName\":\"Marvin Owen\",\"CountrySubDivision\":\"Sudan\",\"Country\":\"IZ\",\"AddressLine\":[\"rudenamouhebeinohibsian\",\"dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea\",\"artucpobzufivhuwsituvikmizopodugorekledergotunzadbud\"]},\"RemittanceInformation\":{\"Unstructured\":\"kepmiazerarfibo\",\"Reference\":\"badupebud\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"pavlifadfofco\"}}},\"Authorisation\":{\"AuthorisationType\":\"Single\",\"CompletionDateTime\":\"2022-05-02T00:40:11.177Z\"},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"EcommerceServices\",\"AppliedAuthenticationApproach\":\"CA\",\"ReferencePaymentOrderId\":\"848444027
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "{\"Data\":{\"Permission\":\"Create\",\"ReadRefundAccount\":\"Yes\",\"Initiation\":{\"InstructionIdentification\":\"341009779130368\",\"EndToEndIdentification\":\"7480757618475008\",\"LocalInstrument\":\"UK:FasterPayments\",\"RequestedExecutionDateTime\":\"5/24/2067\",\"InstructedAmount\":{\"Amount\":\"0671940506\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"3881187118415872\",\"Name\":\"Lena Wilkins\",\"SecondaryIdentification\":\"2964677780832256\"},\"CreditorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"268144744595456\",\"Name\":\"Stephen Joseph\",\"SecondaryIdentification\":\"8073610409279488\"},\"CreditorPostalAddress\":{\"AddressType\":\"Correspondence\",\"Department\":\"sonnec\",\"SubDepartment\":\"wevongerjef\",\"StreetName\":\"Covhok Street\",\"BuildingNumber\":\"8689087135350784\",\"PostCode\":\"T0Y 6J0\",\"TownName\":\"Marvin Owen\",\"CountrySubDivision\":\"Sudan\",\"Country\":\"IZ\",\"AddressLine\":[\"rudenamouhebeinohibsian\",\"dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea\",\"artucpobzufivhuwsituvikmizopodugorekledergotunzadbud\"]},\"RemittanceInformation\":{\"Unstructured\":\"kepmiazerarfibo\",\"Reference\":\"badupebud\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"pavlifadfofco\"}}},\"Authorisation\":{\"AuthorisationType\":\"Single\",\"CompletionDateTime\":\"2022-05-02T00:40:11.177Z\"},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"EcommerceServices\",\"AppliedAuthenticationApproach\":\"CA\",\"ReferencePaymentOrderId\":\"8484440273584128\"}},\"Risk\":{\"PaymentContextCode\":\"BillingGoodsAndServicesInArrears\",\"MerchantCategoryCode\":\"nujamhu\",\"MerchantCustomerIdentification\":\"3985952890421248\",\"ContractPresentInidicator\":true,\"BeneficiaryPrepopulatedIndicator\":false,\"PaymentPurposeCode\":\"leg\",\"BeneficiaryAccountType\":\"JointPersonal\",\"DeliveryAddress\":{\"AddressLine\":[\"cosvaktog\"],\"StreetName\":\"Zotfo Circle\",\"BuildingNumber\":\"8346284777799680\",\"PostCode\":\"N1O 0Z7\",\"TownName\":\"Wesley Bryan\",\"CountrySubDivision\":\"Martinique\",\"Country\":\"GM\"}}}",
CURLOPT_HTTPHEADER => [
"Authorization: REPLACE_THIS_VALUE",
"accept: application/json;charset=UTF-8",
"content-type: application/json;charset=UTF-8",
"x-fapi-customer-last-logged-time: REPLACE_THIS_VALUE",
"x-fapi-financial-id: REPLACE_THIS_VALUE",
"x-fapi-interaction-id: REPLACE_THIS_VALUE",
"x-idempotency-key: REPLACE_THIS_VALUE",
"x-jws-signature: REPLACE_THIS_VALUE"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
x
OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json;charset=UTF-8");
RequestBody body = RequestBody.create(mediaType, "{\"Data\":{\"Permission\":\"Create\",\"ReadRefundAccount\":\"Yes\",\"Initiation\":{\"InstructionIdentification\":\"341009779130368\",\"EndToEndIdentification\":\"7480757618475008\",\"LocalInstrument\":\"UK:FasterPayments\",\"RequestedExecutionDateTime\":\"5/24/2067\",\"InstructedAmount\":{\"Amount\":\"0671940506\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"3881187118415872\",\"Name\":\"Lena Wilkins\",\"SecondaryIdentification\":\"2964677780832256\"},\"CreditorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"268144744595456\",\"Name\":\"Stephen Joseph\",\"SecondaryIdentification\":\"8073610409279488\"},\"CreditorPostalAddress\":{\"AddressType\":\"Correspondence\",\"Department\":\"sonnec\",\"SubDepartment\":\"wevongerjef\",\"StreetName\":\"Covhok Street\",\"BuildingNumber\":\"8689087135350784\",\"PostCode\":\"T0Y 6J0\",\"TownName\":\"Marvin Owen\",\"CountrySubDivision\":\"Sudan\",\"Country\":\"IZ\",\"AddressLine\":[\"rudenamouhebeinohibsian\",\"dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea\",\"artucpobzufivhuwsituvikmizopodugorekledergotunzadbud\"]},\"RemittanceInformation\":{\"Unstructured\":\"kepmiazerarfibo\",\"Reference\":\"badupebud\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"pavlifadfofco\"}}},\"Authorisation\":{\"AuthorisationType\":\"Single\",\"CompletionDateTime\":\"2022-05-02T00:40:11.177Z\"},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"EcommerceServices\",\"AppliedAuthenticationApproach\":\"CA\",\"ReferencePaymentOrderId\":\"8484440273584128\"}},\"Risk\":{\"PaymentContextCode\":\"BillingGoodsAndServicesInArrears\",\"MerchantCategoryCode\":\"nujamhu\",\"MerchantCustomerIdentification\":\"3985952890421248\",\"ContractPresentInidicator\":true,\"BeneficiaryPrepopulatedIndic
OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json;charset=UTF-8");
RequestBody body = RequestBody.create(mediaType, "{\"Data\":{\"Permission\":\"Create\",\"ReadRefundAccount\":\"Yes\",\"Initiation\":{\"InstructionIdentification\":\"341009779130368\",\"EndToEndIdentification\":\"7480757618475008\",\"LocalInstrument\":\"UK:FasterPayments\",\"RequestedExecutionDateTime\":\"5/24/2067\",\"InstructedAmount\":{\"Amount\":\"0671940506\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"3881187118415872\",\"Name\":\"Lena Wilkins\",\"SecondaryIdentification\":\"2964677780832256\"},\"CreditorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"268144744595456\",\"Name\":\"Stephen Joseph\",\"SecondaryIdentification\":\"8073610409279488\"},\"CreditorPostalAddress\":{\"AddressType\":\"Correspondence\",\"Department\":\"sonnec\",\"SubDepartment\":\"wevongerjef\",\"StreetName\":\"Covhok Street\",\"BuildingNumber\":\"8689087135350784\",\"PostCode\":\"T0Y 6J0\",\"TownName\":\"Marvin Owen\",\"CountrySubDivision\":\"Sudan\",\"Country\":\"IZ\",\"AddressLine\":[\"rudenamouhebeinohibsian\",\"dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea\",\"artucpobzufivhuwsituvikmizopodugorekledergotunzadbud\"]},\"RemittanceInformation\":{\"Unstructured\":\"kepmiazerarfibo\",\"Reference\":\"badupebud\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"pavlifadfofco\"}}},\"Authorisation\":{\"AuthorisationType\":\"Single\",\"CompletionDateTime\":\"2022-05-02T00:40:11.177Z\"},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"EcommerceServices\",\"AppliedAuthenticationApproach\":\"CA\",\"ReferencePaymentOrderId\":\"8484440273584128\"}},\"Risk\":{\"PaymentContextCode\":\"BillingGoodsAndServicesInArrears\",\"MerchantCategoryCode\":\"nujamhu\",\"MerchantCustomerIdentification\":\"3985952890421248\",\"ContractPresentInidicator\":true,\"BeneficiaryPrepopulatedIndicator\":false,\"PaymentPurposeCode\":\"leg\",\"BeneficiaryAccountType\":\"JointPersonal\",\"DeliveryAddress\":{\"AddressLine\":[\"cosvaktog\"],\"StreetName\":\"Zotfo Circle\",\"BuildingNumber\":\"8346284777799680\",\"PostCode\":\"N1O 0Z7\",\"TownName\":\"Wesley Bryan\",\"CountrySubDivision\":\"Martinique\",\"Country\":\"GM\"}}}");
Request request = new Request.Builder()
.url("https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents")
.post(body)
.addHeader("Authorization", "REPLACE_THIS_VALUE")
.addHeader("x-idempotency-key", "REPLACE_THIS_VALUE")
.addHeader("x-fapi-financial-id", "REPLACE_THIS_VALUE")
.addHeader("x-fapi-customer-last-logged-time", "REPLACE_THIS_VALUE")
.addHeader("x-fapi-interaction-id", "REPLACE_THIS_VALUE")
.addHeader("x-jws-signature", "REPLACE_THIS_VALUE")
.addHeader("content-type", "application/json;charset=UTF-8")
.addHeader("accept", "application/json;charset=UTF-8")
.build();
Response response = client.newCall(request).execute();
x
const request = require('request');
const options = {
method: 'POST',
url: 'https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents',
headers: {
Authorization: 'REPLACE_THIS_VALUE',
'x-idempotency-key': 'REPLACE_THIS_VALUE',
'x-fapi-financial-id': 'REPLACE_THIS_VALUE',
'x-fapi-customer-last-logged-time': 'REPLACE_THIS_VALUE',
'x-fapi-interaction-id': 'REPLACE_THIS_VALUE',
'x-jws-signature': 'REPLACE_THIS_VALUE',
'content-type': 'application/json;charset=UTF-8',
accept: 'application/json;charset=UTF-8'
},
body: '{"Data":{"Permission":"Create","ReadRefundAccount":"Yes","Initiation":{"InstructionIdentification":"341009779130368","EndToEndIdentification":"7480757618475008","LocalInstrument":"UK:FasterPayments","RequestedExecutionDateTime":"5/24/2067","InstructedAmount":{"Amount":"0671940506","Currency":"GBP"},"DebtorAccount":{"SchemeName":"SortCodeAccountNumber","Identification":"3881187118415872","Name":"Lena Wilkins","SecondaryIdentification":"2964677780832256"},"CreditorAccount":{"SchemeName":"SortCodeAccountNumber","Identification":"268144744595456","Name":"Stephen Joseph","SecondaryIdentification":"8073610409279488"},"CreditorPostalAddress":{"AddressType":"Correspondence","Department":"sonnec","SubDepartment":"wevongerjef","StreetName":"Covhok Street","BuildingNumber":"8689087135350784","PostCode":"T0Y 6J0","TownName":"Marvin Owen","CountrySubDivision":"Sudan","Country":"IZ","AddressLine":["rudenamouhebeinohibsian","dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea","artucpobzufivhuwsituvikmizopodugorekledergotunzadbud"]},"RemittanceInformation":{"Unstructured":"kepmiazerarfibo","Reference":"badupebud"},"SupplementaryData":{"DebitAccountReference":{"Reference":"pavlifadfofco"}}},"Authorisation":{"AuthorisationType":"Single","CompletionDateTime":"2022-05-02T00:40:11.177Z"},"SCASupportData":{"RequestedSCAExemptionType":"EcommerceServices","AppliedAuthenticationAppro
const request = require('request');
const options = {
method: 'POST',
url: 'https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents',
headers: {
Authorization: 'REPLACE_THIS_VALUE',
'x-idempotency-key': 'REPLACE_THIS_VALUE',
'x-fapi-financial-id': 'REPLACE_THIS_VALUE',
'x-fapi-customer-last-logged-time': 'REPLACE_THIS_VALUE',
'x-fapi-interaction-id': 'REPLACE_THIS_VALUE',
'x-jws-signature': 'REPLACE_THIS_VALUE',
'content-type': 'application/json;charset=UTF-8',
accept: 'application/json;charset=UTF-8'
},
body: '{"Data":{"Permission":"Create","ReadRefundAccount":"Yes","Initiation":{"InstructionIdentification":"341009779130368","EndToEndIdentification":"7480757618475008","LocalInstrument":"UK:FasterPayments","RequestedExecutionDateTime":"5/24/2067","InstructedAmount":{"Amount":"0671940506","Currency":"GBP"},"DebtorAccount":{"SchemeName":"SortCodeAccountNumber","Identification":"3881187118415872","Name":"Lena Wilkins","SecondaryIdentification":"2964677780832256"},"CreditorAccount":{"SchemeName":"SortCodeAccountNumber","Identification":"268144744595456","Name":"Stephen Joseph","SecondaryIdentification":"8073610409279488"},"CreditorPostalAddress":{"AddressType":"Correspondence","Department":"sonnec","SubDepartment":"wevongerjef","StreetName":"Covhok Street","BuildingNumber":"8689087135350784","PostCode":"T0Y 6J0","TownName":"Marvin Owen","CountrySubDivision":"Sudan","Country":"IZ","AddressLine":["rudenamouhebeinohibsian","dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea","artucpobzufivhuwsituvikmizopodugorekledergotunzadbud"]},"RemittanceInformation":{"Unstructured":"kepmiazerarfibo","Reference":"badupebud"},"SupplementaryData":{"DebitAccountReference":{"Reference":"pavlifadfofco"}}},"Authorisation":{"AuthorisationType":"Single","CompletionDateTime":"2022-05-02T00:40:11.177Z"},"SCASupportData":{"RequestedSCAExemptionType":"EcommerceServices","AppliedAuthenticationApproach":"CA","ReferencePaymentOrderId":"8484440273584128"}},"Risk":{"PaymentContextCode":"BillingGoodsAndServicesInArrears","MerchantCategoryCode":"nujamhu","MerchantCustomerIdentification":"3985952890421248","ContractPresentInidicator":true,"BeneficiaryPrepopulatedIndicator":false,"PaymentPurposeCode":"leg","BeneficiaryAccountType":"JointPersonal","DeliveryAddress":{"AddressLine":["cosvaktog"],"StreetName":"Zotfo Circle","BuildingNumber":"8346284777799680","PostCode":"N1O 0Z7","TownName":"Wesley Bryan","CountrySubDivision":"Martinique","Country":"GM"}}}'
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
x
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents"
payload := strings.NewReader("{\"Data\":{\"Permission\":\"Create\",\"ReadRefundAccount\":\"Yes\",\"Initiation\":{\"InstructionIdentification\":\"341009779130368\",\"EndToEndIdentification\":\"7480757618475008\",\"LocalInstrument\":\"UK:FasterPayments\",\"RequestedExecutionDateTime\":\"5/24/2067\",\"InstructedAmount\":{\"Amount\":\"0671940506\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"3881187118415872\",\"Name\":\"Lena Wilkins\",\"SecondaryIdentification\":\"2964677780832256\"},\"CreditorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"268144744595456\",\"Name\":\"Stephen Joseph\",\"SecondaryIdentification\":\"8073610409279488\"},\"CreditorPostalAddress\":{\"AddressType\":\"Correspondence\",\"Department\":\"sonnec\",\"SubDepartment\":\"wevongerjef\",\"StreetName\":\"Covhok Street\",\"BuildingNumber\":\"8689087135350784\",\"PostCode\":\"T0Y 6J0\",\"TownName\":\"Marvin Owen\",\"CountrySubDivision\":\"Sudan\",\"Country\":\"IZ\",\"AddressLine\":[\"rudenamouhebeinohibsian\",\"dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea\",\"artucpobzufivhuwsituvikmizopodugorekledergotunzadbud\"]},\"RemittanceInformation\":{\"Unstructured\":\"kepmiazerarfibo\",\"Reference\":\"badupebud\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"pavlifadfofco\"}}},\"Authorisation\":{\"AuthorisationType\":\"Single\",\"CompletionDateTime\":\"2022-05-02T00:40:11.177Z\"},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"EcommerceServices\",\"AppliedAuthenticationApproach\":\"CA\",\"ReferencePaymentOrderId\":\"8484440273584128\"}},\"Risk\":{\"PaymentContextCode\":\"BillingGoodsAndServicesInArrears\",\"MerchantCategoryCode\":\"nujamhu\",\"MerchantCustomerIdentification\":\"398595289042124
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents"
payload := strings.NewReader("{\"Data\":{\"Permission\":\"Create\",\"ReadRefundAccount\":\"Yes\",\"Initiation\":{\"InstructionIdentification\":\"341009779130368\",\"EndToEndIdentification\":\"7480757618475008\",\"LocalInstrument\":\"UK:FasterPayments\",\"RequestedExecutionDateTime\":\"5/24/2067\",\"InstructedAmount\":{\"Amount\":\"0671940506\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"3881187118415872\",\"Name\":\"Lena Wilkins\",\"SecondaryIdentification\":\"2964677780832256\"},\"CreditorAccount\":{\"SchemeName\":\"SortCodeAccountNumber\",\"Identification\":\"268144744595456\",\"Name\":\"Stephen Joseph\",\"SecondaryIdentification\":\"8073610409279488\"},\"CreditorPostalAddress\":{\"AddressType\":\"Correspondence\",\"Department\":\"sonnec\",\"SubDepartment\":\"wevongerjef\",\"StreetName\":\"Covhok Street\",\"BuildingNumber\":\"8689087135350784\",\"PostCode\":\"T0Y 6J0\",\"TownName\":\"Marvin Owen\",\"CountrySubDivision\":\"Sudan\",\"Country\":\"IZ\",\"AddressLine\":[\"rudenamouhebeinohibsian\",\"dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea\",\"artucpobzufivhuwsituvikmizopodugorekledergotunzadbud\"]},\"RemittanceInformation\":{\"Unstructured\":\"kepmiazerarfibo\",\"Reference\":\"badupebud\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"pavlifadfofco\"}}},\"Authorisation\":{\"AuthorisationType\":\"Single\",\"CompletionDateTime\":\"2022-05-02T00:40:11.177Z\"},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"EcommerceServices\",\"AppliedAuthenticationApproach\":\"CA\",\"ReferencePaymentOrderId\":\"8484440273584128\"}},\"Risk\":{\"PaymentContextCode\":\"BillingGoodsAndServicesInArrears\",\"MerchantCategoryCode\":\"nujamhu\",\"MerchantCustomerIdentification\":\"3985952890421248\",\"ContractPresentInidicator\":true,\"BeneficiaryPrepopulatedIndicator\":false,\"PaymentPurposeCode\":\"leg\",\"BeneficiaryAccountType\":\"JointPersonal\",\"DeliveryAddress\":{\"AddressLine\":[\"cosvaktog\"],\"StreetName\":\"Zotfo Circle\",\"BuildingNumber\":\"8346284777799680\",\"PostCode\":\"N1O 0Z7\",\"TownName\":\"Wesley Bryan\",\"CountrySubDivision\":\"Martinique\",\"Country\":\"GM\"}}}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "REPLACE_THIS_VALUE")
req.Header.Add("x-idempotency-key", "REPLACE_THIS_VALUE")
req.Header.Add("x-fapi-financial-id", "REPLACE_THIS_VALUE")
req.Header.Add("x-fapi-customer-last-logged-time", "REPLACE_THIS_VALUE")
req.Header.Add("x-fapi-interaction-id", "REPLACE_THIS_VALUE")
req.Header.Add("x-jws-signature", "REPLACE_THIS_VALUE")
req.Header.Add("content-type", "application/json;charset=UTF-8")
req.Header.Add("accept", "application/json;charset=UTF-8")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
x
import Foundation
let headers = [
"Authorization": "REPLACE_THIS_VALUE",
"x-idempotency-key": "REPLACE_THIS_VALUE",
"x-fapi-financial-id": "REPLACE_THIS_VALUE",
"x-fapi-customer-last-logged-time": "REPLACE_THIS_VALUE",
"x-fapi-interaction-id": "REPLACE_THIS_VALUE",
"x-jws-signature": "REPLACE_THIS_VALUE",
"content-type": "application/json;charset=UTF-8",
"accept": "application/json;charset=UTF-8"
]
let postData = NSData(data: "{"Data":{"Permission":"Create","ReadRefundAccount":"Yes","Initiation":{"InstructionIdentification":"341009779130368","EndToEndIdentification":"7480757618475008","LocalInstrument":"UK:FasterPayments","RequestedExecutionDateTime":"5/24/2067","InstructedAmount":{"Amount":"0671940506","Currency":"GBP"},"DebtorAccount":{"SchemeName":"SortCodeAccountNumber","Identification":"3881187118415872","Name":"Lena Wilkins","SecondaryIdentification":"2964677780832256"},"CreditorAccount":{"SchemeName":"SortCodeAccountNumber","Identification":"268144744595456","Name":"Stephen Joseph","SecondaryIdentification":"8073610409279488"},"CreditorPostalAddress":{"AddressType":"Correspondence","Department":"sonnec","SubDepartment":"wevongerjef","StreetName":"Covhok Street","BuildingNumber":"8689087135350784","PostCode":"T0Y 6J0","TownName":"Marvin Owen","CountrySubDivision":"Sudan","Country":"IZ","AddressLine":["rudenamouhebeinohibsian","dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea","artucpobzufivhuwsituvikmizopodugorekledergotunzadbud"]},"RemittanceInformation":{"Unstructured":"kepmiazerarfibo","Reference":"badupebud"},"SupplementaryData":{"DebitAccountReference":{"Reference":"pavlifadfofco"}}},"Authorisation":{"AuthorisationType":"Single","CompletionDateTime":"2022-05-02T00:40:11.177Z"},"SCASupportData":{"RequestedSCAExemptionType":"EcommerceServices","AppliedAuthenticationApproach":"CA","ReferencePaymentOrderId":"8484440273584128"}},"Risk":{"PaymentContextCode":"BillingGoodsAndServicesInArrears","MerchantCategoryCode":"nujamhu","MerchantC
import Foundation
let headers = [
"Authorization": "REPLACE_THIS_VALUE",
"x-idempotency-key": "REPLACE_THIS_VALUE",
"x-fapi-financial-id": "REPLACE_THIS_VALUE",
"x-fapi-customer-last-logged-time": "REPLACE_THIS_VALUE",
"x-fapi-interaction-id": "REPLACE_THIS_VALUE",
"x-jws-signature": "REPLACE_THIS_VALUE",
"content-type": "application/json;charset=UTF-8",
"accept": "application/json;charset=UTF-8"
]
let postData = NSData(data: "{"Data":{"Permission":"Create","ReadRefundAccount":"Yes","Initiation":{"InstructionIdentification":"341009779130368","EndToEndIdentification":"7480757618475008","LocalInstrument":"UK:FasterPayments","RequestedExecutionDateTime":"5/24/2067","InstructedAmount":{"Amount":"0671940506","Currency":"GBP"},"DebtorAccount":{"SchemeName":"SortCodeAccountNumber","Identification":"3881187118415872","Name":"Lena Wilkins","SecondaryIdentification":"2964677780832256"},"CreditorAccount":{"SchemeName":"SortCodeAccountNumber","Identification":"268144744595456","Name":"Stephen Joseph","SecondaryIdentification":"8073610409279488"},"CreditorPostalAddress":{"AddressType":"Correspondence","Department":"sonnec","SubDepartment":"wevongerjef","StreetName":"Covhok Street","BuildingNumber":"8689087135350784","PostCode":"T0Y 6J0","TownName":"Marvin Owen","CountrySubDivision":"Sudan","Country":"IZ","AddressLine":["rudenamouhebeinohibsian","dagipizabojiufeminafojagobajpoisezipocpuundiakkofgerewea","artucpobzufivhuwsituvikmizopodugorekledergotunzadbud"]},"RemittanceInformation":{"Unstructured":"kepmiazerarfibo","Reference":"badupebud"},"SupplementaryData":{"DebitAccountReference":{"Reference":"pavlifadfofco"}}},"Authorisation":{"AuthorisationType":"Single","CompletionDateTime":"2022-05-02T00:40:11.177Z"},"SCASupportData":{"RequestedSCAExemptionType":"EcommerceServices","AppliedAuthenticationApproach":"CA","ReferencePaymentOrderId":"8484440273584128"}},"Risk":{"PaymentContextCode":"BillingGoodsAndServicesInArrears","MerchantCategoryCode":"nujamhu","MerchantCustomerIdentification":"3985952890421248","ContractPresentInidicator":true,"BeneficiaryPrepopulatedIndicator":false,"PaymentPurposeCode":"leg","BeneficiaryAccountType":"JointPersonal","DeliveryAddress":{"AddressLine":["cosvaktog"],"StreetName":"Zotfo Circle","BuildingNumber":"8346284777799680","PostCode":"N1O 0Z7","TownName":"Wesley Bryan","CountrySubDivision":"Martinique","Country":"GM"}}}".data(using: String.Encoding.utf8)!)
let request = NSMutableURLRequest(url: NSURL(string: "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
x
{
"Data": {
"ConsentId": "4085779611516928",
"CreationDateTime": "2010-06-04T05:11:50.772Z",
"Status": "Consumed",
"StatusUpdateDateTime": "2016-10-09T17:25:51.626Z",
"Permission": "Create",
"ReadRefundAccount": "No",
"CutOffDateTime": "2001-08-28T05:02:20.936Z",
"ExpectedExecutionDateTime": "2018-06-02T02:10:18.418Z",
"ExpectedSettlementDateTime": "2007-01-25T17:59:35.494Z",
"Charges": [
{
"ChargeBearer": "FollowingServiceLevel",
"Type": "fojeraizetudu",
"Amount": {
"Amount": "57594",
"Currency": "GBP"
}
},
{
"ChargeBearer": "BorneByDebtor",
"Type": "guugihazi",
"Amount": {
"Amount": "0901652888849.8",
"Currency": "GBP"
}
},
{
"ChargeBearer": "FollowingServiceLevel",
"Type": "netiudgubki",
"Amount": {
"Amount": "472",
"Currency": "GBP"
}
}
],
"Ini
{
"Data": {
"ConsentId": "4085779611516928",
"CreationDateTime": "2010-06-04T05:11:50.772Z",
"Status": "Consumed",
"StatusUpdateDateTime": "2016-10-09T17:25:51.626Z",
"Permission": "Create",
"ReadRefundAccount": "No",
"CutOffDateTime": "2001-08-28T05:02:20.936Z",
"ExpectedExecutionDateTime": "2018-06-02T02:10:18.418Z",
"ExpectedSettlementDateTime": "2007-01-25T17:59:35.494Z",
"Charges": [
{
"ChargeBearer": "FollowingServiceLevel",
"Type": "fojeraizetudu",
"Amount": {
"Amount": "57594",
"Currency": "GBP"
}
},
{
"ChargeBearer": "BorneByDebtor",
"Type": "guugihazi",
"Amount": {
"Amount": "0901652888849.8",
"Currency": "GBP"
}
},
{
"ChargeBearer": "FollowingServiceLevel",
"Type": "netiudgubki",
"Amount": {
"Amount": "472",
"Currency": "GBP"
}
}
],
"Initiation": {
"InstructionIdentification": "1479666571411456",
"EndToEndIdentification": "1729684461060096",
"LocalInstrument": "UK:FasterPayments",
"RequestedExecutionDateTime": "2/27/2102",
"InstructedAmount": {
"Amount": "13",
"Currency": "GBP"
},
"DebtorAccount": {
"SchemeName": "IBAN",
"Identification": "279228350201856",
"Name": "Jonathan Black",
"SecondaryIdentification": "3221142605135872"
},
"CreditorAccount": {
"SchemeName": "SortCodeAccountNumber",
"Identification": "7480632556912640",
"Name": "Mark Miller",
"SecondaryIdentification": "2298679876648960"
},
"CreditorPostalAddress": {
"AddressType": "DeliveryTo",
"Department": "jifikufelzuthefu",
"SubDepartment": "idjor",
"StreetName": "Orujet Extension",
"BuildingNumber": "6722398348902400",
"PostCode": "V3Q 6V5",
"TownName": "Katharine Banks",
"CountrySubDivision": "Sierra Leone",
"Country": "XL",
"AddressLine": [
"nawosfipivaphowtevle",
"pivcilovotgegotibinzopvejriw",
"ha",
"acucija",
"rilapilijinsogekuvutsozhu",
"inagicefwaoger",
"kahufgiptoivuja"
]
},
"RemittanceInformation": {
"Unstructured": "naazfazafsec",
"Reference": "ihevibsi"
},
"SupplementaryData": {
"DebitAccountReference": {
"Reference": "vosis"
}
}
},
"Authorisation": {
"AuthorisationType": "Any",
"CompletionDateTime": "2013-03-07T13:53:43.085Z"
},
"SCASupportData": {
"RequestedSCAExemptionType": "ContactlessTravel",
"AppliedAuthenticationApproach": "SCA",
"ReferencePaymentOrderId": "8127388210692096"
},
"Debtor": {
"Name": "Steve Copeland",
"SchemeName": "SortCodeAccountNumber",
"Identification": "1003597626081280",
"SecondaryIdentification": "2436893148971008"
}
},
"Risk": {
"PaymentContextCode": "TransferToSelf",
"MerchantCategoryCode": "suagis",
"MerchantCustomerIdentification": "842369138163712",
"ContractPresentInidicator": true,
"BeneficiaryPrepopulatedIndicator": true,
"PaymentPurposeCode": "poug",
"BeneficiaryAccountType": "Corporate",
"DeliveryAddress": {
"AddressLine": [
"ramfutzasuuniwaledaitibuwke",
"mukkojekk"
],
"StreetName": "Nosgab Plaza",
"BuildingNumber": "1239450170425344",
"PostCode": "R7R 4M9",
"TownName": "Brett Mack",
"CountrySubDivision": "United Arab Emirates",
"Country": "JC"
}
}
}
x
/domestic-scheduled-payment-consents/{ConsentId}
Get a domestic scheduled payment consents.
Get a Domestic Scheduled Payment Consents.
TPP client credential authorisation flow with the ASPSP
A unique identifier used to identify the consent
The unique id of the ASPSP to which the request is issued. The unique id will be issued by OB.
The time when the PSU last logged in with the TPP. All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: Sun, 10 Sep 2017 19:43:31 UTC
{
"pattern": "^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \\d{2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \\d{4} \\d{2}:\\d{2}:\\d{2} (GMT|UTC)$"
}
An RFC4122 UID used as a correlation ID.
{
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
}
An Authorisation Token as per https://tools.ietf.org/html/rfc6750
Unauthorized
Forbidden
Resource not found
Internal server error
curl --request GET \
--url https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents/REPLACE_CONSENTID \
--header 'Authorization: REPLACE_THIS_VALUE' \
--header 'accept: application/json;charset=UTF-8' \
--header 'x-fapi-customer-last-logged-time: REPLACE_THIS_VALUE' \
--header 'x-fapi-financial-id: REPLACE_THIS_VALUE' \
--header 'x-fapi-interaction-id: REPLACE_THIS_VALUE'
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents/REPLACE_CONSENTID")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'REPLACE_THIS_VALUE'
request["x-fapi-financial-id"] = 'REPLACE_THIS_VALUE'
request["x-fapi-customer-last-logged-time"] = 'REPLACE_THIS_VALUE'
request["x-fapi-interaction-id"] = 'REPLACE_THIS_VALUE'
request["accept"] = 'application/json;charset=UTF-8'
response = http.request(request)
puts response.read_body
import http.client
conn = http.client.HTTPSConnection("secure-api.lloydsbank.com")
headers = {
'Authorization': "REPLACE_THIS_VALUE",
'x-fapi-financial-id': "REPLACE_THIS_VALUE",
'x-fapi-customer-last-logged-time': "REPLACE_THIS_VALUE",
'x-fapi-interaction-id': "REPLACE_THIS_VALUE",
'accept': "application/json;charset=UTF-8"
}
conn.request("GET", "/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents/REPLACE_CONSENTID", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents/REPLACE_CONSENTID",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: REPLACE_THIS_VALUE",
"accept: application/json;charset=UTF-8",
"x-fapi-customer-last-logged-time: REPLACE_THIS_VALUE",
"x-fapi-financial-id: REPLACE_THIS_VALUE",
"x-fapi-interaction-id: REPLACE_THIS_VALUE"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents/REPLACE_CONSENTID")
.get()
.addHeader("Authorization", "REPLACE_THIS_VALUE")
.addHeader("x-fapi-financial-id", "REPLACE_THIS_VALUE")
.addHeader("x-fapi-customer-last-logged-time", "REPLACE_THIS_VALUE")
.addHeader("x-fapi-interaction-id", "REPLACE_THIS_VALUE")
.addHeader("accept", "application/json;charset=UTF-8")
.build();
Response response = client.newCall(request).execute();
const request = require('request');
const options = {
method: 'GET',
url: 'https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents/REPLACE_CONSENTID',
headers: {
Authorization: 'REPLACE_THIS_VALUE',
'x-fapi-financial-id': 'REPLACE_THIS_VALUE',
'x-fapi-customer-last-logged-time': 'REPLACE_THIS_VALUE',
'x-fapi-interaction-id': 'REPLACE_THIS_VALUE',
accept: 'application/json;charset=UTF-8'
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents/REPLACE_CONSENTID"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "REPLACE_THIS_VALUE")
req.Header.Add("x-fapi-financial-id", "REPLACE_THIS_VALUE")
req.Header.Add("x-fapi-customer-last-logged-time", "REPLACE_THIS_VALUE")
req.Header.Add("x-fapi-interaction-id", "REPLACE_THIS_VALUE")
req.Header.Add("accept", "application/json;charset=UTF-8")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import Foundation
let headers = [
"Authorization": "REPLACE_THIS_VALUE",
"x-fapi-financial-id": "REPLACE_THIS_VALUE",
"x-fapi-customer-last-logged-time": "REPLACE_THIS_VALUE",
"x-fapi-interaction-id": "REPLACE_THIS_VALUE",
"accept": "application/json;charset=UTF-8"
]
let request = NSMutableURLRequest(url: NSURL(string: "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payment-consents/REPLACE_CONSENTID")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
{
"Data": {
"ConsentId": "8056297094119424",
"CreationDateTime": "2021-09-30T09:44:53.731Z",
"Status": "Authorised",
"StatusUpdateDateTime": "2011-10-30T04:42:28.801Z",
"Permission": "Create",
"ReadRefundAccount": "Yes",
"CutOffDateTime": "2021-01-08T07:38:39.560Z",
"ExpectedExecutionDateTime": "2005-05-13T04:28:22.806Z",
"ExpectedSettlementDateTime": "2003-02-02T06:15:08.997Z",
"Charges": [
{
"ChargeBearer": "BorneByCreditor",
"Type": "lodlituvurluhja",
"Amount": {
"Amount": "37020564757",
"Currency": "GBP"
}
},
{
"ChargeBearer": "Shared",
"Type": "ceihosovuwhewka",
"Amount": {
"Amount": "7022671989.49",
"Currency": "GBP"
}
},
{
"ChargeBearer": "Shared",
"Type": "estofestitkor",
"Amount": {
"Amount": "862576185",
"Currency": "GBP"
}
}
],
"Initiati
{
"Data": {
"ConsentId": "8056297094119424",
"CreationDateTime": "2021-09-30T09:44:53.731Z",
"Status": "Authorised",
"StatusUpdateDateTime": "2011-10-30T04:42:28.801Z",
"Permission": "Create",
"ReadRefundAccount": "Yes",
"CutOffDateTime": "2021-01-08T07:38:39.560Z",
"ExpectedExecutionDateTime": "2005-05-13T04:28:22.806Z",
"ExpectedSettlementDateTime": "2003-02-02T06:15:08.997Z",
"Charges": [
{
"ChargeBearer": "BorneByCreditor",
"Type": "lodlituvurluhja",
"Amount": {
"Amount": "37020564757",
"Currency": "GBP"
}
},
{
"ChargeBearer": "Shared",
"Type": "ceihosovuwhewka",
"Amount": {
"Amount": "7022671989.49",
"Currency": "GBP"
}
},
{
"ChargeBearer": "Shared",
"Type": "estofestitkor",
"Amount": {
"Amount": "862576185",
"Currency": "GBP"
}
}
],
"Initiation": {
"InstructionIdentification": "6296673277968384",
"EndToEndIdentification": "6039896349212672",
"LocalInstrument": "UK:Bacs",
"RequestedExecutionDateTime": "5/26/2032",
"InstructedAmount": {
"Amount": "59374192156.7",
"Currency": "GBP"
},
"DebtorAccount": {
"SchemeName": "BBAN",
"Identification": "8738672780247040",
"Name": "Isabelle Morris",
"SecondaryIdentification": "7169446460260352"
},
"CreditorAccount": {
"SchemeName": "IBAN",
"Identification": "3867082712154112",
"Name": "Johanna Schneider",
"SecondaryIdentification": "1150042297597952"
},
"CreditorPostalAddress": {
"AddressType": "DeliveryTo",
"Department": "idwec",
"SubDepartment": "fevdijizat",
"StreetName": "Porhoz Grove",
"BuildingNumber": "6712808993456128",
"PostCode": "X6A 5T2",
"TownName": "Lloyd Nichols",
"CountrySubDivision": "Czech Republic",
"Country": "JU",
"AddressLine": [
"isdojivzusohamlenjemgufvacadavidawibotuacowozeloleubile",
"sijowkudwufvutzenolefektuhimupfileifasiesjecz"
]
},
"RemittanceInformation": {
"Unstructured": "zaten",
"Reference": "v"
},
"SupplementaryData": {
"DebitAccountReference": {
"Reference": "ejava"
}
}
},
"Authorisation": {
"AuthorisationType": "Any",
"CompletionDateTime": "2005-10-25T09:49:30.360Z"
},
"SCASupportData": {
"RequestedSCAExemptionType": "Kiosk",
"AppliedAuthenticationApproach": "CA",
"ReferencePaymentOrderId": "2422448278470656"
},
"Debtor": {
"Name": "Birdie Kennedy",
"SchemeName": "BBAN",
"Identification": "2859013890899968",
"SecondaryIdentification": "3173676698566656"
}
},
"Risk": {
"PaymentContextCode": "EcommerceGoods",
"MerchantCategoryCode": "vowjecepinuzu",
"MerchantCustomerIdentification": "3088695989108736",
"ContractPresentInidicator": false,
"BeneficiaryPrepopulatedIndicator": false,
"PaymentPurposeCode": "onl",
"BeneficiaryAccountType": "Collection",
"DeliveryAddress": {
"AddressLine": [
"wodeccagu"
],
"StreetName": "Dudewu Place",
"BuildingNumber": "1178690706735104",
"PostCode": "T3K 3F7",
"TownName": "Jeremy Goodwin",
"CountrySubDivision": "Panama",
"Country": "HX"
}
}
}
x
/domestic-scheduled-payments
Creates a domestic scheduled payments resource.
Creates a Domestic Scheduled Payments resource.
OAuth flow, it is required when the PSU needs to perform SCA with the ASPSP when a TPP wants to access an ASPSP resource owned by the PSU. The below example Authorization URL shows the personal channel. For business and commercial specific authorization URLs please refer to the well known endpoint or the Technical Implementation Guide.
Every request will be processed only once per x-idempotency-key.
The unique id of the ASPSP to which the request is issued. The unique id will be issued by OB.
The time when the PSU last logged in with the TPP. All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: Sun, 10 Sep 2017 19:43:31 UTC
{
"pattern": "^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \\d{2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \\d{4} \\d{2}:\\d{2}:\\d{2} (GMT|UTC)$"
}
An RFC4122 UID used as a correlation ID.
{
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
}
Domestic Scheduled Payment POST body
{
"schema": {
"type": "object",
"required": [
"Data",
"Risk"
],
"properties": {
"Data": {
"$ref": "#\/definitions\/DomesticScheduledPaymentData"
},
"Risk": {
"$ref": "#\/definitions\/Risk"
}
}
}
}
A detached JWS signature of the body of the payload.
An Authorisation Token as per https://tools.ietf.org/html/rfc6750
Created
Bad request
Unauthorized
Forbidden
Not found
Internal server error
curl --request POST \
--url https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments \
--header 'Authorization: REPLACE_THIS_VALUE' \
--header 'accept: application/json;charset=UTF-8' \
--header 'content-type: application/json;charset=UTF-8' \
--header 'x-fapi-customer-last-logged-time: REPLACE_THIS_VALUE' \
--header 'x-fapi-financial-id: REPLACE_THIS_VALUE' \
--header 'x-fapi-interaction-id: REPLACE_THIS_VALUE' \
--header 'x-idempotency-key: REPLACE_THIS_VALUE' \
--header 'x-jws-signature: REPLACE_THIS_VALUE' \
--data '{"Data":{"ConsentId":"6535164161163264","Initiation":{"InstructionIdentification":"7558028085690368","EndToEndIdentification":"2900672521437184","LocalInstrument":"UK:CHAPS","RequestedExecutionDateTime":"5/16/2079","InstructedAmount":{"Amount":"084738","Currency":"GBP"},"DebtorAccount":{"SchemeName":"BBAN","Identification":"7036208953688064","Name":"Mathilda Adams","SecondaryIdentification":"4888816561160192"},"CreditorAccount":{"SchemeName":"IBAN","Identification":"4203379496583168","Name":"Owen Pierce","SecondaryIdentification":"1379816085389312"},"CreditorPostalAddress":{"AddressType":"MailTo","Department":"ij","SubDepartment":"ihezozmo","StreetName":"Ruza Way","BuildingNumber":"2167300771807232","PostCode":"H4S 6P2","TownName":"Barbara Wolfe","CountrySubDivision":"Poland","Country":"MA","AddressLine":["bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok"]},"RemittanceInformation":{"Unstructured":"migwijezesogruhp","Reference":"j"},"SupplementaryData":{"DebitAccountReference":{"Reference":"zahelelvoh"}}},"SCASupportData":{"RequestedSCAExemptionType":"ContactlessTravel","AppliedAuthenticationApproach":"SCA","ReferencePaymentOrderId":"1953532139798528"}},"Risk":{"PaymentContextCode":"TransferToSelf","MerchantCategoryCode":"agimiozlogemu","MerchantCustomerIdentification":"6751386721058816","ContractPresentInidicator":false,"BeneficiaryPrepopulatedIndicator":true,"Payme
curl --request POST \
--url https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments \
--header 'Authorization: REPLACE_THIS_VALUE' \
--header 'accept: application/json;charset=UTF-8' \
--header 'content-type: application/json;charset=UTF-8' \
--header 'x-fapi-customer-last-logged-time: REPLACE_THIS_VALUE' \
--header 'x-fapi-financial-id: REPLACE_THIS_VALUE' \
--header 'x-fapi-interaction-id: REPLACE_THIS_VALUE' \
--header 'x-idempotency-key: REPLACE_THIS_VALUE' \
--header 'x-jws-signature: REPLACE_THIS_VALUE' \
--data '{"Data":{"ConsentId":"6535164161163264","Initiation":{"InstructionIdentification":"7558028085690368","EndToEndIdentification":"2900672521437184","LocalInstrument":"UK:CHAPS","RequestedExecutionDateTime":"5/16/2079","InstructedAmount":{"Amount":"084738","Currency":"GBP"},"DebtorAccount":{"SchemeName":"BBAN","Identification":"7036208953688064","Name":"Mathilda Adams","SecondaryIdentification":"4888816561160192"},"CreditorAccount":{"SchemeName":"IBAN","Identification":"4203379496583168","Name":"Owen Pierce","SecondaryIdentification":"1379816085389312"},"CreditorPostalAddress":{"AddressType":"MailTo","Department":"ij","SubDepartment":"ihezozmo","StreetName":"Ruza Way","BuildingNumber":"2167300771807232","PostCode":"H4S 6P2","TownName":"Barbara Wolfe","CountrySubDivision":"Poland","Country":"MA","AddressLine":["bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok"]},"RemittanceInformation":{"Unstructured":"migwijezesogruhp","Reference":"j"},"SupplementaryData":{"DebitAccountReference":{"Reference":"zahelelvoh"}}},"SCASupportData":{"RequestedSCAExemptionType":"ContactlessTravel","AppliedAuthenticationApproach":"SCA","ReferencePaymentOrderId":"1953532139798528"}},"Risk":{"PaymentContextCode":"TransferToSelf","MerchantCategoryCode":"agimiozlogemu","MerchantCustomerIdentification":"6751386721058816","ContractPresentInidicator":false,"BeneficiaryPrepopulatedIndicator":true,"PaymentPurposeCode":"zabo","BeneficiaryAccountType":"ISA","DeliveryAddress":{"AddressLine":["suvivunaneuteizuzit","heriwuthabuveekloanuohmiwekocoisdujapamzigeremhijdeunape"],"StreetName":"Imira Grove","BuildingNumber":"4994185887219712","PostCode":"H2Z 9E5","TownName":"Fanny Moss","CountrySubDivision":"Malawi","Country":"SD"}}}'
x
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'REPLACE_THIS_VALUE'
request["x-idempotency-key"] = 'REPLACE_THIS_VALUE'
request["x-fapi-financial-id"] = 'REPLACE_THIS_VALUE'
request["x-fapi-customer-last-logged-time"] = 'REPLACE_THIS_VALUE'
request["x-fapi-interaction-id"] = 'REPLACE_THIS_VALUE'
request["x-jws-signature"] = 'REPLACE_THIS_VALUE'
request["content-type"] = 'application/json;charset=UTF-8'
request["accept"] = 'application/json;charset=UTF-8'
request.body = "{\"Data\":{\"ConsentId\":\"6535164161163264\",\"Initiation\":{\"InstructionIdentification\":\"7558028085690368\",\"EndToEndIdentification\":\"2900672521437184\",\"LocalInstrument\":\"UK:CHAPS\",\"RequestedExecutionDateTime\":\"5/16/2079\",\"InstructedAmount\":{\"Amount\":\"084738\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"BBAN\",\"Identification\":\"7036208953688064\",\"Name\":\"Mathilda Adams\",\"SecondaryIdentification\":\"4888816561160192\"},\"CreditorAccount\":{\"SchemeName\":\"IBAN\",\"Identification\":\"4203379496583168\",\"Name\":\"Owen Pierce\",\"SecondaryIdentification\":\"1379816085389312\"},\"CreditorPostalAddress\":{\"AddressType\":\"MailTo\",\"Department\":\"ij\",\"SubDepartment\":\"ihezozmo\",\"StreetName\":\"Ruza Way\",\"BuildingNumber\":\"2167300771807232\",\"PostCode\":\"H4S 6P2\",\"TownName\":\"Barbara Wolfe\",\"CountrySubDivision\":\"Poland\",\"Country\":\"MA\",\"AddressLine\":[\"bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok\"]},\"RemittanceInformation\":{\"Unstructured\":\"migwijezesogruhp\",\"Reference\":\"j\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"zahelelvoh\"}}},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"ContactlessT
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'REPLACE_THIS_VALUE'
request["x-idempotency-key"] = 'REPLACE_THIS_VALUE'
request["x-fapi-financial-id"] = 'REPLACE_THIS_VALUE'
request["x-fapi-customer-last-logged-time"] = 'REPLACE_THIS_VALUE'
request["x-fapi-interaction-id"] = 'REPLACE_THIS_VALUE'
request["x-jws-signature"] = 'REPLACE_THIS_VALUE'
request["content-type"] = 'application/json;charset=UTF-8'
request["accept"] = 'application/json;charset=UTF-8'
request.body = "{\"Data\":{\"ConsentId\":\"6535164161163264\",\"Initiation\":{\"InstructionIdentification\":\"7558028085690368\",\"EndToEndIdentification\":\"2900672521437184\",\"LocalInstrument\":\"UK:CHAPS\",\"RequestedExecutionDateTime\":\"5/16/2079\",\"InstructedAmount\":{\"Amount\":\"084738\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"BBAN\",\"Identification\":\"7036208953688064\",\"Name\":\"Mathilda Adams\",\"SecondaryIdentification\":\"4888816561160192\"},\"CreditorAccount\":{\"SchemeName\":\"IBAN\",\"Identification\":\"4203379496583168\",\"Name\":\"Owen Pierce\",\"SecondaryIdentification\":\"1379816085389312\"},\"CreditorPostalAddress\":{\"AddressType\":\"MailTo\",\"Department\":\"ij\",\"SubDepartment\":\"ihezozmo\",\"StreetName\":\"Ruza Way\",\"BuildingNumber\":\"2167300771807232\",\"PostCode\":\"H4S 6P2\",\"TownName\":\"Barbara Wolfe\",\"CountrySubDivision\":\"Poland\",\"Country\":\"MA\",\"AddressLine\":[\"bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok\"]},\"RemittanceInformation\":{\"Unstructured\":\"migwijezesogruhp\",\"Reference\":\"j\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"zahelelvoh\"}}},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"ContactlessTravel\",\"AppliedAuthenticationApproach\":\"SCA\",\"ReferencePaymentOrderId\":\"1953532139798528\"}},\"Risk\":{\"PaymentContextCode\":\"TransferToSelf\",\"MerchantCategoryCode\":\"agimiozlogemu\",\"MerchantCustomerIdentification\":\"6751386721058816\",\"ContractPresentInidicator\":false,\"BeneficiaryPrepopulatedIndicator\":true,\"PaymentPurposeCode\":\"zabo\",\"BeneficiaryAccountType\":\"ISA\",\"DeliveryAddress\":{\"AddressLine\":[\"suvivunaneuteizuzit\",\"heriwuthabuveekloanuohmiwekocoisdujapamzigeremhijdeunape\"],\"StreetName\":\"Imira Grove\",\"BuildingNumber\":\"4994185887219712\",\"PostCode\":\"H2Z 9E5\",\"TownName\":\"Fanny Moss\",\"CountrySubDivision\":\"Malawi\",\"Country\":\"SD\"}}}"
response = http.request(request)
puts response.read_body
x
import http.client
conn = http.client.HTTPSConnection("secure-api.lloydsbank.com")
payload = "{\"Data\":{\"ConsentId\":\"6535164161163264\",\"Initiation\":{\"InstructionIdentification\":\"7558028085690368\",\"EndToEndIdentification\":\"2900672521437184\",\"LocalInstrument\":\"UK:CHAPS\",\"RequestedExecutionDateTime\":\"5/16/2079\",\"InstructedAmount\":{\"Amount\":\"084738\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"BBAN\",\"Identification\":\"7036208953688064\",\"Name\":\"Mathilda Adams\",\"SecondaryIdentification\":\"4888816561160192\"},\"CreditorAccount\":{\"SchemeName\":\"IBAN\",\"Identification\":\"4203379496583168\",\"Name\":\"Owen Pierce\",\"SecondaryIdentification\":\"1379816085389312\"},\"CreditorPostalAddress\":{\"AddressType\":\"MailTo\",\"Department\":\"ij\",\"SubDepartment\":\"ihezozmo\",\"StreetName\":\"Ruza Way\",\"BuildingNumber\":\"2167300771807232\",\"PostCode\":\"H4S 6P2\",\"TownName\":\"Barbara Wolfe\",\"CountrySubDivision\":\"Poland\",\"Country\":\"MA\",\"AddressLine\":[\"bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok\"]},\"RemittanceInformation\":{\"Unstructured\":\"migwijezesogruhp\",\"Reference\":\"j\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"zahelelvoh\"}}},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"ContactlessTravel\",\"AppliedAuthenticationApproach\":\"SCA\",\"ReferencePaymentOrderId\":\"1953532139798528\"}},\"Risk\":{\"PaymentContextCode\":\"TransferToSelf\",\"MerchantCategoryCode\":\"agimiozlogemu\",\"MerchantCustomerIdentification\":\"6751386721058816\",\"ContractPresentInidicator\":false,\"BeneficiaryPrepopulatedIndicator\":true,\"PaymentPurposeCode\":\"zabo\",\"BeneficiaryAccountType\":\"ISA\",\"DeliveryAddress\":{\"AddressLine\":[\"suvivunaneuteizuzit\",\"heriwuthabuveekloanuohmiwekocoisdujapamzigeremhijdeunape\"],\"StreetName\":\"Imira Grove\",\"BuildingNumber\":\"4994185887219712\",\"PostCode\":\"H2Z 9E5\",\"TownName\":\"Fanny Moss\",\"CountrySubDivision\":
import http.client
conn = http.client.HTTPSConnection("secure-api.lloydsbank.com")
payload = "{\"Data\":{\"ConsentId\":\"6535164161163264\",\"Initiation\":{\"InstructionIdentification\":\"7558028085690368\",\"EndToEndIdentification\":\"2900672521437184\",\"LocalInstrument\":\"UK:CHAPS\",\"RequestedExecutionDateTime\":\"5/16/2079\",\"InstructedAmount\":{\"Amount\":\"084738\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"BBAN\",\"Identification\":\"7036208953688064\",\"Name\":\"Mathilda Adams\",\"SecondaryIdentification\":\"4888816561160192\"},\"CreditorAccount\":{\"SchemeName\":\"IBAN\",\"Identification\":\"4203379496583168\",\"Name\":\"Owen Pierce\",\"SecondaryIdentification\":\"1379816085389312\"},\"CreditorPostalAddress\":{\"AddressType\":\"MailTo\",\"Department\":\"ij\",\"SubDepartment\":\"ihezozmo\",\"StreetName\":\"Ruza Way\",\"BuildingNumber\":\"2167300771807232\",\"PostCode\":\"H4S 6P2\",\"TownName\":\"Barbara Wolfe\",\"CountrySubDivision\":\"Poland\",\"Country\":\"MA\",\"AddressLine\":[\"bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok\"]},\"RemittanceInformation\":{\"Unstructured\":\"migwijezesogruhp\",\"Reference\":\"j\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"zahelelvoh\"}}},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"ContactlessTravel\",\"AppliedAuthenticationApproach\":\"SCA\",\"ReferencePaymentOrderId\":\"1953532139798528\"}},\"Risk\":{\"PaymentContextCode\":\"TransferToSelf\",\"MerchantCategoryCode\":\"agimiozlogemu\",\"MerchantCustomerIdentification\":\"6751386721058816\",\"ContractPresentInidicator\":false,\"BeneficiaryPrepopulatedIndicator\":true,\"PaymentPurposeCode\":\"zabo\",\"BeneficiaryAccountType\":\"ISA\",\"DeliveryAddress\":{\"AddressLine\":[\"suvivunaneuteizuzit\",\"heriwuthabuveekloanuohmiwekocoisdujapamzigeremhijdeunape\"],\"StreetName\":\"Imira Grove\",\"BuildingNumber\":\"4994185887219712\",\"PostCode\":\"H2Z 9E5\",\"TownName\":\"Fanny Moss\",\"CountrySubDivision\":\"Malawi\",\"Country\":\"SD\"}}}"
headers = {
'Authorization': "REPLACE_THIS_VALUE",
'x-idempotency-key': "REPLACE_THIS_VALUE",
'x-fapi-financial-id': "REPLACE_THIS_VALUE",
'x-fapi-customer-last-logged-time': "REPLACE_THIS_VALUE",
'x-fapi-interaction-id': "REPLACE_THIS_VALUE",
'x-jws-signature': "REPLACE_THIS_VALUE",
'content-type': "application/json;charset=UTF-8",
'accept': "application/json;charset=UTF-8"
}
conn.request("POST", "/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
x
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "{\"Data\":{\"ConsentId\":\"6535164161163264\",\"Initiation\":{\"InstructionIdentification\":\"7558028085690368\",\"EndToEndIdentification\":\"2900672521437184\",\"LocalInstrument\":\"UK:CHAPS\",\"RequestedExecutionDateTime\":\"5/16/2079\",\"InstructedAmount\":{\"Amount\":\"084738\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"BBAN\",\"Identification\":\"7036208953688064\",\"Name\":\"Mathilda Adams\",\"SecondaryIdentification\":\"4888816561160192\"},\"CreditorAccount\":{\"SchemeName\":\"IBAN\",\"Identification\":\"4203379496583168\",\"Name\":\"Owen Pierce\",\"SecondaryIdentification\":\"1379816085389312\"},\"CreditorPostalAddress\":{\"AddressType\":\"MailTo\",\"Department\":\"ij\",\"SubDepartment\":\"ihezozmo\",\"StreetName\":\"Ruza Way\",\"BuildingNumber\":\"2167300771807232\",\"PostCode\":\"H4S 6P2\",\"TownName\":\"Barbara Wolfe\",\"CountrySubDivision\":\"Poland\",\"Country\":\"MA\",\"AddressLine\":[\"bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok\"]},\"RemittanceInformation\":{\"Unstructured\":\"migwijezesogruhp\",\"Reference\":\"j\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"zahelelvoh\"}}},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"ContactlessTravel\",\"AppliedAuthenticationApproach\":\"SCA\",\"ReferencePaymentOrderId\":\"1953532139798528\"}},\"Risk\":{\"PaymentContextCode\":\"TransferToSelf\",\"MerchantCategoryCode\":\"agimiozlogemu\",\"MerchantCustomerIdentification\":\"6751386721058816\",\"ContractPresentInidicator\":false,\"BeneficiaryPrepopulatedIndicator\":true,\"PaymentPurposeCode\":\"zabo\",\"Be
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "{\"Data\":{\"ConsentId\":\"6535164161163264\",\"Initiation\":{\"InstructionIdentification\":\"7558028085690368\",\"EndToEndIdentification\":\"2900672521437184\",\"LocalInstrument\":\"UK:CHAPS\",\"RequestedExecutionDateTime\":\"5/16/2079\",\"InstructedAmount\":{\"Amount\":\"084738\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"BBAN\",\"Identification\":\"7036208953688064\",\"Name\":\"Mathilda Adams\",\"SecondaryIdentification\":\"4888816561160192\"},\"CreditorAccount\":{\"SchemeName\":\"IBAN\",\"Identification\":\"4203379496583168\",\"Name\":\"Owen Pierce\",\"SecondaryIdentification\":\"1379816085389312\"},\"CreditorPostalAddress\":{\"AddressType\":\"MailTo\",\"Department\":\"ij\",\"SubDepartment\":\"ihezozmo\",\"StreetName\":\"Ruza Way\",\"BuildingNumber\":\"2167300771807232\",\"PostCode\":\"H4S 6P2\",\"TownName\":\"Barbara Wolfe\",\"CountrySubDivision\":\"Poland\",\"Country\":\"MA\",\"AddressLine\":[\"bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok\"]},\"RemittanceInformation\":{\"Unstructured\":\"migwijezesogruhp\",\"Reference\":\"j\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"zahelelvoh\"}}},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"ContactlessTravel\",\"AppliedAuthenticationApproach\":\"SCA\",\"ReferencePaymentOrderId\":\"1953532139798528\"}},\"Risk\":{\"PaymentContextCode\":\"TransferToSelf\",\"MerchantCategoryCode\":\"agimiozlogemu\",\"MerchantCustomerIdentification\":\"6751386721058816\",\"ContractPresentInidicator\":false,\"BeneficiaryPrepopulatedIndicator\":true,\"PaymentPurposeCode\":\"zabo\",\"BeneficiaryAccountType\":\"ISA\",\"DeliveryAddress\":{\"AddressLine\":[\"suvivunaneuteizuzit\",\"heriwuthabuveekloanuohmiwekocoisdujapamzigeremhijdeunape\"],\"StreetName\":\"Imira Grove\",\"BuildingNumber\":\"4994185887219712\",\"PostCode\":\"H2Z 9E5\",\"TownName\":\"Fanny Moss\",\"CountrySubDivision\":\"Malawi\",\"Country\":\"SD\"}}}",
CURLOPT_HTTPHEADER => [
"Authorization: REPLACE_THIS_VALUE",
"accept: application/json;charset=UTF-8",
"content-type: application/json;charset=UTF-8",
"x-fapi-customer-last-logged-time: REPLACE_THIS_VALUE",
"x-fapi-financial-id: REPLACE_THIS_VALUE",
"x-fapi-interaction-id: REPLACE_THIS_VALUE",
"x-idempotency-key: REPLACE_THIS_VALUE",
"x-jws-signature: REPLACE_THIS_VALUE"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
x
OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json;charset=UTF-8");
RequestBody body = RequestBody.create(mediaType, "{\"Data\":{\"ConsentId\":\"6535164161163264\",\"Initiation\":{\"InstructionIdentification\":\"7558028085690368\",\"EndToEndIdentification\":\"2900672521437184\",\"LocalInstrument\":\"UK:CHAPS\",\"RequestedExecutionDateTime\":\"5/16/2079\",\"InstructedAmount\":{\"Amount\":\"084738\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"BBAN\",\"Identification\":\"7036208953688064\",\"Name\":\"Mathilda Adams\",\"SecondaryIdentification\":\"4888816561160192\"},\"CreditorAccount\":{\"SchemeName\":\"IBAN\",\"Identification\":\"4203379496583168\",\"Name\":\"Owen Pierce\",\"SecondaryIdentification\":\"1379816085389312\"},\"CreditorPostalAddress\":{\"AddressType\":\"MailTo\",\"Department\":\"ij\",\"SubDepartment\":\"ihezozmo\",\"StreetName\":\"Ruza Way\",\"BuildingNumber\":\"2167300771807232\",\"PostCode\":\"H4S 6P2\",\"TownName\":\"Barbara Wolfe\",\"CountrySubDivision\":\"Poland\",\"Country\":\"MA\",\"AddressLine\":[\"bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok\"]},\"RemittanceInformation\":{\"Unstructured\":\"migwijezesogruhp\",\"Reference\":\"j\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"zahelelvoh\"}}},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"ContactlessTravel\",\"AppliedAuthenticationApproach\":\"SCA\",\"ReferencePaymentOrderId\":\"1953532139798528\"}},\"Risk\":{\"PaymentContextCode\":\"TransferToSelf\",\"MerchantCategoryCode\":\"agimiozlogemu\",\"MerchantCustomerIdentification\":\"6751386721058816\",\"ContractPresentInidicator\":false,\"BeneficiaryPrepopulatedIndicator\":true,\"PaymentPurposeCode\":\"zabo\",\"BeneficiaryAccountType\":\"ISA\",\"DeliveryAddress\":{\"AddressLine\":[\"suvivunaneuteizuzit\",\"heriwuthabuveekloanuohmiwekocoisdujapamzigeremhijdeunape\"],\"StreetName\":\"Imira Grove\",\"BuildingNumber\":\"4994185887219712\",\"Post
OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json;charset=UTF-8");
RequestBody body = RequestBody.create(mediaType, "{\"Data\":{\"ConsentId\":\"6535164161163264\",\"Initiation\":{\"InstructionIdentification\":\"7558028085690368\",\"EndToEndIdentification\":\"2900672521437184\",\"LocalInstrument\":\"UK:CHAPS\",\"RequestedExecutionDateTime\":\"5/16/2079\",\"InstructedAmount\":{\"Amount\":\"084738\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"BBAN\",\"Identification\":\"7036208953688064\",\"Name\":\"Mathilda Adams\",\"SecondaryIdentification\":\"4888816561160192\"},\"CreditorAccount\":{\"SchemeName\":\"IBAN\",\"Identification\":\"4203379496583168\",\"Name\":\"Owen Pierce\",\"SecondaryIdentification\":\"1379816085389312\"},\"CreditorPostalAddress\":{\"AddressType\":\"MailTo\",\"Department\":\"ij\",\"SubDepartment\":\"ihezozmo\",\"StreetName\":\"Ruza Way\",\"BuildingNumber\":\"2167300771807232\",\"PostCode\":\"H4S 6P2\",\"TownName\":\"Barbara Wolfe\",\"CountrySubDivision\":\"Poland\",\"Country\":\"MA\",\"AddressLine\":[\"bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok\"]},\"RemittanceInformation\":{\"Unstructured\":\"migwijezesogruhp\",\"Reference\":\"j\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"zahelelvoh\"}}},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"ContactlessTravel\",\"AppliedAuthenticationApproach\":\"SCA\",\"ReferencePaymentOrderId\":\"1953532139798528\"}},\"Risk\":{\"PaymentContextCode\":\"TransferToSelf\",\"MerchantCategoryCode\":\"agimiozlogemu\",\"MerchantCustomerIdentification\":\"6751386721058816\",\"ContractPresentInidicator\":false,\"BeneficiaryPrepopulatedIndicator\":true,\"PaymentPurposeCode\":\"zabo\",\"BeneficiaryAccountType\":\"ISA\",\"DeliveryAddress\":{\"AddressLine\":[\"suvivunaneuteizuzit\",\"heriwuthabuveekloanuohmiwekocoisdujapamzigeremhijdeunape\"],\"StreetName\":\"Imira Grove\",\"BuildingNumber\":\"4994185887219712\",\"PostCode\":\"H2Z 9E5\",\"TownName\":\"Fanny Moss\",\"CountrySubDivision\":\"Malawi\",\"Country\":\"SD\"}}}");
Request request = new Request.Builder()
.url("https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments")
.post(body)
.addHeader("Authorization", "REPLACE_THIS_VALUE")
.addHeader("x-idempotency-key", "REPLACE_THIS_VALUE")
.addHeader("x-fapi-financial-id", "REPLACE_THIS_VALUE")
.addHeader("x-fapi-customer-last-logged-time", "REPLACE_THIS_VALUE")
.addHeader("x-fapi-interaction-id", "REPLACE_THIS_VALUE")
.addHeader("x-jws-signature", "REPLACE_THIS_VALUE")
.addHeader("content-type", "application/json;charset=UTF-8")
.addHeader("accept", "application/json;charset=UTF-8")
.build();
Response response = client.newCall(request).execute();
x
const request = require('request');
const options = {
method: 'POST',
url: 'https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments',
headers: {
Authorization: 'REPLACE_THIS_VALUE',
'x-idempotency-key': 'REPLACE_THIS_VALUE',
'x-fapi-financial-id': 'REPLACE_THIS_VALUE',
'x-fapi-customer-last-logged-time': 'REPLACE_THIS_VALUE',
'x-fapi-interaction-id': 'REPLACE_THIS_VALUE',
'x-jws-signature': 'REPLACE_THIS_VALUE',
'content-type': 'application/json;charset=UTF-8',
accept: 'application/json;charset=UTF-8'
},
body: '{"Data":{"ConsentId":"6535164161163264","Initiation":{"InstructionIdentification":"7558028085690368","EndToEndIdentification":"2900672521437184","LocalInstrument":"UK:CHAPS","RequestedExecutionDateTime":"5/16/2079","InstructedAmount":{"Amount":"084738","Currency":"GBP"},"DebtorAccount":{"SchemeName":"BBAN","Identification":"7036208953688064","Name":"Mathilda Adams","SecondaryIdentification":"4888816561160192"},"CreditorAccount":{"SchemeName":"IBAN","Identification":"4203379496583168","Name":"Owen Pierce","SecondaryIdentification":"1379816085389312"},"CreditorPostalAddress":{"AddressType":"MailTo","Department":"ij","SubDepartment":"ihezozmo","StreetName":"Ruza Way","BuildingNumber":"2167300771807232","PostCode":"H4S 6P2","TownName":"Barbara Wolfe","CountrySubDivision":"Poland","Country":"MA","AddressLine":["bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok"]},"RemittanceInformation":{"Unstructured":"migwijezesogruhp","Reference":"j"},"SupplementaryData":{"DebitAccountReference":{"Reference":"zahelelvoh"}}},"SCASupportData":{"RequestedSCAExemptionType":"ContactlessTravel","AppliedAuthenticationApproach":"SCA","ReferencePaymentOrderId":"1953532139798528"}},"Risk":{"PaymentContextCode":"TransferToSelf","MerchantCategoryCode":"agimiozlogemu","MerchantCustomerIdentification":"6751386721058816","ContractPresentInidicator":false,"BeneficiaryPrepopulatedIndicat
const request = require('request');
const options = {
method: 'POST',
url: 'https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments',
headers: {
Authorization: 'REPLACE_THIS_VALUE',
'x-idempotency-key': 'REPLACE_THIS_VALUE',
'x-fapi-financial-id': 'REPLACE_THIS_VALUE',
'x-fapi-customer-last-logged-time': 'REPLACE_THIS_VALUE',
'x-fapi-interaction-id': 'REPLACE_THIS_VALUE',
'x-jws-signature': 'REPLACE_THIS_VALUE',
'content-type': 'application/json;charset=UTF-8',
accept: 'application/json;charset=UTF-8'
},
body: '{"Data":{"ConsentId":"6535164161163264","Initiation":{"InstructionIdentification":"7558028085690368","EndToEndIdentification":"2900672521437184","LocalInstrument":"UK:CHAPS","RequestedExecutionDateTime":"5/16/2079","InstructedAmount":{"Amount":"084738","Currency":"GBP"},"DebtorAccount":{"SchemeName":"BBAN","Identification":"7036208953688064","Name":"Mathilda Adams","SecondaryIdentification":"4888816561160192"},"CreditorAccount":{"SchemeName":"IBAN","Identification":"4203379496583168","Name":"Owen Pierce","SecondaryIdentification":"1379816085389312"},"CreditorPostalAddress":{"AddressType":"MailTo","Department":"ij","SubDepartment":"ihezozmo","StreetName":"Ruza Way","BuildingNumber":"2167300771807232","PostCode":"H4S 6P2","TownName":"Barbara Wolfe","CountrySubDivision":"Poland","Country":"MA","AddressLine":["bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok"]},"RemittanceInformation":{"Unstructured":"migwijezesogruhp","Reference":"j"},"SupplementaryData":{"DebitAccountReference":{"Reference":"zahelelvoh"}}},"SCASupportData":{"RequestedSCAExemptionType":"ContactlessTravel","AppliedAuthenticationApproach":"SCA","ReferencePaymentOrderId":"1953532139798528"}},"Risk":{"PaymentContextCode":"TransferToSelf","MerchantCategoryCode":"agimiozlogemu","MerchantCustomerIdentification":"6751386721058816","ContractPresentInidicator":false,"BeneficiaryPrepopulatedIndicator":true,"PaymentPurposeCode":"zabo","BeneficiaryAccountType":"ISA","DeliveryAddress":{"AddressLine":["suvivunaneuteizuzit","heriwuthabuveekloanuohmiwekocoisdujapamzigeremhijdeunape"],"StreetName":"Imira Grove","BuildingNumber":"4994185887219712","PostCode":"H2Z 9E5","TownName":"Fanny Moss","CountrySubDivision":"Malawi","Country":"SD"}}}'
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
x
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments"
payload := strings.NewReader("{\"Data\":{\"ConsentId\":\"6535164161163264\",\"Initiation\":{\"InstructionIdentification\":\"7558028085690368\",\"EndToEndIdentification\":\"2900672521437184\",\"LocalInstrument\":\"UK:CHAPS\",\"RequestedExecutionDateTime\":\"5/16/2079\",\"InstructedAmount\":{\"Amount\":\"084738\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"BBAN\",\"Identification\":\"7036208953688064\",\"Name\":\"Mathilda Adams\",\"SecondaryIdentification\":\"4888816561160192\"},\"CreditorAccount\":{\"SchemeName\":\"IBAN\",\"Identification\":\"4203379496583168\",\"Name\":\"Owen Pierce\",\"SecondaryIdentification\":\"1379816085389312\"},\"CreditorPostalAddress\":{\"AddressType\":\"MailTo\",\"Department\":\"ij\",\"SubDepartment\":\"ihezozmo\",\"StreetName\":\"Ruza Way\",\"BuildingNumber\":\"2167300771807232\",\"PostCode\":\"H4S 6P2\",\"TownName\":\"Barbara Wolfe\",\"CountrySubDivision\":\"Poland\",\"Country\":\"MA\",\"AddressLine\":[\"bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok\"]},\"RemittanceInformation\":{\"Unstructured\":\"migwijezesogruhp\",\"Reference\":\"j\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"zahelelvoh\"}}},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"ContactlessTravel\",\"AppliedAuthenticationApproach\":\"SCA\",\"ReferencePaymentOrderId\":\"1953532139798528\"}},\"Risk\":{\"PaymentContextCode\":\"TransferToSelf\",\"MerchantCategoryCode\":\"agimiozlogemu\",\"MerchantCustomerIdentification\":\"6751386721058816\",\"ContractPresentInidicator\":false,\"BeneficiaryPrepopulatedIndicator\":true,\"PaymentPurposeCode\":\"zabo\",\"BeneficiaryAccountType\":\"ISA\",\"DeliveryAddress\":{\"AddressLine\":[\"suvivunaneuteizuzit\",\"heriwuthabuveekloanuohmiwekocoisdujapamzigeremhijdeunape\"],\"StreetName\":\
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments"
payload := strings.NewReader("{\"Data\":{\"ConsentId\":\"6535164161163264\",\"Initiation\":{\"InstructionIdentification\":\"7558028085690368\",\"EndToEndIdentification\":\"2900672521437184\",\"LocalInstrument\":\"UK:CHAPS\",\"RequestedExecutionDateTime\":\"5/16/2079\",\"InstructedAmount\":{\"Amount\":\"084738\",\"Currency\":\"GBP\"},\"DebtorAccount\":{\"SchemeName\":\"BBAN\",\"Identification\":\"7036208953688064\",\"Name\":\"Mathilda Adams\",\"SecondaryIdentification\":\"4888816561160192\"},\"CreditorAccount\":{\"SchemeName\":\"IBAN\",\"Identification\":\"4203379496583168\",\"Name\":\"Owen Pierce\",\"SecondaryIdentification\":\"1379816085389312\"},\"CreditorPostalAddress\":{\"AddressType\":\"MailTo\",\"Department\":\"ij\",\"SubDepartment\":\"ihezozmo\",\"StreetName\":\"Ruza Way\",\"BuildingNumber\":\"2167300771807232\",\"PostCode\":\"H4S 6P2\",\"TownName\":\"Barbara Wolfe\",\"CountrySubDivision\":\"Poland\",\"Country\":\"MA\",\"AddressLine\":[\"bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok\"]},\"RemittanceInformation\":{\"Unstructured\":\"migwijezesogruhp\",\"Reference\":\"j\"},\"SupplementaryData\":{\"DebitAccountReference\":{\"Reference\":\"zahelelvoh\"}}},\"SCASupportData\":{\"RequestedSCAExemptionType\":\"ContactlessTravel\",\"AppliedAuthenticationApproach\":\"SCA\",\"ReferencePaymentOrderId\":\"1953532139798528\"}},\"Risk\":{\"PaymentContextCode\":\"TransferToSelf\",\"MerchantCategoryCode\":\"agimiozlogemu\",\"MerchantCustomerIdentification\":\"6751386721058816\",\"ContractPresentInidicator\":false,\"BeneficiaryPrepopulatedIndicator\":true,\"PaymentPurposeCode\":\"zabo\",\"BeneficiaryAccountType\":\"ISA\",\"DeliveryAddress\":{\"AddressLine\":[\"suvivunaneuteizuzit\",\"heriwuthabuveekloanuohmiwekocoisdujapamzigeremhijdeunape\"],\"StreetName\":\"Imira Grove\",\"BuildingNumber\":\"4994185887219712\",\"PostCode\":\"H2Z 9E5\",\"TownName\":\"Fanny Moss\",\"CountrySubDivision\":\"Malawi\",\"Country\":\"SD\"}}}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "REPLACE_THIS_VALUE")
req.Header.Add("x-idempotency-key", "REPLACE_THIS_VALUE")
req.Header.Add("x-fapi-financial-id", "REPLACE_THIS_VALUE")
req.Header.Add("x-fapi-customer-last-logged-time", "REPLACE_THIS_VALUE")
req.Header.Add("x-fapi-interaction-id", "REPLACE_THIS_VALUE")
req.Header.Add("x-jws-signature", "REPLACE_THIS_VALUE")
req.Header.Add("content-type", "application/json;charset=UTF-8")
req.Header.Add("accept", "application/json;charset=UTF-8")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
x
import Foundation
let headers = [
"Authorization": "REPLACE_THIS_VALUE",
"x-idempotency-key": "REPLACE_THIS_VALUE",
"x-fapi-financial-id": "REPLACE_THIS_VALUE",
"x-fapi-customer-last-logged-time": "REPLACE_THIS_VALUE",
"x-fapi-interaction-id": "REPLACE_THIS_VALUE",
"x-jws-signature": "REPLACE_THIS_VALUE",
"content-type": "application/json;charset=UTF-8",
"accept": "application/json;charset=UTF-8"
]
let postData = NSData(data: "{"Data":{"ConsentId":"6535164161163264","Initiation":{"InstructionIdentification":"7558028085690368","EndToEndIdentification":"2900672521437184","LocalInstrument":"UK:CHAPS","RequestedExecutionDateTime":"5/16/2079","InstructedAmount":{"Amount":"084738","Currency":"GBP"},"DebtorAccount":{"SchemeName":"BBAN","Identification":"7036208953688064","Name":"Mathilda Adams","SecondaryIdentification":"4888816561160192"},"CreditorAccount":{"SchemeName":"IBAN","Identification":"4203379496583168","Name":"Owen Pierce","SecondaryIdentification":"1379816085389312"},"CreditorPostalAddress":{"AddressType":"MailTo","Department":"ij","SubDepartment":"ihezozmo","StreetName":"Ruza Way","BuildingNumber":"2167300771807232","PostCode":"H4S 6P2","TownName":"Barbara Wolfe","CountrySubDivision":"Poland","Country":"MA","AddressLine":["bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok"]},"RemittanceInformation":{"Unstructured":"migwijezesogruhp","Reference":"j"},"SupplementaryData":{"DebitAccountReference":{"Reference":"zahelelvoh"}}},"SCASupportData":{"RequestedSCAExemptionType":"ContactlessTravel","AppliedAuthenticationApproach":"SCA","ReferencePaymentOrderId":"1953532139798528"}},"Risk":{"PaymentContextCode":"TransferToSelf","MerchantCategoryCode":"agimiozlogemu","MerchantCustomerIdentification":"6751386721058816","ContractPresentInidicator":false,"BeneficiaryPrepopulatedIndicator":true,"PaymentPurposeCode":"zabo","BeneficiaryAccountType":"ISA","DeliveryAddress":{"AddressLine":["suvivunaneuteizuzit","heriwuthabuveekloanuohmiwekocoi
import Foundation
let headers = [
"Authorization": "REPLACE_THIS_VALUE",
"x-idempotency-key": "REPLACE_THIS_VALUE",
"x-fapi-financial-id": "REPLACE_THIS_VALUE",
"x-fapi-customer-last-logged-time": "REPLACE_THIS_VALUE",
"x-fapi-interaction-id": "REPLACE_THIS_VALUE",
"x-jws-signature": "REPLACE_THIS_VALUE",
"content-type": "application/json;charset=UTF-8",
"accept": "application/json;charset=UTF-8"
]
let postData = NSData(data: "{"Data":{"ConsentId":"6535164161163264","Initiation":{"InstructionIdentification":"7558028085690368","EndToEndIdentification":"2900672521437184","LocalInstrument":"UK:CHAPS","RequestedExecutionDateTime":"5/16/2079","InstructedAmount":{"Amount":"084738","Currency":"GBP"},"DebtorAccount":{"SchemeName":"BBAN","Identification":"7036208953688064","Name":"Mathilda Adams","SecondaryIdentification":"4888816561160192"},"CreditorAccount":{"SchemeName":"IBAN","Identification":"4203379496583168","Name":"Owen Pierce","SecondaryIdentification":"1379816085389312"},"CreditorPostalAddress":{"AddressType":"MailTo","Department":"ij","SubDepartment":"ihezozmo","StreetName":"Ruza Way","BuildingNumber":"2167300771807232","PostCode":"H4S 6P2","TownName":"Barbara Wolfe","CountrySubDivision":"Poland","Country":"MA","AddressLine":["bazofokjareebuowkiesabovufehornoesipakujzopbujterkipihladujivuwawekwok"]},"RemittanceInformation":{"Unstructured":"migwijezesogruhp","Reference":"j"},"SupplementaryData":{"DebitAccountReference":{"Reference":"zahelelvoh"}}},"SCASupportData":{"RequestedSCAExemptionType":"ContactlessTravel","AppliedAuthenticationApproach":"SCA","ReferencePaymentOrderId":"1953532139798528"}},"Risk":{"PaymentContextCode":"TransferToSelf","MerchantCategoryCode":"agimiozlogemu","MerchantCustomerIdentification":"6751386721058816","ContractPresentInidicator":false,"BeneficiaryPrepopulatedIndicator":true,"PaymentPurposeCode":"zabo","BeneficiaryAccountType":"ISA","DeliveryAddress":{"AddressLine":["suvivunaneuteizuzit","heriwuthabuveekloanuohmiwekocoisdujapamzigeremhijdeunape"],"StreetName":"Imira Grove","BuildingNumber":"4994185887219712","PostCode":"H2Z 9E5","TownName":"Fanny Moss","CountrySubDivision":"Malawi","Country":"SD"}}}".data(using: String.Encoding.utf8)!)
let request = NSMutableURLRequest(url: NSURL(string: "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
x
{
"Data": {
"DomesticScheduledPaymentId": "6351874286419968",
"CreationDateTime": "2015-06-12T18:51:31.817Z",
"Status": "Rejected",
"StatusUpdateDateTime": "2014-01-05T01:55:02.661Z",
"CutOffDateTime": "2015-12-22T02:05:52.181Z",
"Refund": {
"Account": {
"SchemeName": "Callie Cohen",
"Identification": "2721058234826752",
"Name": "Frank Mendez",
"SecondaryIdentification": "478150179946496"
}
},
"Charges": [
{
"ChargeBearer": "BorneByDebtor",
"Type": "buhusrukmoram",
"Amount": {
"Amount": "6",
"Currency": "GBP"
}
},
{
"ChargeBearer": "FollowingServiceLevel",
"Type": "zuvvafi",
"Amount": {
"Amount": "16706849",
"Currency": "GBP"
}
},
{
"ChargeBearer": "BorneByCreditor",
"Type": "apcavaodow",
"Amount": {
"Amount": "763",
"Currency": "GBP"
{
"Data": {
"DomesticScheduledPaymentId": "6351874286419968",
"CreationDateTime": "2015-06-12T18:51:31.817Z",
"Status": "Rejected",
"StatusUpdateDateTime": "2014-01-05T01:55:02.661Z",
"CutOffDateTime": "2015-12-22T02:05:52.181Z",
"Refund": {
"Account": {
"SchemeName": "Callie Cohen",
"Identification": "2721058234826752",
"Name": "Frank Mendez",
"SecondaryIdentification": "478150179946496"
}
},
"Charges": [
{
"ChargeBearer": "BorneByDebtor",
"Type": "buhusrukmoram",
"Amount": {
"Amount": "6",
"Currency": "GBP"
}
},
{
"ChargeBearer": "FollowingServiceLevel",
"Type": "zuvvafi",
"Amount": {
"Amount": "16706849",
"Currency": "GBP"
}
},
{
"ChargeBearer": "BorneByCreditor",
"Type": "apcavaodow",
"Amount": {
"Amount": "763",
"Currency": "GBP"
}
}
],
"Initiation": {
"InstructionIdentification": "3770121707323392",
"EndToEndIdentification": "8045977709576192",
"LocalInstrument": "UK:FasterPayments",
"RequestedExecutionDateTime": "6/19/2083",
"InstructedAmount": {
"Amount": "59705184.20",
"Currency": "GBP"
},
"DebtorAccount": {
"SchemeName": "SortCodeAccountNumber",
"Identification": "4169430435102720",
"Name": "Linnie Cook",
"SecondaryIdentification": "8324800307003392"
},
"CreditorAccount": {
"SchemeName": "IBAN",
"Identification": "2815237050859520",
"Name": "Alvin Johnston",
"SecondaryIdentification": "3612200442789888"
},
"CreditorPostalAddress": {
"AddressType": "Business",
"Department": "enawiwhivinoot",
"SubDepartment": "kujuhuesw",
"StreetName": "Diwav Court",
"BuildingNumber": "7880490906288128",
"PostCode": "S7I 7B9",
"TownName": "Eric Vasquez",
"CountrySubDivision": "Finland",
"Country": "XH",
"AddressLine": [
"lisnawenahamovopacurpiko",
"hehamtapodasvebudaw",
"hanawuvuosukilkegurozebhahafgopaiduiroatibitwezojocumopacebwatutene"
]
},
"RemittanceInformation": {
"Unstructured": "histe",
"Reference": "libi"
},
"SupplementaryData": {
"DebitAccountReference": {
"Reference": "anlogolem"
}
}
},
"Debtor": {
"Name": "Samuel Gray",
"SchemeName": "SortCodeAccountNumber",
"Identification": "1759881470148608",
"SecondaryIdentification": "113993301622784"
},
"SCASupportData": {
"RequestedSCAExemptionType": "Parking",
"AppliedAuthenticationApproach": "CA",
"ReferencePaymentOrderId": "751637855469568"
}
},
"Risk": {
"PaymentContextCode": "PartyToParty",
"MerchantCategoryCode": "dusceguv",
"MerchantCustomerIdentification": "8056583724466176",
"ContractPresentInidicator": false,
"BeneficiaryPrepopulatedIndicator": true,
"PaymentPurposeCode": "sivw",
"BeneficiaryAccountType": "Charity",
"DeliveryAddress": {
"AddressLine": [
"haafriiptevowaficowosvufnusahfigovdatisluhurerje",
"zusattitecsopijoepicakukzaehiawkuhisufolihartugi"
],
"StreetName": "Oloak View",
"BuildingNumber": "1110133228699648",
"PostCode": "N4X 4G2",
"TownName": "Eugenia Watts",
"CountrySubDivision": "Norway",
"Country": "RP"
}
}
}
x
/domestic-scheduled-payments/{DomesticScheduledPaymentId}
Get a domestic scheduled payment.
Get a Domestic Scheduled Payment.
TPP client credential authorisation flow with the ASPSP
A unique identifier used to identify the domestic scheduled payment.
The unique id of the ASPSP to which the request is issued. The unique id will be issued by OB.
The time when the PSU last logged in with the TPP. All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: Sun, 10 Sep 2017 19:43:31 UTC
{
"pattern": "^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \\d{2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \\d{4} \\d{2}:\\d{2}:\\d{2} (GMT|UTC)$"
}
An RFC4122 UID used as a correlation ID.
{
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
}
An Authorisation Token as per https://tools.ietf.org/html/rfc6750
Bad request
Unauthorized
Forbidden
Not found
Internal server error
curl --request GET \
--url https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments/REPLACE_DOMESTICSCHEDULEDPAYMENTID \
--header 'Authorization: REPLACE_THIS_VALUE' \
--header 'accept: application/json;charset=UTF-8' \
--header 'x-fapi-customer-last-logged-time: REPLACE_THIS_VALUE' \
--header 'x-fapi-financial-id: REPLACE_THIS_VALUE' \
--header 'x-fapi-interaction-id: REPLACE_THIS_VALUE'
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments/REPLACE_DOMESTICSCHEDULEDPAYMENTID")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'REPLACE_THIS_VALUE'
request["x-fapi-financial-id"] = 'REPLACE_THIS_VALUE'
request["x-fapi-customer-last-logged-time"] = 'REPLACE_THIS_VALUE'
request["x-fapi-interaction-id"] = 'REPLACE_THIS_VALUE'
request["accept"] = 'application/json;charset=UTF-8'
response = http.request(request)
puts response.read_body
import http.client
conn = http.client.HTTPSConnection("secure-api.lloydsbank.com")
headers = {
'Authorization': "REPLACE_THIS_VALUE",
'x-fapi-financial-id': "REPLACE_THIS_VALUE",
'x-fapi-customer-last-logged-time': "REPLACE_THIS_VALUE",
'x-fapi-interaction-id': "REPLACE_THIS_VALUE",
'accept': "application/json;charset=UTF-8"
}
conn.request("GET", "/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments/REPLACE_DOMESTICSCHEDULEDPAYMENTID", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments/REPLACE_DOMESTICSCHEDULEDPAYMENTID",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: REPLACE_THIS_VALUE",
"accept: application/json;charset=UTF-8",
"x-fapi-customer-last-logged-time: REPLACE_THIS_VALUE",
"x-fapi-financial-id: REPLACE_THIS_VALUE",
"x-fapi-interaction-id: REPLACE_THIS_VALUE"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments/REPLACE_DOMESTICSCHEDULEDPAYMENTID")
.get()
.addHeader("Authorization", "REPLACE_THIS_VALUE")
.addHeader("x-fapi-financial-id", "REPLACE_THIS_VALUE")
.addHeader("x-fapi-customer-last-logged-time", "REPLACE_THIS_VALUE")
.addHeader("x-fapi-interaction-id", "REPLACE_THIS_VALUE")
.addHeader("accept", "application/json;charset=UTF-8")
.build();
Response response = client.newCall(request).execute();
const request = require('request');
const options = {
method: 'GET',
url: 'https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments/REPLACE_DOMESTICSCHEDULEDPAYMENTID',
headers: {
Authorization: 'REPLACE_THIS_VALUE',
'x-fapi-financial-id': 'REPLACE_THIS_VALUE',
'x-fapi-customer-last-logged-time': 'REPLACE_THIS_VALUE',
'x-fapi-interaction-id': 'REPLACE_THIS_VALUE',
accept: 'application/json;charset=UTF-8'
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments/REPLACE_DOMESTICSCHEDULEDPAYMENTID"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "REPLACE_THIS_VALUE")
req.Header.Add("x-fapi-financial-id", "REPLACE_THIS_VALUE")
req.Header.Add("x-fapi-customer-last-logged-time", "REPLACE_THIS_VALUE")
req.Header.Add("x-fapi-interaction-id", "REPLACE_THIS_VALUE")
req.Header.Add("accept", "application/json;charset=UTF-8")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import Foundation
let headers = [
"Authorization": "REPLACE_THIS_VALUE",
"x-fapi-financial-id": "REPLACE_THIS_VALUE",
"x-fapi-customer-last-logged-time": "REPLACE_THIS_VALUE",
"x-fapi-interaction-id": "REPLACE_THIS_VALUE",
"accept": "application/json;charset=UTF-8"
]
let request = NSMutableURLRequest(url: NSURL(string: "https://secure-api.lloydsbank.com/prod01/lbg/lyds/open-banking/v3.1/pisp/domestic-scheduled-payments/REPLACE_DOMESTICSCHEDULEDPAYMENTID")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
{
"Data": {
"DomesticScheduledPaymentId": "7246511322693632",
"CreationDateTime": "2010-01-15T22:39:20.865Z",
"Status": "Consumed",
"StatusUpdateDateTime": "2017-08-06T00:34:10.936Z",
"CutOffDateTime": "2006-06-28T19:57:15.670Z",
"Refund": {
"Account": {
"SchemeName": "Ina Rowe",
"Identification": "424428737396736",
"Name": "Craig Maxwell",
"SecondaryIdentification": "4420238173011968"
}
},
"Charges": [
{
"ChargeBearer": "Shared",
"Type": "iwzurketfus",
"Amount": {
"Amount": "325186",
"Currency": "GBP"
}
},
{
"ChargeBearer": "FollowingServiceLevel",
"Type": "abno",
"Amount": {
"Amount": "582450537",
"Currency": "GBP"
}
},
{
"ChargeBearer": "BorneByDebtor",
"Type": "lecvet",
"Amount": {
"Amount": "318921749627.02",
"Currency": "GBP"
{
"Data": {
"DomesticScheduledPaymentId": "7246511322693632",
"CreationDateTime": "2010-01-15T22:39:20.865Z",
"Status": "Consumed",
"StatusUpdateDateTime": "2017-08-06T00:34:10.936Z",
"CutOffDateTime": "2006-06-28T19:57:15.670Z",
"Refund": {
"Account": {
"SchemeName": "Ina Rowe",
"Identification": "424428737396736",
"Name": "Craig Maxwell",
"SecondaryIdentification": "4420238173011968"
}
},
"Charges": [
{
"ChargeBearer": "Shared",
"Type": "iwzurketfus",
"Amount": {
"Amount": "325186",
"Currency": "GBP"
}
},
{
"ChargeBearer": "FollowingServiceLevel",
"Type": "abno",
"Amount": {
"Amount": "582450537",
"Currency": "GBP"
}
},
{
"ChargeBearer": "BorneByDebtor",
"Type": "lecvet",
"Amount": {
"Amount": "318921749627.02",
"Currency": "GBP"
}
}
],
"Initiation": {
"InstructionIdentification": "7321850969325568",
"EndToEndIdentification": "5737481500622848",
"LocalInstrument": "UK:CHAPS",
"RequestedExecutionDateTime": "5/7/2035",
"InstructedAmount": {
"Amount": "3920.58",
"Currency": "GBP"
},
"DebtorAccount": {
"SchemeName": "IBAN",
"Identification": "4982116781654016",
"Name": "Gabriel Reed",
"SecondaryIdentification": "5424037278777344"
},
"CreditorAccount": {
"SchemeName": "IBAN",
"Identification": "7096862077091840",
"Name": "Lida Fowler",
"SecondaryIdentification": "534597246910464"
},
"CreditorPostalAddress": {
"AddressType": "Business",
"Department": "focozurwiwgeh",
"SubDepartment": "g",
"StreetName": "Dahnu Way",
"BuildingNumber": "859502641414144",
"PostCode": "M9T 3Z0",
"TownName": "Jay Robertson",
"CountrySubDivision": "Djibouti",
"Country": "ZR",
"AddressLine": [
"bezdivfocuwnuhloziehcubetusagfefmillenadtihogcakubbaotlasidage",
"fadekezepewbomhovohpussukcosoclidceemuledozlivubohiwib",
"fago",
"lukwekohkevatonrop",
"heehmaubo",
"ajravfafabamfududerug"
]
},
"RemittanceInformation": {
"Unstructured": "wakiketawim",
"Reference": "duacevibakevepus"
},
"SupplementaryData": {
"DebitAccountReference": {
"Reference": "nasutivmuupno"
}
}
},
"Debtor": {
"Name": "Jason Herrera",
"SchemeName": "IBAN",
"Identification": "8612658649497600",
"SecondaryIdentification": "7509680941170688"
},
"SCASupportData": {
"RequestedSCAExemptionType": "ContactlessTravel",
"AppliedAuthenticationApproach": "CA",
"ReferencePaymentOrderId": "991408680861696"
}
},
"Risk": {
"PaymentContextCode": "BillingGoodsAndServicesInArrears",
"MerchantCategoryCode": "kighusu",
"MerchantCustomerIdentification": "8205864376729600",
"ContractPresentInidicator": true,
"BeneficiaryPrepopulatedIndicator": false,
"PaymentPurposeCode": "oso",
"BeneficiaryAccountType": "PersonalSavingsAccount",
"DeliveryAddress": {
"AddressLine": [
"jenekahoogadisjugijtemetpikweocezufofdobevehfadu",
"ollijvarovejacoopvutgoujlibocuteezufeucatuzpe"
],
"StreetName": "Mugo Drive",
"BuildingNumber": "6020680218836992",
"PostCode": "G9H 5H6",
"TownName": "Derrick Casey",
"CountrySubDivision": "Luxembourg",
"Country": "YA"
}
}
}
x
Definitions
Supporting Data provided by TPP, when requesting SCA Exemption.
{
"type": "object",
"additionalProperties": false,
"properties": {
"RequestedSCAExemptionType": {
"description": "This field allows a PISP to request specific SCA Exemption for a Payment Initiation",
"type": "string",
"enum": [
"BillPayment",
"ContactlessTravel",
"EcommerceGoods",
"EcommerceServices",
"Kiosk",
"Parking",
"PartyToParty"
]
},
"AppliedAuthenticationApproach": {
"description": "Specifies a character string with a maximum length of 40 characters.\nUsage: This field indicates whether the PSU was subject to SCA performed by the TPP",
"type": "string",
"enum": [
"CA",
"SCA"
]
},
"ReferencePaymentOrderId": {
"description": "Specifies a character string with a maximum length of 140 characters.\nUsage: If the payment is recurring then the transaction identifier of the previous payment occurrence so that the ASPSP can verify that the PISP, amount and the payee are the same as the previous occurrence.",
"type": "string",
"minLength": 1,
"maxLength": 40
}
}
}
{
"type": "object",
"required": [
"Data",
"Risk"
],
"properties": {
"Data": {
"$ref": "#/definitions/DomesticScheduledPaymentData"
},
"Risk": {
"$ref": "#/definitions/Risk"
}
}
}
{
"type": "object",
"required": [
"ConsentId",
"Initiation"
],
"properties": {
"ConsentId": {
"$ref": "#/definitions/ConsentId"
},
"Initiation": {
"$ref": "#/definitions/Initiation"
},
"SCASupportData": {
"type": "object",
"additionalProperties": false,
"description": "Supporting Data provided by TPP, when requesting SCA Exemption.",
"properties": {
"RequestedSCAExemptionType": {
"description": "This field allows a PISP to request specific SCA Exemption for a Payment Initiation",
"type": "string",
"enum": [
"BillPayment",
"ContactlessTravel",
"EcommerceGoods",
"EcommerceServices",
"Kiosk",
"Parking",
"PartyToParty"
]
},
"AppliedAuthenticationApproach": {
"description": "Specifies a character string with a maximum length of 40 characters.\nUsage: This field indicates whether the PSU was subject to SCA performed by the TPP",
"type": "string",
"maxLength": 40,
"enum": [
"CA",
"SCA"
]
},
"ReferencePaymentOrderId": {
"description": "Specifies a character string with a maximum length of 140 characters.\nUsage: If the payment is recurring then the transaction identifier of the previous payment occurrence so that the ASPSP can verify that the PISP, amount and the payee are the same as the previous occurrence.",
"type": "string",
"minLength": 1,
"maxLength": 40
}
}
}
}
}
{
"type": "object",
"required": [
"Data",
"Risk"
],
"properties": {
"Data": {
"$ref": "#/definitions/DomesticScheduledPaymentConsentData"
},
"Risk": {
"$ref": "#/definitions/Risk"
}
}
}
{
"type": "object",
"required": [
"Permission",
"Initiation"
],
"properties": {
"Permission": {
"$ref": "#/definitions/Permission"
},
"ReadRefundAccount": {
"description": "Specifies to share the refund account details with PISP",
"type": "string",
"enum": [
"No",
"Yes"
]
},
"Initiation": {
"$ref": "#/definitions/Initiation"
},
"Authorisation": {
"$ref": "#/definitions/Authorisation"
},
"SCASupportData": {
"$ref": "#/definitions/SCASupportDataResDef"
}
}
}
{
"type": "object",
"required": [
"Data",
"Risk"
],
"properties": {
"Data": {
"$ref": "#/definitions/DomesticScheduledPaymentResponseData"
},
"Risk": {
"$ref": "#/definitions/Risk"
}
}
}
{
"type": "object",
"required": [
"DomesticScheduledPaymentId",
"CreationDateTime",
"Status",
"StatusUpdateDateTime",
"Initiation"
],
"properties": {
"DomesticScheduledPaymentId": {
"$ref": "#/definitions/DomesticScheduledPaymentId"
},
"CreationDateTime": {
"$ref": "#/definitions/CreationDateTime"
},
"Status": {
"$ref": "#/definitions/Status"
},
"StatusUpdateDateTime": {
"$ref": "#/definitions/StatusUpdateDateTime"
},
"CutOffDateTime": {
"$ref": "#/definitions/CutOffDateTime"
},
"Refund": {
"type": "object",
"additionalProperties": false,
"required": [
"Account"
],
"description": "Unambiguous identification of the refund account to which a refund will be made as a result of the transaction.",
"properties": {
"Account": {
"type": "object",
"additionalProperties": false,
"required": [
"SchemeName",
"Identification",
"Name"
],
"description": "Provides the details to identify an account.",
"properties": {
"SchemeName": {
"$ref": "#/definitions/OBExternalAccountIdentification4Code"
},
"Identification": {
"$ref": "#/definitions/Identification_0"
},
"Name": {
"description": "Name of the account, as assigned by the account servicing institution.\nUsage: The account name is the name or names of the account owner(s) represented at an account level. The account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory.",
"type": "string",
"minLength": 1,
"maxLength": 350
},
"SecondaryIdentification": {
"$ref": "#/definitions/SecondaryIdentification"
}
}
}
}
},
"Charges": {
"$ref": "#/definitions/Charges"
},
"Initiation": {
"$ref": "#/definitions/Initiation"
},
"Debtor": {
"$ref": "#/definitions/OBDebtorIdentification1"
},
"SCASupportData": {
"$ref": "#/definitions/SCASupportDataResDef"
}
}
}
{
"type": "string",
"maxLength": 128
}
{
"type": "string",
"enum": [
"Create"
]
}
{
"type": "object",
"required": [
"InstructionIdentification",
"RequestedExecutionDateTime",
"InstructedAmount",
"CreditorAccount"
],
"properties": {
"InstructionIdentification": {
"$ref": "#/definitions/InstructionIdentification"
},
"EndToEndIdentification": {
"$ref": "#/definitions/EndToEndIdentification"
},
"LocalInstrument": {
"$ref": "#/definitions/LocalInstrument"
},
"RequestedExecutionDateTime": {
"$ref": "#/definitions/RequestedExecutionDateTime"
},
"InstructedAmount": {
"$ref": "#/definitions/InstructedAmount"
},
"DebtorAccount": {
"$ref": "#/definitions/DebtorAccount"
},
"CreditorAccount": {
"$ref": "#/definitions/CreditorAccount"
},
"CreditorPostalAddress": {
"$ref": "#/definitions/CreditorPostalAddress"
},
"RemittanceInformation": {
"$ref": "#/definitions/RemittanceInformation"
},
"SupplementaryData": {
"$ref": "#/definitions/OBSupplementaryData1"
}
}
}
{
"type": "string",
"minLength": 1,
"maxLength": 35
}
{
"type": "string",
"minLength": 1,
"maxLength": 35
}
{
"type": "string",
"enum": [
"UK:FasterPayments",
"UK:Bacs",
"UK:CHAPS",
"UK:Link"
]
}
{
"type": "string"
}
{
"type": "object",
"required": [
"Amount",
"Currency"
],
"properties": {
"Amount": {
"type": "string",
"pattern": "^\\d{1,13}$|^\\d{1,13}\\.\\d{1,2}$"
},
"Currency": {
"type": "string",
"enum": [
"GBP"
]
}
}
}
Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction.
{
"type": "object",
"title": "DebtorAccount",
"properties": {
"SchemeName": {
"description": "Name of the identification scheme, in a coded form as published in an external list.",
"title": "SchemeName",
"type": "string",
"enum": [
"IBAN",
"SortCodeAccountNumber",
"BBAN"
]
},
"Identification": {
"description": "Identification assigned by an institution to identify an account. This identification is known by the account owner.",
"type": "string",
"minLength": 1,
"maxLength": 34
},
"Name": {
"description": "Name of the account, as assigned by the account servicing institution, in agreement with the account owner in order to provide an additional means of identification of the account. Usage: The account name is different from the account owner name. The account name is used in certain user communities to provide a means of identifying the account, in addition to the account owner's identity and the account number.",
"type": "string",
"minLength": 1,
"maxLength": 350
},
"SecondaryIdentification": {
"description": "Identification assigned by an institution to identify an account. This identification is known by the account owner.",
"type": "string",
"minLength": 1,
"maxLength": 34
}
},
"required": [
"SchemeName",
"Identification"
],
"additionalProperties": false
}
Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction.
{
"title": "CreditorAccount",
"type": "object",
"properties": {
"SchemeName": {
"description": "Name of the identification scheme, in a coded form as published in an external list.",
"title": "SchemeName",
"type": "string",
"enum": [
"IBAN",
"SortCodeAccountNumber"
]
},
"Identification": {
"description": "Identification assigned by an institution to identify an account. This identification is known by the account owner.",
"type": "string",
"minLength": 1,
"maxLength": 34
},
"Name": {
"description": "Name of the account, as assigned by the account servicing institution, in agreement with the account owner in order to provide an additional means of identification of the account. Usage: The account name is different from the account owner name. The account name is used in certain user communities to provide a means of identifying the account, in addition to the account owner's identity and the account number. ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory.",
"type": "string",
"minLength": 1,
"maxLength": 350
},
"SecondaryIdentification": {
"description": "Identification assigned by an institution to identify an account. This identification is known by the account owner.",
"type": "string",
"minLength": 1,
"maxLength": 34
}
},
"required": [
"SchemeName",
"Identification",
"Name"
],
"additionalProperties": false
}
{
"type": "object",
"properties": {
"AddressType": {
"type": "string",
"enum": [
"Business",
"Correspondence",
"DeliveryTo",
"MailTo",
"POBox",
"Postal",
"Residential",
"Statement"
]
},
"Department": {
"type": "string",
"minLength": 1,
"maxLength": 70
},
"SubDepartment": {
"type": "string",
"minLength": 1,
"maxLength": 70
},
"StreetName": {
"type": "string",
"minLength": 1,
"maxLength": 70
},
"BuildingNumber": {
"type": "string",
"minLength": 1,
"maxLength": 16
},
"PostCode": {
"type": "string",
"minLength": 1,
"maxLength": 16
},
"TownName": {
"type": "string",
"minLength": 1,
"maxLength": 35
},
"CountrySubDivision": {
"type": "string",
"minLength": 1,
"maxLength": 35
},
"Country": {
"type": "string",
"pattern": "[A-Z]{2,2}"
},
"AddressLine": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 70
},
"minItems": 0,
"maxItems": 7
}
}
}
{
"type": "object",
"properties": {
"Unstructured": {
"type": "string",
"minLength": 1,
"maxLength": 140
},
"Reference": {
"type": "string",
"minLength": 1,
"maxLength": 35
}
}
}
{
"type": "object",
"required": [
"AuthorisationType"
],
"properties": {
"AuthorisationType": {
"type": "string",
"enum": [
"Any",
"Single"
]
},
"CompletionDateTime": {
"type": "string",
"format": "date-time"
}
}
}
{
"type": "object",
"required": [
"PaymentContextCode"
],
"properties": {
"PaymentContextCode": {
"type": "string",
"enum": [
"BillPayment",
"EcommerceGoods",
"EcommerceServices",
"Other",
"PartyToParty",
"BillingGoodsAndServicesInAdvance",
"BillingGoodsAndServicesInArrears",
"PispPayee",
"EcommerceMerchantInitiatedPayment",
"FaceToFacePointOfSale",
"TransferToSelf",
"TransferToThirdParty"
]
},
"MerchantCategoryCode": {
"type": "string"
},
"MerchantCustomerIdentification": {
"type": "string"
},
"ContractPresentInidicator": {
"type": "boolean",
"description": "Indicates if Payee has a contractual relationship with the PISP."
},
"BeneficiaryPrepopulatedIndicator": {
"type": "boolean",
"description": "Indicates if PISP has immutably prepopulated payment details in for the PSU."
},
"PaymentPurposeCode": {
"type": "string",
"minLength": 3,
"maxLength": 4,
"description": "Category code, related to the type of services or goods that corresponds to the underlying purpose of the payment that conforms to Recommended UK Purpose Code in ISO 20022 Payment Messaging List"
},
"BeneficiaryAccountType": {
"$ref": "#/definitions/OBExternalExtendedAccountType1Code"
},
"DeliveryAddress": {
"$ref": "#/definitions/DeliveryAddress"
}
}
}
Specifies the extended type of account.
{
"type": "string",
"enum": [
"Business",
"BusinessSavingsAccount",
"Charity",
"Collection",
"Corporate",
"Ewallet",
"Government",
"Investment",
"ISA",
"JointPersonal",
"Pension",
"Personal",
"PersonalSavingsAccount",
"Premier",
"Wealth"
]
}
Information that locates and identifies a specific address, as defined by postal services or in free format text.
{
"type": "object",
"required": [
"TownName",
"Country"
],
"properties": {
"AddressLine": {
"description": "Information that locates and identifies a specific address, as defined by postal services, that is presented in free format text.",
"type": "array",
"items": {
"description": "maxLength 70 text",
"type": "string",
"minLength": 1,
"maxLength": 70
},
"minItems": 0,
"maxItems": 2
},
"StreetName": {
"description": "Name of a street or thoroughfare",
"type": "string",
"minLength": 1,
"maxLength": 70
},
"BuildingNumber": {
"description": "Number that identifies the position of a building on a street.",
"type": "string",
"minLength": 1,
"maxLength": 16
},
"PostCode": {
"description": "Identifier consisting of a group of letters and/or numbers that is added to a postal address to assist the sorting of mail",
"type": "string",
"minLength": 1,
"maxLength": 16
},
"TownName": {
"description": "Name of a built-up area, with defined boundaries, and a local government.",
"type": "string",
"minLength": 1,
"maxLength": 35
},
"CountrySubDivision": {
"description": "Identifies a subdivision of a country, for instance state, region, county.",
"type": "string",
"minLength": 1,
"maxLength": 35
},
"Country": {
"description": "Nation with its own government, occupying a particular territory.",
"type": "string",
"pattern": "[A-Z]{2}"
}
},
"additionalProperties": false
}
{
"type": "array",
"items": {
"type": "object",
"required": [
"Data",
"Risk"
],
"properties": {
"Data": {
"$ref": "#/definitions/DomesticScheduledPaymentConsentResponseData"
},
"Risk": {
"$ref": "#/definitions/Risk"
}
}
}
}
{
"type": "object",
"required": [
"Data",
"Risk"
],
"properties": {
"Data": {
"$ref": "#/definitions/DomesticScheduledPaymentConsentResponseData"
},
"Risk": {
"$ref": "#/definitions/Risk"
}
}
}
{
"type": "object",
"required": [
"ConsentId",
"CreationDateTime",
"Status",
"StatusUpdateDateTime",
"Permission",
"Initiation"
],
"properties": {
"ConsentId": {
"$ref": "#/definitions/ConsentId"
},
"CreationDateTime": {
"$ref": "#/definitions/CreationDateTime"
},
"Status": {
"$ref": "#/definitions/Status"
},
"StatusUpdateDateTime": {
"$ref": "#/definitions/StatusUpdateDateTime"
},
"Permission": {
"$ref": "#/definitions/Permission"
},
"ReadRefundAccount": {
"description": "Specifies to share the refund account details with PISP",
"type": "string",
"enum": [
"No",
"Yes"
]
},
"CutOffDateTime": {
"$ref": "#/definitions/CutOffDateTime"
},
"ExpectedExecutionDateTime": {
"$ref": "#/definitions/ExpectedExecutionDateTime"
},
"ExpectedSettlementDateTime": {
"$ref": "#/definitions/ExpectedSettlementDateTime"
},
"Charges": {
"$ref": "#/definitions/Charges"
},
"Initiation": {
"$ref": "#/definitions/Initiation"
},
"Authorisation": {
"$ref": "#/definitions/Authorisation"
},
"SCASupportData": {
"$ref": "#/definitions/SCASupportDataResDef"
},
"Debtor": {
"$ref": "#/definitions/OBDebtorIdentification1"
}
}
}
Name of the identification scheme, in a coded form as published in an external list.
{
"type": "string",
"x-namespaced-enum": [
"UK.OBIE.BBAN",
"UK.OBIE.IBAN",
"UK.OBIE.PAN",
"UK.OBIE.Paym",
"UK.OBIE.SortCodeAccountNumber"
]
}
This 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).
{
"type": "string",
"minLength": 1,
"maxLength": 34
}
Identification assigned by an institution to identify an account. This identification is known by the account owner.
{
"type": "string",
"minLength": 1,
"maxLength": 256
}
Set of elements used to identify a person or an organisation.
{
"type": "object",
"additionalProperties": false,
"properties": {
"Name": {
"type": "string",
"description": "The 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."
},
"SchemeName": {
"type": "string",
"enum": [
"IBAN",
"SortCodeAccountNumber",
"BBAN"
]
},
"Identification": {
"type": "string"
},
"SecondaryIdentification": {
"type": "string"
}
}
}
{
"type": "string",
"maxLength": 128
}
{
"type": "string",
"format": "date-time"
}
{
"type": "string",
"enum": [
"Authorised",
"AwaitingAuthorisation",
"Consumed",
"Rejected"
]
}
{
"type": "string",
"format": "date-time"
}
{
"type": "string",
"format": "date-time"
}
{
"type": "string",
"format": "date-time"
}
{
"type": "string",
"format": "date-time"
}
{
"type": "array",
"items": {
"type": "object",
"required": [
"ChargeBearer",
"Type",
"Amount"
],
"properties": {
"ChargeBearer": {
"type": "string",
"enum": [
"BorneByCreditor",
"BorneByDebtor",
"FollowingServiceLevel",
"Shared"
]
},
"Type": {
"type": "string",
"maxLength": 40
},
"Amount": {
"type": "object",
"required": [
"Amount",
"Currency"
],
"properties": {
"Amount": {
"type": "string",
"pattern": "^\\d{1,13}$|^\\d{1,13}\\.\\d{1,2}$"
},
"Currency": {
"type": "string",
"enum": [
"GBP"
]
}
}
}
}
}
}
{
"type": "object",
"required": [
"Code",
"Message",
"Errors"
],
"properties": {
"Code": {
"type": "string",
"minLength": 1,
"maxLength": 40
},
"Id": {
"type": "string",
"minLength": 1,
"maxLength": 40
},
"Message": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"Errors": {
"items": {
"$ref": "#/definitions/Error"
},
"type": "array",
"minItems": 1
}
}
}
Additional information that can not be captured in the structured fields and/or any other specific block.
{
"type": "object",
"additionalProperties": false,
"properties": {
"DebitAccountReference": {
"type": "object",
"properties": {
"Reference": {
"type": "string"
}
}
}
}
}
{
"type": "object",
"required": [
"ErrorCode",
"Message"
],
"properties": {
"ErrorCode": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"Message": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"Path": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"Url": {
"type": "string"
}
}
}