7.2. Payment Request with multiple instructions having different beneficiaries
7.2.1. Payment Request Submission
7.2.2. Request
POST http://localhost:8080/v1/payment-requests
7.2.2.1. No specific Header
7.2.2.2. Body
{
"paymentInformationId": "MyPmtInfId",
"creationDateTime": "2018-09-13T08:10:22.778+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",
"localInstrument": "INST",
"categoryPurpose": "CASH"
},
"debtor": {
"name": "MyCustomer",
"postalAddress": {
"country": "FR",
"addressLine": [
"18 rue de la DSP2",
"75008 PARIS"
]
},
"privateId": {
"identification": "FD37G",
"schemeName": "BANK",
"issuer": "BICXYYTTZZZ"
}
},
"purpose": "CASH",
"chargeBearer": "SLEV",
"requestedExecutionDate": "2018-09-13T08:10:22.778+02:00",
"creditTransferTransaction": [
{
"paymentId": {
"instructionId": "MyInstrId3",
"endToEndId": "MyEndToEndId3"
},
"instructedAmount": {
"currency": "EUR",
"amount": "124.35"
},
"beneficiary": {
"creditor": {
"name": "June Doe",
"postalAddress": {
"country": "FR",
"addressLine": [
"18 rue de la DSP2",
"75008 PARIS"
]
},
"privateId": {
"identification": "852126789",
"schemeName": "SIREN",
"issuer": "FR"
}
},
"creditorAccount": {
"iban": "YY49QEZO90424459988701367845944910"
}
},
"remittanceInformation": [
"MyRemittanceInformation"
]
},
{
"paymentId": {
"instructionId": "MyInstrId4",
"endToEndId": "MyEndToEndId4"
},
"instructedAmount": {
"currency": "EUR",
"amount": "124.35"
},
"beneficiary": {
"creditor": {
"name": "John Doe",
"postalAddress": {
"country": "FR",
"addressLine": [
"18 rue de la DSP2",
"75008 PARIS"
]
},
"privateId": {
"identification": "852126789",
"schemeName": "SIREN",
"issuer": "FR"
}
},
"creditorAccount": {
"iban": "YY27KYHO61109079868328944728829436"
}
},
"remittanceInformation": [
"MyRemittanceInformation"
]
}
],
"supplementaryData": {
"acceptedAuthenticationApproach": [
"REDIRECT",
"DECOUPLED"
],
"successfulReportUrl": "http://myPisp/PaymentSuccess",
"unsuccessfulReportUrl": "http://myPisp/PaymentFailure"
}
}7.2.3. Response
Status code: 201
7.2.3.1. Headers
location: v1/payment-requests/MyPmtInfRscId
7.2.3.2. Body
{
"appliedAuthenticationApproach": "REDIRECT",
"_links": {
"consentApproval": {
"href": "https://psd2.aspsp/consent-approval"
}
}
}7.2.4. Payment Request Retrieval
7.2.5. Request
GET http://localhost:8080/v1/payment-requests/MyPmtInfRscId
7.2.5.1. No specific Header
7.2.5.2. No body data
7.2.6. Response
Status code: 200
7.2.6.1. No specific Header
7.2.6.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.778+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",
"localInstrument" : "INST", "categoryPurpose" : "CASH" }, "debtor" : { "name" : "MyCustomer", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "privateId" : { "identification" : "FD37G", "schemeName" : "BANK", "issuer" : "BICXYYTTZZZ" } }, "debtorAgent" : { "bicFi" : "BNKAFRPPXXX" }, "purpose" : "CASH", "chargeBearer" : "SLEV", "paymentInformationStatus" : "PDNG", "requestedExecutionDate" : "2018-09-13T06:10:22.778Z", "creditTransferTransaction" : [ { "paymentId" : { "instructionId" : "MyInstrId3", "endToEndId" : "MyEndToEndId3" }, "instructedAmount" : { "currency" : "EUR", "amount" : "124.35" }, "beneficiary" : { "creditor" : { "name" : "June Doe", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "privateId" : { "identification" : "852126789", "schemeName" : "SIREN", "issuer" : "FR" } }, "creditorAccount" : {
"iban" : "YY49QEZO90424459988701367845944910"
} }, "remittanceInformation" : [ "MyRemittanceInformation" ], "transactionStatus" : "PDNG" }, { "paymentId" : { "instructionId" : "MyInstrId4", "endToEndId" : "MyEndToEndId4" }, "instructedAmount" : { "currency" : "EUR", "amount" : "124.35" }, "beneficiary" : { "creditor" : { "name" : "John Doe", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "privateId" : { "identification" : "852126789", "schemeName" : "SIREN", "issuer" : "FR" } }, "creditorAccount" : { "iban" : "YY27KYHO61109079868328944728829436" } }, "remittanceInformation" : [ "MyRemittanceInformation" ], "transactionStatus" : "PDNG" } ], "supplementaryData" : { "acceptedAuthenticationApproach" : [ "REDIRECT", "DECOUPLED" ], "appliedAuthenticationApproach" : "REDIRECT", "successfulReportUrl" : "http://myPisp/PaymentSuccess", "unsuccessfulReportUrl" : "http://myPisp/PaymentFailure" } }, "_links" : { "self" : { "href" : "v1/payment-requests/MyPmtInfRscId" }, "confirmation" : { "href" : "v1/payment-requests/MyPmtInfRscId/confirmation" } }
}7.2.7. Payment Request Confirmation
7.2.8. Request
POST http://localhost:8080/v1/payment-requests/MyPmtInfRscId/confirmation7.2.8.1. No specific Header
7.2.8.2. Body
{ }
7.2.9. Response
Status code: 200
7.2.9.1. No specific Header
7.2.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.778+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", "localInstrument" : "INST", "categoryPurpose" : "CASH"
},
"debtor" : {
"name" : "MyCustomer", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "privateId" : { "identification" : "FD37G", "schemeName" : "BANK", "issuer" : "BICXYYTTZZZ" } }, "debtorAgent" : { "bicFi" : "BNKAFRPPXXX" }, "purpose" : "CASH", "chargeBearer" : "SLEV", "paymentInformationStatus" : "ACSC", "requestedExecutionDate" : "2018-09-13T06:10:22.778Z", "creditTransferTransaction" : [ { "paymentId" : { "instructionId" : "MyInstrId3", "endToEndId" : "MyEndToEndId3" }, "instructedAmount" : { "currency" : "EUR", "amount" : "124.35" }, "beneficiary" : { "creditor" : { "name" : "June Doe", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "privateId" : { "identification" : "852126789", "schemeName" : "SIREN", "issuer" : "FR" } }, "creditorAccount" : { "iban" : "YY49QEZO90424459988701367845944910" } }, "remittanceInformation" : [ "MyRemittanceInformation" ], "transactionStatus" : "ACSC" }, {
"paymentId" : { "instructionId" : "MyInstrId4", "endToEndId" : "MyEndToEndId4" }, "instructedAmount" : { "currency" : "EUR", "amount" : "124.35" }, "beneficiary" : { "creditor" : { "name" : "John Doe", "postalAddress" : { "country" : "FR", "addressLine" : [ "18 rue de la DSP2", "75008 PARIS" ] }, "privateId" : { "identification" : "852126789", "schemeName" : "SIREN", "issuer" : "FR" } }, "creditorAccount" : { "iban" : "YY27KYHO61109079868328944728829436" } }, "remittanceInformation" : [ "MyRemittanceInformation" ], "transactionStatus" : "ACSC" } ], "supplementaryData" : { "acceptedAuthenticationApproach" : [ "REDIRECT", "DECOUPLED" ], "appliedAuthenticationApproach" : "REDIRECT", "successfulReportUrl" : "http://myPisp/PaymentSuccess", "unsuccessfulReportUrl" : "http://myPisp/PaymentFailure" } }, "_links" : { "self" : { "href" : "v1/payment-requests/MyPmtInfRscId" } } }