API ReferenceAdmin Billing
Set Default Payment Method
POST
/v1/admin/billing/payment-methods/{pm_id}/defaultMake a saved card the default. Verifies the card belongs to this account.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
pm_id*Pm Id
Response Body
application/json
curl -X POST "https://example.com/v1/admin/billing/payment-methods/string/default"Empty
{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}