VRP schemes require a consent to be revoked if it has not been used for a continuous period of 13 months. Token tracks this for every VRP consent, sweeping and commercial, and handles the warning and revocation for you. You do not need to build your own timer, but you do need to be ready to act on the warning.
The inactivity period is measured from the most recent activity on the consent.
| Point in time | What happens |
|---|---|
| 12 months without activity | Token sends you a VRP_CONSENT_INACTIVITY_WARNING webhook. From this point you can reconfirm the consent. |
| 13 months without activity | Token revokes the consent with the bank and its status changes to REVOKED. If you are subscribed to webhooks, you receive a VRP_CONSENT_STATUS_CHANGED webhook with the new status. |
Note: Token always gives at least 30 days between the warning and the revocation. If a warning is delayed for any reason, the revocation date moves back so that this notice period is kept.
The inactivity period restarts when either of the following happens:
- A payment is made with the consent. A payment counts once it has been successfully initiated with the bank. Payments that are rejected, fail, expire or are cancelled do not count.
- You reconfirm the consent. See Reconfirming a Consent.
If a consent has never been used for a payment, the inactivity period is measured from the date the consent was created.
A new payment after the warning has been sent also restarts the inactivity period and withdraws the warning, so no further action is needed.
Once a consent has had no activity for 12 months, you can reconfirm it to keep it open. Reconfirming restarts the inactivity period, so the consent is next due for revocation 13 months after the reconfirmation, and it withdraws the warning.
Only reconfirm a consent after the user has told you they want to keep it. Reconfirming a consent the user no longer wants keeps an unused consent open and is not in line with the scheme requirement.
A consent can only be reconfirmed when:
- its status is
AUTHORIZED, and - it has had no activity for at least 12 months.
- Detect the warning. Receive the
VRP_CONSENT_INACTIVITY_WARNINGwebhook, or checklastUsedAtandinactivityRevocationDueAton the consent. - Ask the user. Check that the user wants to keep the consent open.
- Call the reconfirm endpoint. Send
POST /vrp-consents/{id}/reconfirmwith the VRP consent id. - Check the response. The response is the updated VRP consent.
inactivityRevocationDueAtshows the new revocation date.
If the user does not want to keep the consent, you do not need to wait for it to be revoked. You can revoke it at any time with DELETE /vrp-consents/{id}.
| Item | Detail |
|---|---|
| Endpoint | POST /vrp-consents/{id}/reconfirm |
| Authentication | The same as the other VRP consent endpoints. |
| Path parameter | id: the Token.io VRP consent id, for example vc:12345abcd:abcde. |
| Request body | None. |
| Success response | 200 with the updated VRP consent. |
Request
curl -X POST https://api.token.io/vrp-consents/vc:12345abcd:abcde/reconfirm \
-H "Authorization: Bearer {token}"Response
{
"vrpConsent": {
"id": "vc:12345abcd:abcde",
"memberId": "m:123456abcd:abcd",
"createdDateTime": "2025-01-10T09:30:00.000Z",
"updatedDateTime": "2026-10-30T10:15:00.000Z",
"status": "AUTHORIZED",
"bankVrpConsentId": "4jq34dwjgi9MCK2MXB9f7v",
"bankVrpConsentStatus": "Authorised",
"lastUsedAt": "2025-09-01T14:20:00.000Z",
"inactivityRevocationDueAt": "2027-11-30T10:15:00.000Z"
}
}The initiation object is also returned but is not shown here. lastUsedAt does not change when you reconfirm, because a reconfirmation is not a payment. inactivityRevocationDueAt moves to 13 months after the reconfirmation.
Errors
| HTTP status | Error | When it happens |
|---|---|---|
400 | Resource.ConsentNotAuthorized | The consent is not in AUTHORIZED status. |
400 | Error message: "VRP consent has not been inactive long enough to be reconfirmed" | The consent has had activity in the last 12 months. This includes a consent that was just reconfirmed or has just been used for a payment. |
401 | Authorization error | The authorization information is missing or invalid. |
404 | Resource.NotFound | No VRP consent with this id exists for your account. |
500 | InternalServerError | An unexpected error occurred. |
Note: Do not retry a reconfirmation that failed because the consent has not been inactive long enough. The consent only becomes eligible again after 12 months without activity.
Two fields on the VRP consent show where a consent stands, so you do not have to work out the dates yourself.
| Field | Description |
|---|---|
lastUsedAt | The time of the last payment made with the consent. Not set if the consent has never been used. |
inactivityRevocationDueAt | The earliest time the consent may be revoked for inactivity. Only set while the consent is AUTHORIZED. |
Note:
inactivityRevocationDueAtis the earliest time of revocation, not a guaranteed time. If the bank cannot process the revocation when it is due, Token retries it, so the consent may be revoked shortly after this time.
- Subscribe to the warning webhook. The
VRP_CONSENT_INACTIVITY_WARNINGwebhook is the signal to contact the user. See the webhook reference for the payload. - Handle duplicate warnings. Webhooks are delivered at least once, so you may receive the same warning more than once for a consent.
- Listen for the revocation. When a consent is revoked for inactivity, you receive a
VRP_CONSENT_STATUS_CHANGEDwebhook with the statusREVOKED, the same event you receive for any other change to the consent status. Use it to update your records and inform the user. - Do not rely on the exact revocation time. Use
inactivityRevocationDueAtas the earliest time and check the consent status rather than assuming it is revoked on that date. - Plan for a new consent. A revoked consent cannot be reinstated. If the user wants to continue making payments, set up a new VRP consent.
If you have any feedback about the developer documentation, please contact devdocs@token.io