These endpoints enable you to initiate Variable Recurring Payments (VRP). Note, that VRP is also available in Payments v2 API.
The POST /vrp-consents endpoint creates a new VRP consent.
Successful response
Bad request
The authorization information is missing or invalid
Permission to access this endpoint is denied
An unexpected or internal server error
{- "initiation": {
- "bankId": "ob-modelo",
- "refId": "9htio4a1sp2akdr1aa",
- "remittanceInformationPrimary": "Sweepco",
- "remittanceInformationSecondary": "Secondary remittance information.",
- "startDateTime": "2017-04-05T10:43:07.123+01:00",
- "endDateTime": "2017-04-05T10:43:07.132+01:00",
- "onBehalfOfId": "6f34h397-b29h-23b0-s30g-hkd0d2dk4k1s",
- "scheme": "VRP_SWEEPING",
- "localInstrument": "FASTER_PAYMENTS",
- "debtor": {
- "accountNumber": "12345678",
- "sortCode": "123456",
- "name": "John Smith",
- "ultimateDebtorName": "John Smith",
- "address": {
- "addressLine": [
- "The Coach House"
], - "streetName": "221B",
- "buildingNumber": "2C",
- "postCode": "TR26 1EZ",
- "townName": "Saint Ives",
- "state": "Cornwall",
- "district": "string",
- "country": "GB"
}
}, - "creditor": {
- "accountNumber": "12345678",
- "sortCode": "123456",
- "name": "Customer Inc.",
- "ultimateCreditorName": "Customer Inc.",
- "address": {
- "addressLine": [
- "The Coach House"
], - "streetName": "221B",
- "buildingNumber": "2C",
- "postCode": "TR26 1EZ",
- "townName": "Saint Ives",
- "state": "Cornwall",
- "district": "string",
- "country": "GB"
}, - "bankName": "string"
}, - "currency": "EUR",
- "minimumIndividualAmount": "5.0",
- "maximumIndividualAmount": "10000.0",
- "periodicLimits": [
- {
- "maximumAmount": "100.00",
- "periodType": "DAY",
- "periodAlignment": "CALENDAR"
}
], - "maximumOccurrences": 3,
- "callbackState": "6242e45e-3063-4c42-8376",
- "returnRefundAccount": true,
- "risk": {
- "psuId": "0000789123",
- "paymentContextCode": "PISP_PAYEE",
- "paymentPurposeCode": "DVPM",
- "merchantCategoryCode": "4812",
- "beneficiaryAccountType": "BUSINESS",
- "contractPresentIndicator": true,
- "beneficiaryPrepopulatedIndicator": true,
- "deliveryAddress": {
- "addressLine": [
- "Flat 2, The Red Lodge, 1 High Street"
], - "addressType": "BUSINESS",
- "buildingNumber": "1",
- "country": "GB",
- "countrySubDivision": [
- "North Yorkshire"
], - "department": "1",
- "postCode": "YO62 5JB",
- "streetName": "High Street",
- "subDepartment": "Flat 2",
- "townName": "York"
}
}, - "flowType": "FULL_HOSTED_PAGES"
}, - "pispConsentAccepted": false
}{- "vrpConsent": {
- "id": "vc:12345abcd:abcde",
- "memberId": "m:123456abcd:abcd",
- "initiation": {
- "bankId": "ob-modelo",
- "refId": "9htio4a1sp2akdr1aa",
- "remittanceInformationPrimary": "Sweepco",
- "remittanceInformationSecondary": "Secondary remittance information.",
- "startDateTime": "2017-04-05T10:43:07.123+01:00",
- "endDateTime": "2017-04-05T10:43:07.132+01:00",
- "onBehalfOfId": "6f34h397-b29h-23b0-s30g-hkd0d2dk4k1s",
- "scheme": "VRP_SWEEPING",
- "localInstrument": "FASTER_PAYMENTS",
- "debtor": {
- "accountNumber": "12345678",
- "sortCode": "123456",
- "name": "John Smith",
- "ultimateDebtorName": "John Smith",
- "address": {
- "addressLine": [
- "The Coach House"
], - "streetName": "221B",
- "buildingNumber": "2C",
- "postCode": "TR26 1EZ",
- "townName": "Saint Ives",
- "state": "Cornwall",
- "district": "string",
- "country": "GB"
}
}, - "creditor": {
- "accountNumber": "12345678",
- "sortCode": "123456",
- "name": "Customer Inc.",
- "ultimateCreditorName": "Customer Inc.",
- "address": {
- "addressLine": [
- "The Coach House"
], - "streetName": "221B",
- "buildingNumber": "2C",
- "postCode": "TR26 1EZ",
- "townName": "Saint Ives",
- "state": "Cornwall",
- "district": "string",
- "country": "GB"
}, - "bankName": "string"
}, - "currency": "EUR",
- "minimumIndividualAmount": "5.0",
- "maximumIndividualAmount": "10000.0",
- "periodicLimits": [
- {
- "maximumAmount": "100.00",
- "periodType": "DAY",
- "periodAlignment": "CALENDAR"
}
], - "maximumOccurrences": 3,
- "callbackState": "6242e45e-3063-4c42-8376",
- "returnRefundAccount": true,
- "risk": {
- "psuId": "0000789123",
- "paymentContextCode": "PISP_PAYEE",
- "paymentPurposeCode": "DVPM",
- "merchantCategoryCode": "4812",
- "beneficiaryAccountType": "BUSINESS",
- "contractPresentIndicator": true,
- "beneficiaryPrepopulatedIndicator": true,
- "deliveryAddress": {
- "addressLine": [
- "Flat 2, The Red Lodge, 1 High Street"
], - "addressType": "BUSINESS",
- "buildingNumber": "1",
- "country": "GB",
- "countrySubDivision": [
- "North Yorkshire"
], - "department": "1",
- "postCode": "YO62 5JB",
- "streetName": "High Street",
- "subDepartment": "Flat 2",
- "townName": "York"
}
}, - "flowType": "FULL_HOSTED_PAGES"
}, - "createdDateTime": "2017-04-05T10:43:07.123Z",
- "updatedDateTime": "2017-04-05T10:45:07.123Z",
- "status": "AUTHORIZED",
- "bankVrpConsentId": "4jq34dwjgi9MCK2MXB9f7v",
- "bankVrpConsentStatus": "AwaitingAuthorization",
- "statusReasonInformation": "The consent resource is awaiting user authorization.",
- "lastUsedAt": "2017-04-05T10:45:07.123Z",
- "inactivityRevocationDueAt": "2018-05-05T10:45:07.123Z"
}
}The GET /vrp-consents endpoint retrieves all VRP consents created by the calling member.
| limit required | integer <int32> [ 1 .. 200 ] The maximum number of records to return. Example: limit=10 |
| offset | string The offset from the previous page. Example: offset=LerV6Jmex |
| createdAfter | string Returns only Vrp consents created after this time (in ISO 8601 format). Example: createdAfter=2022-04-05T17:00:00.000Z |
| createdBefore | string Returns only Vrp consents created before this time (in ISO 8601 format). Example: createdBefore=2023-04-05T17:00:00.000Z |
| statuses | Array of strings (VrpConsentStatus) Filters Vrp consents by statuses Example: statuses=PENDING&statuses=AUTHORIZED |
| scheme | string (VrpScheme) Default: "VRP_SWEEPING" Filters Vrp consents by Vrp scheme (only VRP_SWEEPING is currently supported) Example: scheme=VRP_SWEEPING |
| onBehalfOfId | string Filters Vrp consents by their Example: onBehalfOfId=c5a863bc-86f2-4418-a26f-25b24c7983c7 |
Successful response
Bad request
The authorization information is missing or invalid
An unexpected or internal server error
{- "vrpConsents": [
- {
- "id": "vc:12345abcd:abcde",
- "memberId": "m:123456abcd:abcd",
- "initiation": {
- "bankId": "ob-modelo",
- "refId": "9htio4a1sp2akdr1aa",
- "remittanceInformationPrimary": "Sweepco",
- "remittanceInformationSecondary": "Secondary remittance information.",
- "startDateTime": "2017-04-05T10:43:07.123+01:00",
- "endDateTime": "2017-04-05T10:43:07.132+01:00",
- "onBehalfOfId": "6f34h397-b29h-23b0-s30g-hkd0d2dk4k1s",
- "scheme": "VRP_SWEEPING",
- "localInstrument": "FASTER_PAYMENTS",
- "debtor": {
- "accountNumber": "12345678",
- "sortCode": "123456",
- "name": "John Smith",
- "ultimateDebtorName": "John Smith",
- "address": {
- "addressLine": [
- "The Coach House"
], - "streetName": "221B",
- "buildingNumber": "2C",
- "postCode": "TR26 1EZ",
- "townName": "Saint Ives",
- "state": "Cornwall",
- "district": "string",
- "country": "GB"
}
}, - "creditor": {
- "accountNumber": "12345678",
- "sortCode": "123456",
- "name": "Customer Inc.",
- "ultimateCreditorName": "Customer Inc.",
- "address": {
- "addressLine": [
- "The Coach House"
], - "streetName": "221B",
- "buildingNumber": "2C",
- "postCode": "TR26 1EZ",
- "townName": "Saint Ives",
- "state": "Cornwall",
- "district": "string",
- "country": "GB"
}, - "bankName": "string"
}, - "currency": "EUR",
- "minimumIndividualAmount": "5.0",
- "maximumIndividualAmount": "10000.0",
- "periodicLimits": [
- {
- "maximumAmount": "100.00",
- "periodType": "DAY",
- "periodAlignment": "CALENDAR"
}
], - "maximumOccurrences": 3,
- "callbackState": "6242e45e-3063-4c42-8376",
- "returnRefundAccount": true,
- "risk": {
- "psuId": "0000789123",
- "paymentContextCode": "PISP_PAYEE",
- "paymentPurposeCode": "DVPM",
- "merchantCategoryCode": "4812",
- "beneficiaryAccountType": "BUSINESS",
- "contractPresentIndicator": true,
- "beneficiaryPrepopulatedIndicator": true,
- "deliveryAddress": {
- "addressLine": [
- "Flat 2, The Red Lodge, 1 High Street"
], - "addressType": "BUSINESS",
- "buildingNumber": "1",
- "country": "GB",
- "countrySubDivision": [
- "North Yorkshire"
], - "department": "1",
- "postCode": "YO62 5JB",
- "streetName": "High Street",
- "subDepartment": "Flat 2",
- "townName": "York"
}
}, - "flowType": "FULL_HOSTED_PAGES"
}, - "createdDateTime": "2017-04-05T10:43:07.123Z",
- "updatedDateTime": "2017-04-05T10:45:07.123Z",
- "status": "AUTHORIZED",
- "bankVrpConsentId": "4jq34dwjgi9MCK2MXB9f7v",
- "bankVrpConsentStatus": "AwaitingAuthorization",
- "statusReasonInformation": "The consent resource is awaiting user authorization.",
- "lastUsedAt": "2017-04-05T10:45:07.123Z",
- "inactivityRevocationDueAt": "2018-05-05T10:45:07.123Z"
}
], - "pageInfo": {
- "limit": 20,
- "offset": "LerV6Jmex",
- "nextOffset": "KgwG8Qkat",
- "haveMore": false
}
}The GET /vrp-consents/{id} endpoint retrieves the details for an individual VRP consent.
Successful response
The authorization information is missing or invalid
VRP consent not found
An unexpected or internal server error
{- "vrpConsent": {
- "id": "vc:12345abcd:abcde",
- "memberId": "m:123456abcd:abcd",
- "initiation": {
- "bankId": "ob-modelo",
- "refId": "9htio4a1sp2akdr1aa",
- "remittanceInformationPrimary": "Sweepco",
- "remittanceInformationSecondary": "Secondary remittance information.",
- "startDateTime": "2017-04-05T10:43:07.123+01:00",
- "endDateTime": "2017-04-05T10:43:07.132+01:00",
- "onBehalfOfId": "6f34h397-b29h-23b0-s30g-hkd0d2dk4k1s",
- "scheme": "VRP_SWEEPING",
- "localInstrument": "FASTER_PAYMENTS",
- "debtor": {
- "accountNumber": "12345678",
- "sortCode": "123456",
- "name": "John Smith",
- "ultimateDebtorName": "John Smith",
- "address": {
- "addressLine": [
- "The Coach House"
], - "streetName": "221B",
- "buildingNumber": "2C",
- "postCode": "TR26 1EZ",
- "townName": "Saint Ives",
- "state": "Cornwall",
- "district": "string",
- "country": "GB"
}
}, - "creditor": {
- "accountNumber": "12345678",
- "sortCode": "123456",
- "name": "Customer Inc.",
- "ultimateCreditorName": "Customer Inc.",
- "address": {
- "addressLine": [
- "The Coach House"
], - "streetName": "221B",
- "buildingNumber": "2C",
- "postCode": "TR26 1EZ",
- "townName": "Saint Ives",
- "state": "Cornwall",
- "district": "string",
- "country": "GB"
}, - "bankName": "string"
}, - "currency": "EUR",
- "minimumIndividualAmount": "5.0",
- "maximumIndividualAmount": "10000.0",
- "periodicLimits": [
- {
- "maximumAmount": "100.00",
- "periodType": "DAY",
- "periodAlignment": "CALENDAR"
}
], - "maximumOccurrences": 3,
- "callbackState": "6242e45e-3063-4c42-8376",
- "returnRefundAccount": true,
- "risk": {
- "psuId": "0000789123",
- "paymentContextCode": "PISP_PAYEE",
- "paymentPurposeCode": "DVPM",
- "merchantCategoryCode": "4812",
- "beneficiaryAccountType": "BUSINESS",
- "contractPresentIndicator": true,
- "beneficiaryPrepopulatedIndicator": true,
- "deliveryAddress": {
- "addressLine": [
- "Flat 2, The Red Lodge, 1 High Street"
], - "addressType": "BUSINESS",
- "buildingNumber": "1",
- "country": "GB",
- "countrySubDivision": [
- "North Yorkshire"
], - "department": "1",
- "postCode": "YO62 5JB",
- "streetName": "High Street",
- "subDepartment": "Flat 2",
- "townName": "York"
}
}, - "flowType": "FULL_HOSTED_PAGES"
}, - "createdDateTime": "2017-04-05T10:43:07.123Z",
- "updatedDateTime": "2017-04-05T10:45:07.123Z",
- "status": "AUTHORIZED",
- "bankVrpConsentId": "4jq34dwjgi9MCK2MXB9f7v",
- "bankVrpConsentStatus": "AwaitingAuthorization",
- "statusReasonInformation": "The consent resource is awaiting user authorization.",
- "lastUsedAt": "2017-04-05T10:45:07.123Z",
- "inactivityRevocationDueAt": "2018-05-05T10:45:07.123Z"
}
}The DELETE /vrp-consents/{id} endpoint revokes an individual VRP consent.
Successful response
The authorization information is missing or invalid
VRP consent not found
An unexpected or internal server error
{- "vrpConsent": {
- "id": "vc:12345abcd:abcde",
- "memberId": "m:123456abcd:abcd",
- "initiation": {
- "bankId": "ob-modelo",
- "refId": "9htio4a1sp2akdr1aa",
- "remittanceInformationPrimary": "Sweepco",
- "remittanceInformationSecondary": "Secondary remittance information.",
- "startDateTime": "2017-04-05T10:43:07.123+01:00",
- "endDateTime": "2017-04-05T10:43:07.132+01:00",
- "onBehalfOfId": "6f34h397-b29h-23b0-s30g-hkd0d2dk4k1s",
- "scheme": "VRP_SWEEPING",
- "localInstrument": "FASTER_PAYMENTS",
- "debtor": {
- "accountNumber": "12345678",
- "sortCode": "123456",
- "name": "John Smith",
- "ultimateDebtorName": "John Smith",
- "address": {
- "addressLine": [
- "The Coach House"
], - "streetName": "221B",
- "buildingNumber": "2C",
- "postCode": "TR26 1EZ",
- "townName": "Saint Ives",
- "state": "Cornwall",
- "district": "string",
- "country": "GB"
}
}, - "creditor": {
- "accountNumber": "12345678",
- "sortCode": "123456",
- "name": "Customer Inc.",
- "ultimateCreditorName": "Customer Inc.",
- "address": {
- "addressLine": [
- "The Coach House"
], - "streetName": "221B",
- "buildingNumber": "2C",
- "postCode": "TR26 1EZ",
- "townName": "Saint Ives",
- "state": "Cornwall",
- "district": "string",
- "country": "GB"
}, - "bankName": "string"
}, - "currency": "EUR",
- "minimumIndividualAmount": "5.0",
- "maximumIndividualAmount": "10000.0",
- "periodicLimits": [
- {
- "maximumAmount": "100.00",
- "periodType": "DAY",
- "periodAlignment": "CALENDAR"
}
], - "maximumOccurrences": 3,
- "callbackState": "6242e45e-3063-4c42-8376",
- "returnRefundAccount": true,
- "risk": {
- "psuId": "0000789123",
- "paymentContextCode": "PISP_PAYEE",
- "paymentPurposeCode": "DVPM",
- "merchantCategoryCode": "4812",
- "beneficiaryAccountType": "BUSINESS",
- "contractPresentIndicator": true,
- "beneficiaryPrepopulatedIndicator": true,
- "deliveryAddress": {
- "addressLine": [
- "Flat 2, The Red Lodge, 1 High Street"
], - "addressType": "BUSINESS",
- "buildingNumber": "1",
- "country": "GB",
- "countrySubDivision": [
- "North Yorkshire"
], - "department": "1",
- "postCode": "YO62 5JB",
- "streetName": "High Street",
- "subDepartment": "Flat 2",
- "townName": "York"
}
}, - "flowType": "FULL_HOSTED_PAGES"
}, - "createdDateTime": "2017-04-05T10:43:07.123Z",
- "updatedDateTime": "2017-04-05T10:45:07.123Z",
- "status": "AUTHORIZED",
- "bankVrpConsentId": "4jq34dwjgi9MCK2MXB9f7v",
- "bankVrpConsentStatus": "AwaitingAuthorization",
- "statusReasonInformation": "The consent resource is awaiting user authorization.",
- "lastUsedAt": "2017-04-05T10:45:07.123Z",
- "inactivityRevocationDueAt": "2018-05-05T10:45:07.123Z"
}
}The POST /vrp-consents/{id}/reconfirm endpoint restarts the inactivity period of an authorized VRP consent and withdraws its inactivity warning. The endpoint can only be used on a consent in AUTHORIZED status whose inactivity is between 12 and 13 months, that is once it has had no activity for 12 months and before it is revoked for inactivity at 13 months.
Successful response
The authorization information is missing or invalid
VRP consent not found
An unexpected or internal server error
{- "vrpConsent": {
- "id": "vc:12345abcd:abcde",
- "memberId": "m:123456abcd:abcd",
- "initiation": {
- "bankId": "ob-modelo",
- "refId": "9htio4a1sp2akdr1aa",
- "remittanceInformationPrimary": "Sweepco",
- "remittanceInformationSecondary": "Secondary remittance information.",
- "startDateTime": "2017-04-05T10:43:07.123+01:00",
- "endDateTime": "2017-04-05T10:43:07.132+01:00",
- "onBehalfOfId": "6f34h397-b29h-23b0-s30g-hkd0d2dk4k1s",
- "scheme": "VRP_SWEEPING",
- "localInstrument": "FASTER_PAYMENTS",
- "debtor": {
- "accountNumber": "12345678",
- "sortCode": "123456",
- "name": "John Smith",
- "ultimateDebtorName": "John Smith",
- "address": {
- "addressLine": [
- "The Coach House"
], - "streetName": "221B",
- "buildingNumber": "2C",
- "postCode": "TR26 1EZ",
- "townName": "Saint Ives",
- "state": "Cornwall",
- "district": "string",
- "country": "GB"
}
}, - "creditor": {
- "accountNumber": "12345678",
- "sortCode": "123456",
- "name": "Customer Inc.",
- "ultimateCreditorName": "Customer Inc.",
- "address": {
- "addressLine": [
- "The Coach House"
], - "streetName": "221B",
- "buildingNumber": "2C",
- "postCode": "TR26 1EZ",
- "townName": "Saint Ives",
- "state": "Cornwall",
- "district": "string",
- "country": "GB"
}, - "bankName": "string"
}, - "currency": "EUR",
- "minimumIndividualAmount": "5.0",
- "maximumIndividualAmount": "10000.0",
- "periodicLimits": [
- {
- "maximumAmount": "100.00",
- "periodType": "DAY",
- "periodAlignment": "CALENDAR"
}
], - "maximumOccurrences": 3,
- "callbackState": "6242e45e-3063-4c42-8376",
- "returnRefundAccount": true,
- "risk": {
- "psuId": "0000789123",
- "paymentContextCode": "PISP_PAYEE",
- "paymentPurposeCode": "DVPM",
- "merchantCategoryCode": "4812",
- "beneficiaryAccountType": "BUSINESS",
- "contractPresentIndicator": true,
- "beneficiaryPrepopulatedIndicator": true,
- "deliveryAddress": {
- "addressLine": [
- "Flat 2, The Red Lodge, 1 High Street"
], - "addressType": "BUSINESS",
- "buildingNumber": "1",
- "country": "GB",
- "countrySubDivision": [
- "North Yorkshire"
], - "department": "1",
- "postCode": "YO62 5JB",
- "streetName": "High Street",
- "subDepartment": "Flat 2",
- "townName": "York"
}
}, - "flowType": "FULL_HOSTED_PAGES"
}, - "createdDateTime": "2017-04-05T10:43:07.123Z",
- "updatedDateTime": "2017-04-05T10:45:07.123Z",
- "status": "AUTHORIZED",
- "bankVrpConsentId": "4jq34dwjgi9MCK2MXB9f7v",
- "bankVrpConsentStatus": "AwaitingAuthorization",
- "statusReasonInformation": "The consent resource is awaiting user authorization.",
- "lastUsedAt": "2017-04-05T10:45:07.123Z",
- "inactivityRevocationDueAt": "2018-05-05T10:45:07.123Z"
}
}The GET /vrp-consents/{id}/payments endpoint retrieves the payments under a given VRP consent.
Successful response
Bad request
The authorization information is missing or invalid
An unexpected or internal server error
{- "vrps": [
- {
- "id": "vrp:12345abcd:abcd",
- "memberId": "m:123456abcd:abcd",
- "initiation": {
- "consentId": "vc:12345abcd:abcd",
- "refId": "9htio4a1sp2akdr1aa",
- "remittanceInformationPrimary": "Sweepco",
- "remittanceInformationSecondary": "Secondary remittance information.",
- "amount": {
- "value": "10.23",
- "currency": "EUR"
}, - "confirmFunds": false,
- "risk": {
- "psuId": "0000789123",
- "paymentContextCode": "PISP_PAYEE",
- "paymentPurposeCode": "DVPM",
- "merchantCategoryCode": "4812",
- "beneficiaryAccountType": "BUSINESS",
- "contractPresentIndicator": true,
- "beneficiaryPrepopulatedIndicator": true,
- "deliveryAddress": {
- "addressLine": [
- "Flat 2, The Red Lodge, 1 High Street"
], - "addressType": "BUSINESS",
- "buildingNumber": "1",
- "country": "GB",
- "countrySubDivision": [
- "North Yorkshire"
], - "department": "1",
- "postCode": "YO62 5JB",
- "streetName": "High Street",
- "subDepartment": "Flat 2",
- "townName": "York"
}
}
}, - "createdDateTime": "2017-04-05T10:43:07.123Z",
- "updatedDateTime": "2017-04-05T10:45:07.123Z",
- "status": "INITIATION_COMPLETED",
- "bankVrpId": "4vn6aDyMiwBYbPDN",
- "bankVrpStatus": "AcceptedCreditSettlementCompleted",
- "statusReasonInformation": "The payment is settled on the debtor's side.",
- "refundDetails": {
- "refundAccount": {
- "iban": "GB29NWBK60161331926819",
- "bic": "BOFIIE2D",
- "name": "John Smith"
}, - "paymentRefundStatus": "NONE",
- "settledRefundAmount": {
- "value": "10.23",
- "currency": "EUR"
}, - "remainingRefundAmount": {
- "value": "10.23",
- "currency": "EUR"
}
}
}
], - "pageInfo": {
- "limit": 20,
- "offset": "LerV6Jmex",
- "nextOffset": "KgwG8Qkat",
- "haveMore": false
}
}The GET /vrps/{id}/confirm-funds endpoint confirms whether the funds are available to initiate VRP.
Successful response
The authorization information is missing or invalid
Not found
An unexpected or internal server error
{- "fundsAvailable": false
}