card_update_unavailable
The card can't be replaced from the customer portal because the customer has no email address to bind the new card to.
| HTTP status | 400 |
| Error type | invalid_request_error |
| Retry | No. Fix the request. |
What to do
Set an email on the customer, then mint a new portal link.
Response shape
{
"error": {
"type": "invalid_request_error",
"code": "card_update_unavailable",
"message": "…",
"doc_url": "https://docs.borga.is/errors/card_update_unavailable",
"request_id": "req_…"
}
}See all error codes and how to handle them.