Update a spending card

Update a Moov issued card.

To use this endpoint from the browser, you’ll need to specify the /accounts/{accountID}/issued-cards.write scope when generating a token.
PATCH
/issuing/{accountID}/issued-cards/{issuedCardID}
cURL
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
curl -X PATCH "https://api.moov.io/issuing/{accountID}/issued-cards/{issuedCardID}" \
  -H "Authorization: Bearer {token}" \
  --data-raw '{
    "authorizedUser": {
      "firstName": "Jane",
      "lastName": "Doe",
      "birthDate": {
        "day": 9,
        "month": 11,
        "year": 1989
      }
    },
    "memo": "string",
    "state": "closed"
  }'\
204 404 429
Successfully updated issued card.
No issued card with the specified accountID and cardID was found.
Request was refused due to rate limiting.

X-Retry-In

string <duration>
How long (in milliseconds) to wait until able to retry the request.

Path parameters

accountID

string <uuid> required
ID of the account.

issuedCardID

string <uuid> required
ID of the issued card.

Body

application/json

authorizedUser

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

memo

string
Optional descriptive name.

state

string<enum>
Updates the state of a Moov issued card. Currently only supports the closed state.
Possible values: closed