7.1. Payment Request with multiple instructions having different execution dates
7.1.1. Payment Request Submission
7.1.2. Request
POST http://localhost:8080/v1/payment-requests
7.1.2.1. No specific Header
7.1.2.2. Body
Note: this body was extracted from a PDF that lost some structural separators (braces / commas). Refer to the source PDF for the canonical JSON.
{
"paymentInformationId" : "MyPmtInfId", "creationDateTime" : "2018-09-13T08:10:22.392+02:00", "numberOfTransactions" : 2,
"initiatingParty" : {
"name" : "MyPreferedPisp",
"postalAddress" : {
"country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ]
"organisationId" : { "identification" : "12FR5", "schemeName" : "COID", "issuer" : "ACPR","paymentTypeInformation" : { "serviceLevel" : "SEPA", "categoryPurpose" : "DVPM","debtor" : { "name" : "MyCustomer", "postalAddress" : {
"country" : "FR",
"addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "privateId" : { "identification" : "FD37G", "schemeName" : "BANK", "issuer" : "BICXYYTTZZZ" } }, "beneficiary" : { "creditor" : { "name" : "myMerchant", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "organisationId" : { "identification" : "852126789", "schemeName" : "SIREN", "issuer" : "FR" } }, "creditorAccount" : { "iban" : "YY64COJH41059545330222956960771321" } }, "ultimateCreditor" : { "name" : "myPreferedUltimateMerchant", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "organisationId" : { "identification" : "85212678900025", "schemeName" : "SIRET", "issuer" : "FR" } }, "purpose" : "COMC", "chargeBearer" : "SLEV", "creditTransferTransaction" : [ { "paymentId" : { "instructionId" : "MyInstrId1", "endToEndId" : "MyEndToEndId1" }, "requestedExecutionDate" : "2018-09-13T00:00:00.000+02:00", "instructedAmount" : { "currency" : "EUR", "amount" : "124.35"
}, "remittanceInformation" : [ "MyRemittanceInformation" ] }, { "paymentId" : { "instructionId" : "MyInstrId1", "endToEndId" : "MyEndToEndId1" }, "requestedExecutionDate" : "2018-10-15T00:00:00.000+02:00", "instructedAmount" : { "currency" : "EUR", "amount" : "124.35" }, "remittanceInformation" : [ "MyRemittanceInformation" ] } ], "supplementaryData" : { "acceptedAuthenticationApproach" : [ "REDIRECT", "DECOUPLED" ], "scaHint" : "scaExemption", "successfulReportUrl" : "http://myPisp/PaymentSuccess", "unsuccessfulReportUrl" : "http://myPisp/PaymentFailure" } }7.1.3. Response
Status code: 201
7.1.3.1. Headers
location: v1/payment-requests/MyPmtInfRscId
7.1.3.2. Body
{
"appliedAuthenticationApproach": "REDIRECT",
"_links": {
"consentApproval": {
"href": "https://psd2.aspsp/consent-approval"
}
}
}7.1.4. Payment Request Retrieval
7.1.5. Request
GET http://localhost:8080/v1/payment-requests/MyPmtInfRscId
7.1.5.1. No specific Header
7.1.5.2. No body data
7.1.6. Response
Status code: 200
7.1.6.1. No specific Header
7.1.6.2. Body
{
"paymentRequest": {
"resourceId": "MyPmtInfRscId",
"paymentInformationId": "MyPmtInfId",
"creationDateTime": "2018-09-13T08:10:22.392+02:00",
"numberOfTransactions": 2,
"initiatingParty": {
"name": "MyPreferedPisp",
"postalAddress": {
"country": "FR",
"addressLine": [
"18 rue de la DSP2",
"75008 PARIS"
]
},
"organisationId": {
"identification": "12FR5",
"schemeName": "COID",
"issuer": "ACPR"
}
},
"paymentTypeInformation": {
"serviceLevel": "SEPA",
"categoryPurpose": "DVPM"
},
"debtor": {
"name": "MyCustomer",
"postalAddress": {
"country": "FR",
"addressLine": [
"18 rue de la DSP2",
"75008 PARIS"
]
},
"privateId": {
"identification": "FD37G",
"schemeName": "BANK",
"issuer": "BICXYYTTZZZ"
}
},
"debtorAgent": {
"bicFi": "BNKAFRPPXXX"
},
"beneficiary": {
"isTrusted": true,
"creditor": {
"name": "myMerchant",
"postalAddress": {
"country": "FR",
"addressLine": [
"18 rue de la DSP2",
"75008 PARIS"
]
},
"organisationId": {
"identification": "852126789",
"schemeName": "SIREN",
"issuer": "FR"
}
},
"creditorAccount": {
"iban": "YY64COJH41059545330222956960771321"
}
},
"ultimateCreditor": {
"name": "myPreferedUltimateMerchant",
"postalAddress": {
"country": "FR",
"addressLine": [
"18 rue de la DSP2",
"75008 PARIS"
]
},
"organisationId": {
"identification": "85212678900025",
"schemeName": "SIRET",
"issuer": "FR"
}
},
"purpose": "COMC",
"chargeBearer": "SLEV",
"paymentInformationStatus": "PDNG",
"fundsAvailability": true,
"booking": false,
"creditTransferTransaction": [
{
"paymentId": {
"instructionId": "MyInstrId1",
"endToEndId": "MyEndToEndId1"
},
"requestedExecutionDate": "2018-09-13T00:00:00.000+02:00",
"instructedAmount": {
"currency": "EUR",
"amount": "124.35"
},
"remittanceInformation": [
"MyRemittanceInformation"
],
"transactionStatus": "PDNG"
},
{
"paymentId": {
"instructionId": "MyInstrId1",
"endToEndId": "MyEndToEndId1"
},
"requestedExecutionDate": "2018-10-15T00:00:00.000+02:00",
"instructedAmount": {
"currency": "EUR",
"amount": "124.35"
},
"remittanceInformation": [
"MyRemittanceInformation"
],
"transactionStatus": "PDNG"
}
],
"supplementaryData": {
"acceptedAuthenticationApproach": [
"REDIRECT",
"DECOUPLED"
],
"appliedAuthenticationApproach": "REDIRECT",
"scaHint": "scaExemption",
"successfulReportUrl": "http://myPisp/PaymentSuccess",
"unsuccessfulReportUrl": "http://myPisp/PaymentFailure"
}
},
"_links": {
"self": {
"href": "v1/payment-requests/MyPmtInfRscId"
},
"confirmation": {
"href": "v1/payment-requests/MyPmtInfRscId/confirmation"
}
}
}7.1.7. Payment Request Confirmation
7.1.8. Request
POST http://localhost:8080/v1/payment-requests/MyPmtInfRscId/confirmation7.1.8.1. No specific Header
7.1.8.2. Body
{ }
7.1.9. Response
Status code: 200
7.1.9.1. No specific Header
7.1.9.2. Body
Note: this body was extracted from a PDF that lost some structural separators (braces / commas). Refer to the source PDF for the canonical JSON.
{
"paymentRequest" : {
"resourceId" : "MyPmtInfRscId", "paymentInformationId" : "MyPmtInfId", "creationDateTime" : "2018-09-13T08:10:22.392+02:00", "numberOfTransactions" : 2, "initiatingParty" : { "name" : "MyPreferedPisp", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] "organisationId" : { "identification" : "12FR5", "schemeName" : "COID", "issuer" : "ACPR","paymentTypeInformation" : { "serviceLevel" : "SEPA", "categoryPurpose" : "DVPM","debtor" : { "name" : "MyCustomer", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] "privateId" : { "identification" : "FD37G", "schemeName" : "BANK", "issuer" : "BICXYYTTZZZ"
}
}, "debtorAgent" : { "bicFi" : "BNKAFRPPXXX" }, "beneficiary" : { "isTrusted" : true, "creditor" : { "name" : "myMerchant", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "organisationId" : { "identification" : "852126789", "schemeName" : "SIREN", "issuer" : "FR" } }, "creditorAccount" : { "iban" : "YY64COJH41059545330222956960771321" } }, "ultimateCreditor" : { "name" : "myPreferedUltimateMerchant", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "organisationId" : { "identification" : "85212678900025", "schemeName" : "SIRET", "issuer" : "FR" } }, "purpose" : "COMC", "chargeBearer" : "SLEV", "paymentInformationStatus" : "PART", "fundsAvailability" : true, "booking" : false, "creditTransferTransaction" : [ { "paymentId" : { "instructionId" : "MyInstrId1", "endToEndId" : "MyEndToEndId1" }, "requestedExecutionDate" : "2018-09-13T00:00:00.000+02:00", "instructedAmount" : { "currency" : "EUR", "amount" : "124.35"
}, "remittanceInformation" : [ "MyRemittanceInformation" ], "transactionStatus" : "ACSC" }, { "paymentId" : { "instructionId" : "MyInstrId1", "endToEndId" : "MyEndToEndId1" }, "requestedExecutionDate" : "2018-10-15T00:00:00.000+02:00", "instructedAmount" : { "currency" : "EUR", "amount" : "124.35" }, "remittanceInformation" : [ "MyRemittanceInformation" ], "transactionStatus" : "PDNG" } ], "supplementaryData" : { "acceptedAuthenticationApproach" : [ "REDIRECT", "DECOUPLED" ], "appliedAuthenticationApproach" : "REDIRECT", "scaHint" : "scaExemption", "successfulReportUrl" : "http://myPisp/PaymentSuccess", "unsuccessfulReportUrl" : "http://myPisp/PaymentFailure" } }, "_links" : { "self" : { "href" : "v1/payment-requests/MyPmtInfRscId" } } }7.1.10. Payment Request Cancellation
7.1.11. Request
PUT http://localhost:8080/v1/payment-requests/MyPmtInfRscId
7.1.11.1. No specific Header
7.1.11.2. Body
Note: this body was extracted from a PDF that lost some structural separators (braces / commas). Refer to the source PDF for the canonical JSON.
{
"resourceId" : "MyPmtInfRscId", "paymentInformationId" : "MyPmtInfId", "creationDateTime" : "2018-09-13T08:10:22.392+02:00", "numberOfTransactions" : 2,
"initiatingParty" : {
"name" : "MyPreferedPisp",
"postalAddress" : {
"country" : "FR",
"addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "organisationId" : { "identification" : "12FR5", "schemeName" : "COID", "issuer" : "ACPR" } }, "paymentTypeInformation" : { "serviceLevel" : "SEPA", "categoryPurpose" : "DVPM" }, "debtor" : { "name" : "MyCustomer", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "privateId" : { "identification" : "FD37G", "schemeName" : "BANK", "issuer" : "BICXYYTTZZZ" } }, "debtorAgent" : { "bicFi" : "BNKAFRPPXXX" }, "beneficiary" : { "isTrusted" : true, "creditor" : { "name" : "myMerchant", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "organisationId" : { "identification" : "852126789", "schemeName" : "SIREN", "issuer" : "FR" } }, "creditorAccount" : { "iban" : "YY64COJH41059545330222956960771321" } },
"ultimateCreditor" : {
"name" : "myPreferedUltimateMerchant",
"postalAddress" : {
"country" : "FR",
"addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ]
},
"organisationId" : { "identification" : "85212678900025", "schemeName" : "SIRET", "issuer" : "FR" } },
"purpose" : "COMC",
"chargeBearer" : "SLEV", "paymentInformationStatus" : "PART",
"fundsAvailability" : true, "booking" : false,
"creditTransferTransaction" : [ {
"paymentId" : {
"instructionId" : "MyInstrId1",
"endToEndId" : "MyEndToEndId1"
},
"requestedExecutionDate" : "2018-09-13T00:00:00.000+02:00",
"instructedAmount" : {
"currency" : "EUR", "amount" : "124.35" },
"remittanceInformation" : [ "MyRemittanceInformation" ],
"transactionStatus" : "ACSC"
}, {
"paymentId" : {
"instructionId" : "MyInstrId1",
"endToEndId" : "MyEndToEndId1"
},
"requestedExecutionDate" : "2018-10-15T00:00:00.000+02:00",
"instructedAmount" : {
"currency" : "EUR",
"amount" : "124.35"
},
"remittanceInformation" : [ "MyRemittanceInformation" ],
"transactionStatus" : "RJCT",
"statusReasonInformation" : "DS02"
} ],
"supplementaryData" : {
"acceptedAuthenticationApproach" : [ "REDIRECT", "DECOUPLED" ],
"appliedAuthenticationApproach" : "REDIRECT",
"scaHint" : "scaExemption",
"successfulReportUrl" : "http://myPisp/PaymentSuccess",
"unsuccessfulReportUrl" : "http://myPisp/PaymentFailure"
}7.1.12. Response
Status code: 201
7.1.12.1. Headers
location: v1/payment-requests/MyPmtInfRscId
7.1.12.2. Body
{
"appliedAuthenticationApproach": "REDIRECT",
"_links": {
"consentApproval": {
"href": "https://psd2.aspsp/consent-approval"
}
}
}7.1.13. Cancellation Request Confirmation
7.1.14. Request
POST http://localhost:8080/v1/payment-requests/MyPmtInfRscId/confirmation7.1.14.1. No specific Header
7.1.14.2. Body
{ }
7.1.15. Response
Status code: 200
7.1.15.1. No specific Header
7.1.15.2. Body
Note: this body was extracted from a PDF that lost some structural separators (braces / commas). Refer to the source PDF for the canonical JSON.
{ "paymentRequest" : { "resourceId" : "MyPmtInfRscId", "paymentInformationId" : "MyPmtInfId", "creationDateTime" : "2018-09-13T08:10:22.392+02:00", "numberOfTransactions" : 2, "initiatingParty" : { "name" : "MyPreferedPisp", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "organisationId" : { "identification" : "12FR5", "schemeName" : "COID", "issuer" : "ACPR" } }, "paymentTypeInformation" : { "serviceLevel" : "SEPA", "categoryPurpose" : "DVPM" }, "debtor" : { "name" : "MyCustomer", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "privateId" : { "identification" : "FD37G", "schemeName" : "BANK", "issuer" : "BICXYYTTZZZ" } }, "debtorAgent" : { "bicFi" : "BNKAFRPPXXX" }, "beneficiary" : { "isTrusted" : true, "creditor" : { "name" : "myMerchant", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ]
},
"organisationId" : { "identification" : "852126789", "schemeName" : "SIREN", "issuer" : "FR" } }, "creditorAccount" : { "iban" : "YY64COJH41059545330222956960771321" } }, "ultimateCreditor" : { "name" : "myPreferedUltimateMerchant", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "organisationId" : { "identification" : "85212678900025", "schemeName" : "SIRET", "issuer" : "FR" } }, "purpose" : "COMC", "chargeBearer" : "SLEV", "paymentInformationStatus" : "PART", "fundsAvailability" : true, "booking" : false, "creditTransferTransaction" : [ { "paymentId" : { "instructionId" : "MyInstrId1", "endToEndId" : "MyEndToEndId1" }, "requestedExecutionDate" : "2018-09-13T00:00:00.000+02:00", "instructedAmount" : { "currency" : "EUR", "amount" : "124.35" }, "remittanceInformation" : [ "MyRemittanceInformation" ], "transactionStatus" : "ACSC" }, { "paymentId" : { "instructionId" : "MyInstrId1", "endToEndId" : "MyEndToEndId1" }, "requestedExecutionDate" : "2018-10-15T00:00:00.000+02:00", "instructedAmount" : { "currency" : "EUR", "amount" : "124.35","remittanceInformation" : [ "MyRemittanceInformation" ], "transactionStatus" : "RJCT", "statusReasonInformation" : "DS02" } ], "supplementaryData" : { "acceptedAuthenticationApproach" : [ "REDIRECT", "DECOUPLED" ], "appliedAuthenticationApproach" : "REDIRECT", "scaHint" : "scaExemption", "successfulReportUrl" : "http://myPisp/PaymentSuccess", "unsuccessfulReportUrl" : "http://myPisp/PaymentFailure" } }, "_links" : { "self" : { "href" : "v1/payment-requests/MyPmtInfRscId" } } }