Set a shopper's default card by phone

Makes the card your default for this shopper and clears your previous one.

Call this from your server with your merchant credentials — never from a browser or app. The shopper is identified by phone, sent in the X-Customer-Phone header: the same number you send as customer_phone to POST /api/v2/checkout/init. It is normalized the same way, so international + or 00 input and UK national 07… all work. A missing phone is a 422 and a malformed one a 400.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The card's id (pvc_…) from the list endpoint.

Headers
string
required

The shopper's phone, as sent to POST /api/v2/checkout/init. International + or 00 input, or UK national 07…; spaces, hyphens and parentheses are allowed.

Responses
204

No Content

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json