v1

latestOpenAPI 3.1.02026-07-24170121.2 MB

Update a Card

This API updates debit card or credit card details of a customer.

patch/v1/cards/{card_id}

Path parameters

card_idstring required

card_id refers to a specific card that needs to be updated.

Headers

Acceptstring required

Indicates which content types, expressed as MIME types, the client is able to understand.

Content-Typestring required

Indicates the media type of the resource sent in the HTTP message body. <br /><br /><b>Possible Values:</b><br /> application/json<br />application/x-www-form-urlencoded

Request body

exp_monthinteger

The month value displayed on the card used for the transaction.

exp_yearinteger

The YYYY value mentioned on the card used for the transaction.

namestring

Name of the cardholder as mentioned on the card used to carry out a transaction.

address_line1string

The cardholder's billing address for line 1.

address_line2string

The cardholder's billing address for line 2.

citystring

The cardholder's city name. Can be a City/District/Suburb/Town/Village.

state_codestring

The cardholder's state name. Can be State/County/Province/Region.

zipinteger

The cardholder's billing ZIP code.

country_codestring

The cardholder's country name.

Response

200

object required