Create a spending card

Request a virtual card be created.

To use this endpoint from the browser, you’ll need to specify the /accounts/{accountID}/issued-cards.write scope when generating a token.
POST
/issuing/{accountID}/issued-cards
cURL
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
curl -X POST "https://api.moov.io/issuing/{accountID}/issued-cards" \
  -H "Authorization: Bearer {token}" \
  --data-raw '{
    "fundingWalletID": "string",
    "authorizedUser": {
      "firstName": "Jane",
      "lastName": "Doe",
      "birthDate": {
        "day": 9,
        "month": 11,
        "year": 1989
      }
    },
    "formFactor": "virtual",
    "memo": "string",
    "expiration": {
      "month": "01",
      "year": "25"
    },
    "controls": {
      "singleUse": false,
      "velocityLimits" : [
        {
          "amount": 1000,
          "interval": "per-transaction"
        }
      ]
    }
  }'\
200 400 404 429
Card created.
{
  "authorizedUser": {
    "firstName": "Jane",
    "lastName": "Doe"
  },
  "brand": "Discover",
  "controls": {
    "singleUse": false,
    "velocityLimits": [
      {
        "amount": 10000,
        "interval": "per-transaction"
      }
    ]
  },
  "createdOn": "2019-08-24T14:15:22Z",
  "expiration": {
    "month": "01",
    "year": "21"
  },
  "formFactor": "virtual",
  "fundingWalletID": "string",
  "issuedCardID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
  "lastFourCardNumber": "1234",
  "memo": "string",
  "state": "active"
}
The request was invalid.
No account with the specified accountID was found.
Request was refused due to rate limiting.

Retry-After

number

Path parameters

accountID

string <uuid> required
ID of the account.

Body

application/json

authorizedUser

object required
Fields for identifying an authorized individual.
right_key Show child attributes

firstName

string required

lastName

string required

birthDate

object
An individual’s birthdate.
right_key Show child attributes

day

integer required

month

integer required

year

integer required

formFactor

string<enum> required
Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
Possible values: virtual

fundingWalletID

string required

controls

object
right_key Show child attributes

singleUse

boolean
Indicates if the card is single-use. If true, the card closes after the first authorization.

velocityLimits

array
Sets the spending limit per time interval. Only one limit per interval is supported.
right_key Show child attributes

amount

integer
The maximum amount in cents that can be spent in a given interval.

interval

string<enum>
Specifies the time frame for the velocity limit. Currently supports only per-transaction limits.
Possible values: per-transaction

expiration

object
The expiration date of the card or token.
right_key Show child attributes

month

string 2 characters

year

string 2 characters

memo

string
Optional descriptive name.

Response

application/json

authorizedUser

object
Fields for identifying an authorized individual.
right_key Show child attributes

firstName

string

lastName

string

brand

string<enum>
The card brand.
Possible values: American Express, Discover, Mastercard, Visa

controls

object
right_key Show child attributes

singleUse

boolean
Indicates if the card is single-use. If true, the card closes after the first authorization.

velocityLimits

array
Sets the spending limit per time interval. Only one limit per interval is supported.
right_key Show child attributes

amount

integer
The maximum amount in cents that can be spent in a given interval.

interval

string<enum>
Specifies the time frame for the velocity limit. Currently supports only per-transaction limits.
Possible values: per-transaction

createdOn

string<date-time> <=24 characters

expiration

object
The expiration date of the card or token.
right_key Show child attributes

month

string 2 characters

year

string 2 characters

formFactor

string<enum>
Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
Possible values: virtual

fundingWalletID

string
Unique identifier for the wallet funding the card.

issuedCardID

string<uuid> <=36 characters
UUID

lastFourCardNumber

string

memo

string
Optional descriptor for the card.

state

string<enum>

The state represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.

  • active: The card is operational and approves authorizations. Generally becomes active shortly after card creation.
  • inactive: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process.
  • closed: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
  • pending-verification: Awaiting additional authorized user verification before the card can be activated.
Possible values: active, inactive, pending-verification, closed