Skip to main content
PATCH
/
accounts
/
{id}
/
payment-methods
/
{pm_id}
Set a payment method as the account default
curl --request PATCH \
  --url https://api.arcuserp.com/v1/accounts/{id}/payment-methods/{pm_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "is_default": true
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.arcuserp.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key issued per entity via Settings > Developers > API Keys. Each key carries scopes (e.g. orders:read, products:write). Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.

Path Parameters

id
string<uuid>
required
pm_id
string<uuid>
required

Body

application/json
is_default
enum<boolean>

Must be true

Available options:
true

Response

Default updated

The response is of type object.