Payments
Real-time Account Updater
Unsubscribe a card from real-time account updates
Changed onUnsubscribe a card from real-time account updates. Once unsubscribed, Evervault stops delivering real-time.card.updated webhooks for the card.
Provide the same encrypted or plaintext card number and expiry you subscribed with. Evervault never stores the card number, so it must be supplied again to unsubscribe the card with the card networks.
post/payments/cards/subscriptions/{subscription_id}/unsubscribe
Request
- Base URLhttps://api.evervault.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
subscription_idstring required
The identifier of the subscription to unsubscribe.
Request body
Example request
{
"card": {
"number": "ev:debug:Tk9D:number:nTepvAI585M7lUVp:AkJ6Brzat0E7ui8DSKCSXO7AopU/+GFuBekQ6cGx7eTl:sfihK53itmHp+URxomnTITUpwQwM5nnRrnQ0qdIOUlA=:$",
"expiry": {
"month": "12",
"year": "29"
}
}
}Response
The subscription was canceled.
Example response
{
"id": "aus_8da9a7fbde01",
"status": "canceled"
}Changes
- info
endpoint added
- info