Update the status of a payment instrument
PATCH {{baseUrl}}/paymentInstruments/:id
Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with inactive status, you can still update the balance account associated with the card.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"balanceAccountId": "BA32272223222B59CZ3T52DKZ",
"description": "S. Hopper - Main card",
"issuingCountryCode": "GB",
"status": "suspended",
"type": "card",
"card": {
"brand": "mc",
"brandVariant": "mcdebit",
"cardholderName": "Simon Hopper",
"formFactor": "virtual",
"bin": "555544",
"expiration": {
"month": "01",
"year": "2024"
},
"lastFour": "5785",
"number": "************5785"
},
"id": "PI3227C223222B5CMD278FKGS"
} |
ENDPOINTS