PARTNER_API_V1_BASIC. Card writes and actions (create, update, lock, unlock, terminate) require PARTNER_API_V1_CARDS.
Common flows
List / retrieve cards
PARTNER_API_V1_BASIC.
List filters use public Partner API names:
Create a card
PARTNER_API_V1_CARDS. Request body shape is defined by CreateCardRequest in the OpenAPI schema.
type is the only field marked required in the schema, but each card type requires additional fields at request time. Sending a schema-valid payload without them returns a 400 ValidationError:
These lookups happen against live data, so even a well-formed
employee_details/vendor_details/subsidiary_details object is rejected if it doesn’t resolve to a single active record.
To retry card creation safely, optionally send an Idempotency-Key header:
200 OK without creating another card. Reusing the key with a different payload returns 409 Conflict. Records are retained for seven days and then removed by scheduled cleanup.
Only successful 2xx responses are cached. If you receive a definite non-2xx response, use a new key for the retry. If the outcome is unknown, such as after a timeout, retry the same key to avoid creating a duplicate card.
Keys must contain 1–255 printable ASCII characters, without spaces, double quotes, or control characters.
Update a card
PARTNER_API_V1_CARDS.
Lock / unlock / terminate
PARTNER_API_V1_BASIC and PARTNER_API_V1_CARDS.
See the interactive examples under API Reference → cards.