Register Stored Cards for Account Updater

Register a batch of already-stored cards for Card Account Updater, so their details are kept current automatically. Send the payment method ids (the vaulted_token received when enrolling each card) in a single request.

How registration behaves

  • You can register between 1 and 100 cards per request; each id must be a valid vaulted_token.
  • Validation is all-or-nothing: if any id is invalid, the whole request is rejected.
  • Registration runs asynchronously. A 200 response with accepted confirms the cards were accepted, not that the update already happened — updates are notified later through the enrollment webhook.
  • Your account must be enabled for Card Account Updater. Otherwise the request returns 403.
POST/payment-methods/account-updater

Register up to 100 stored cards for Card Account Updater in a single request, identified by their payment method id (vaulted_token). Validation is synchronous and all-or-nothing: if any id is invalid the whole request is rejected. Registration itself runs asynchronously, so a 200 response confirms the cards were accepted, not that the update completed. Your account must be enabled for Card Account Updater to use this endpoint.

Body application/json

payment_method_idsstring<uuid>[]required

List of stored payment method ids (vaulted_token) to register for Card Account Updater. Between 1 and 100 items; each must be a valid UUID.

Response

200

acceptedinteger

Number of cards accepted for Card Account Updater registration.

400

codestring
messagesstring[]

401

codestring
messagesstring[]

403

codestring
messagesstring[]
Request
curl -X POST "https://api-sandbox.whitelabel.com/v1/payment-methods/account-updater" \
  -H "Content-Type: application/json" \
  -H "public-api-key: <public-api-key>" \
  -H "private-secret-key: <private-secret-key>" \
  -H "X-Idempotency-Key: <X-Idempotency-Key>" \
  -d '{
  "payment_method_ids": [
    "cbdcc878-ceb4-4dd8-b0f0-49d444855de0"
  ]
}'
Response
{
  "accepted": 2
}