Skip to main content
POST
Set default payment method
Choose a saved payment method for your signed-in account with a user-authorized human:actions OAuth grant. List methods first, then send the method ID and its quoted revision in If-Match. A stale revision returns 409; refresh before retrying. The default changes only within the same provider, merchant account, and payment type. Selecting a default does not approve, dispatch, or settle a purchase. This operation remains release-gated until account ownership migration and live provider verification are complete.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

If-Match
string
required
Pattern: ^"(0|[1-9][0-9]*)"$

Path Parameters

methodId
string
required
Required string length: 1 - 200

Response

Authorized account metadata only.

paymentMethodId
string
required
Required string length: 1 - 200
Pattern: ^[A-Za-z0-9_-]+$
label
string
required
Required string length: 1 - 100
method
enum<string>
required
Available options:
card,
bank,
hosted_checkout,
darwin_wallet,
mpp,
x402,
ucp,
acp
status
enum<string>
required
Available options:
active,
revoked,
expired
isDefault
boolean
required
revision
integer
required
Required range: 0 <= x <= 9007199254740991
expiresAt
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
Last modified on November 15, 2026