Authorisations
Create Embedded Bulk Payment Authorisation
Used to initiate the embedded authorisation process for an Institution that contains the INITIATE_EMBEDDED_BULK_PAYMENT feature in order to obtain the the user's authorisation for a bulk payment. See Bulk Payments for more information. Feature: INITIATE_EMBEDDED_BULK_PAYMENT
post/embedded-bulk-payment-auth-requests
Request
- Base URLhttps://api.yapily.com
- AuthHTTP basic
Headers
psu-idstring
Conditional. Represents the user's login ID for the Institution to a personal account.
See PSU identifiers to see if this header is required.
psu-corporate-idstring
Conditional. Represents the user's login ID for the Institution to a business account.
See PSU identifiers to see if this header is required.
psu-ip-addressstring
Conditional. The IP address of the PSU.
See PSU identifiers to see if this header is required.
Request body
Example request
{
"userUuid": "e006a012-c306-4355-a6a1-99bf69ae5171",
"applicationUserId": "user-234562290",
"institutionId": "yapily-mock",
"callback": "https://display-parameters.com",
"paymentRequest": {
"payments": [
{
"paymentIdempotencyId": "04ab4536gaerfc0e1f93c4f4",
"payer": {
"name": "John Doe",
"accountIdentifications": [
{
"type": "SORT_CODE",
"identification": "401016"
}
],
"address": {
"country": "GB"
}
},
"reference": "Bill payment",
"payee": {
"name": "Jane Doe",
"accountIdentifications": [
{
"identification": "401016",
"type": "SORT_CODE"
},
{
"identification": "71518920",
"type": "ACCOUNT_NUMBER"
}
],
"address": {
"country": "GB"
},
"merchantId": "24589303",
"merchantCategoryCode": "0742"
},
"periodicPayment": {
"frequency": {
"intervalWeek": 1,
"intervalMonth": 1,
"executionDay": 1
},
"numberOfPayments": 5,
"nextPaymentDateTime": "2018-01-10T00:00:00Z",
"nextPaymentAmount": {
"amount": 10,
"currency": "GBP"
},
"finalPaymentDateTime": "2030-01-10T00:00:00Z",
"finalPaymentAmount": {
"amount": 10,
"currency": "GBP"
}
},
"amount": {
"amount": 10,
"currency": "GBP"
},
"paymentDateTime": "2021-07-21T17:32:28Z"
}
]
},
"userCredentials": {
"id": "6154057725",
"corporateId": "6345898763",
"password": "PISPWD12"
},
"selectedScaMethod": {
"id": "944",
"type": "PUSH_OTP",
"description": "SecureSIGN"
},
"scaCode": "325614"
}Response
Created
Example response
{
"data": {
"charges": [
{
"chargeAmount": {
"amount": 10,
"currency": "GBP"
}
}
],
"scaMethods": [
{
"id": "944",
"type": "PUSH_OTP",
"description": "SecureSIGN"
}
],
"selectedScaMethod": {
"id": "944",
"type": "PUSH_OTP",
"description": "SecureSIGN"
}
}
}Changes
No recorded changes to this operation across all 4 revisions of this API.