Replace a card
Replace a lost, stolen, damaged or undelivered physical card. The original closes, and the response is the new card.
Authorizations
User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.
Headers
Unique caller-generated key for one create request. Once an authenticated, schema-valid request reaches the operation, the key is permanently consumed for that operation and legal entity whether the operation succeeds or fails. Reusing it in that scope returns 409 and never replays a response, unlike API v1, which replays the original response for a matching key.
1 - 255Body
The new card keeps the original's name, holder, account, virtual account, card group, design and spending limits and restrictions, and ships to the original's address with its embossed name and second line unless physical sets them. Set a billing address or recurringPaymentsOnly, or change anything else, on the new card with PATCH /v2/cards/{cardId}.
Response
The new card.
A virtual or physical card. Its number and security code are only available from GET /v2/cards/{cardId}/details.
pending: being issued, or waiting for a physical card's fee. awaiting_activation: a physical card its holder has not activated. active: approves authorizations. paused: declines them. inactive: deactivated by Slash or the issuer; can only be closed. closed: permanent.
pending, awaiting_activation, active, paused, inactive, closed