Variable Recurring Payments
Create VRP Payment
Changed onSubmit payment on the VRP consent.
Required feature: CREATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_SWEEPING or CREATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_COMMERCIAL
post/variable-recurring-payments/payments
Request
- Base URLhttps://api.yapily.com
- AuthHTTP basic
Headers
consentstring required
The user's VRP Consent Token
Request body
Example request
{
"paymentAmount": {
"amount": 10,
"currency": "GBP"
}
}Response
Created
Example response
{
"data": {
"statusDetails": {
"isoStatus": {
"code": "ACCC",
"name": "AcceptedCreditSettlementCompleted"
}
},
"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"
}
}
},
"submissionDetails": {
"reference": "Own Account Sweeping",
"payee": {
"name": "Jane Doe",
"accountIdentifications": [
{
"identification": "401016",
"type": "SORT_CODE"
},
{
"identification": "71518920",
"type": "ACCOUNT_NUMBER"
}
],
"address": {
"country": "GB"
},
"merchantId": "24589303",
"merchantCategoryCode": "0742"
},
"paymentAmount": {
"amount": 10,
"currency": "GBP"
}
},
"payer": {
"name": "John Doe",
"accountIdentifications": [
{
"type": "SORT_CODE",
"identification": "401016"
}
],
"address": {
"country": "GB"
}
},
"refundAccount": {
"accountIdentifications": [
{
"type": "SORT_CODE",
"identification": "401016"
}
]
}
}
}Changes
- info
added the new optional request property
- info