Variable Recurring Payments
Initiate a variable recurring payment
Changed onAllows the initiation of a variable recurring payment against a mandate.
post/open-banking/vrps
Request
- Base URLhttps://test-api.acquired.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Company-Idstring uuid
Unique ID assigned by Acquired.com for your company.
Midstring uuid
Unique ID assigned by Acquired.com connecting to a specific acquiring bank.
Request body
Example request
{
"payment": {
"mandate_id": "01K4VV1HQZ7RFZ4AWA88YTR9Q0"
},
"transaction": {
"order_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"amount": 0.01,
"currency": "GBP"
},
"webhook_url": "https://webhook.site/b693fafa-35dd-47b1-b817-8dc4eb407a2c"
}Response
OK
Example response
{
"transaction_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "pending",
"reason": "insufficient_funds",
"links": [
{
"rel": "self",
"href": "/v1/transactions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
]
}Changes
- warning
changed the pattern of the request property
/from^[A-Za-z]{3}$to^[A-Z]{3}$ - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
added the new
blockedenum value to theresponse property for the response status - warning
added the new
declinedenum value to theresponse property for the response status - warning
added the new
executedenum value to theresponse property for the response status - warning
added the new
pendingenum value to theresponse property for the response status
- warning