cards.resave
Open the card saving page from a save-your-card-again email link (hosted page only). Returns the processor URL where the customer saves the card on the shop's current payments account.
| |
|---|
| Who | Hosted page only (a person does it in the browser) |
| REST | POST /v1/cards/resave |
| MCP tool | Not an MCP tool |
| Writes | no |
| Area | Stripe connection |
When to use it
Open the card saving page from a save-your-card-again email link (hosted page only). Returns the processor URL where the customer saves the card on the shop's current payments account.
What to tell the owner
Send the person the link. They finish this step themselves on the page; you never do it for them.
| Field | Type | Required |
|---|
k | string | yes |
Example
POST https://doingwork.work/v1/cards/resave
content-type: application/json
Idempotency-Key: 3f1c...
{
"k": "..."
}
Output
| Field | Type | Always there |
|---|
url | string | yes |
{
"url": "https://example.com/hooks/doing-work"
}
Errors
| Code | Status | What to do |
|---|
invalid_input, invalid_token, rate_limited | | Can happen on any call. See errors. |