Payments
Real-time Account Updater

Unsubscribe a card from real-time account updates

Changed on

Unsubscribe 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

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.

idstring required

The unique identifier for the subscription.

status'active' | 'canceled' required

The status of the subscription.

Example response

{
  "id": "aus_8da9a7fbde01",
  "status": "canceled"
}

Changes