Generate a Link
201 Created):
card.updated webhook with the old and new payment method tokens. The new token is a gateway-native token (e.g. a Stripe pm_xxx) — store it against the customer record and use it as the paymentMethodToken on future /api/recovery/execute calls for that customer.
Custom Domain Setup
By default, card update URLs use the Revtain domain — which means your customer seesapi.revtain.com in the browser. That looks unfamiliar and can reduce trust. Set up a custom domain before going live.
Enable SSL
If you use Cloudflare, SSL is automatic. Otherwise ensure your DNS provider issues a certificate for the subdomain.
Branding the Card Update Page
The card update page your customers see is white-labelled to your business. To make it look right, tell Revtain your brand details during onboarding:| Field | What it controls | Example |
|---|---|---|
brandName | Heading and page title seen by your customer | "Acme Inc" |
brandLogoUrl | Your logo, displayed at the top of the page | "https://yourdomain.com/logo.png" |
brandPrimaryColor | Button and accent colour | "#6366f1" |
brandName is not set, Revtain falls back to your registered business name. If no logo is provided, a lock icon is shown instead.
What your customer sees: