Ask for a card for yourself. An approver decides in Slash.

post/v2/card-requests

Request

  • Base URL
    https://api.slash.com
  • URL
    https://api.slash.com/v2/card-requests
  • Auth
    API key in header X-API-Key

Headers

X-Idempotency-Keystring required

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.

Request body

OR

Example request

{
  "requestedLimit": {
    "amount": {
      "amount": 1250
    }
  }
}

Response

The card request.

idstring required

Card request id with the card_request_ prefix.

status'pending' | 'approved' | 'rejected' | 'canceled' | 'expired' required

approved requests issue their card shortly after; cardId is set once it exists.

type'virtual' | 'physical' required
namestring required
accountIdstring required
virtualAccountIdstring
cardGroupIdstring
requesterUserIdstring required
memostring
cardIdstring

The card issued for the request.

createdAtstring date-time required
resolvedAtstring date-time

Example response

{
  "id": "card_request_2rj4l7hmrrrcv",
  "name": "Ads – Meta",
  "accountId": "sa_group_2rj4l7hmrrrcv",
  "virtualAccountId": "subaccount_2rj4l7hmrrrcv",
  "cardGroupId": "card_group_2rj4l7hmrrrcv",
  "requesterUserId": "u_2rj4l7hmrrrcv",
  "requestedLimit": {
    "amount": {
      "amount": 1250
    }
  },
  "cardId": "c_2rj4l7hmrrrcv"
}

Changes