Variable Recurring Payments
Create Sweeping VRP Authorisation
Initiate authorisation for a Sweeping VRP consent.
The response will contain an Authorisation URL and the associated Consent ID. The user will have to complete authorisation of the consent at their institution via Redirect Flows, after which you will be able to use the authorised consent to create payments.
Feature:
- INITIATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_SWEEPING
post/variable-recurring-payments/sweeping/consents
Request
- Base URLhttps://api.yapily.com
- AuthHTTP basic
Request body
Example request
{
"controlParameters": {
"maxAmountPerPayment": {
"amount": 10,
"currency": "GBP"
},
"periodicLimits": [
{
"totalMaxAmount": {
"amount": 10,
"currency": "GBP"
}
}
]
},
"initiationDetails": {
"payer": {
"name": "John Doe",
"accountIdentifications": [
{
"type": "SORT_CODE",
"identification": "401016"
}
],
"address": {
"country": "GB"
}
},
"ultimatePayer": {
"accountIdentifications": [
{
"type": "SORT_CODE",
"identification": "401016"
}
],
"address": {
"country": "GB"
}
},
"payee": {
"name": "Jane Doe",
"accountIdentifications": [
{
"identification": "401016",
"type": "SORT_CODE"
},
{
"identification": "71518920",
"type": "ACCOUNT_NUMBER"
}
],
"address": {
"country": "GB"
},
"merchantId": "24589303",
"merchantCategoryCode": "0742"
},
"ultimatePayee": {
"accountIdentifications": [
{
"type": "SORT_CODE",
"identification": "401016"
}
],
"address": {
"country": "GB"
}
}
},
"complianceData": {
"payer": {
"type": "INDIVIDUAL",
"individual": {
"name": "John Doe",
"birthDate": "2000-08-12"
},
"business": {
"name": "Company LTD",
"registrationNumber": "COM123NO",
"registeredAddress": {
"addressLine1": "123 Queens Street",
"addressLine2": "Unit 13",
"townName": "York",
"postCode": "12345",
"country": "GB"
},
"tradingAddress": {
"addressLine1": "123 Queens Street",
"addressLine2": "Unit 13",
"townName": "York",
"postCode": "12345",
"country": "GB"
}
}
}
}
}Response
Created
Example response
{
"data": {
"controlParameters": {
"maxAmountPerPayment": {
"amount": 10,
"currency": "GBP"
},
"periodicLimits": [
{
"totalMaxAmount": {
"amount": 10,
"currency": "GBP"
}
}
]
},
"payer": {
"name": "John Doe",
"accountIdentifications": [
{
"type": "SORT_CODE",
"identification": "401016"
}
],
"address": {
"country": "GB"
}
},
"initiationDetails": {
"payer": {
"name": "John Doe",
"accountIdentifications": [
{
"type": "SORT_CODE",
"identification": "401016"
}
],
"address": {
"country": "GB"
}
},
"ultimatePayer": {
"accountIdentifications": [
{
"type": "SORT_CODE",
"identification": "401016"
}
],
"address": {
"country": "GB"
}
},
"payee": {
"name": "Jane Doe",
"accountIdentifications": [
{
"identification": "401016",
"type": "SORT_CODE"
},
{
"identification": "71518920",
"type": "ACCOUNT_NUMBER"
}
],
"address": {
"country": "GB"
},
"merchantId": "24589303",
"merchantCategoryCode": "0742"
},
"ultimatePayee": {
"accountIdentifications": [
{
"type": "SORT_CODE",
"identification": "401016"
}
],
"address": {
"country": "GB"
}
}
}
}
}Changes
No recorded changes to this operation across all 4 revisions of this API.