Update an issuing card by ID

PATCH {{baseInfraUrl}}/{{version}}/issuing-card/:cardId

You can patch an Issuing Card to block it, to change spending rules or to change registered information.

ParametersValue TypeDescription
idREQUIREDId of the Issuing Card to be patched.
statusOPTIONALYou may block the Issuing Card by passing blocked in the status or you may reactivate a blocked Issuing Card by passing active in the status.
displayNameOPTIONALCard displayed name.
rulesOPTIONALNew spending rules for the Issuing Card.
tagsOPTIONALList of strings for tagging.

Request Body

{"displayName"=>"Updated Holder", "status"=>"active", "tags"=>["technology"], "rules"=>[{"name"=>"Example Rule", "countries"=>[{"code"=>"BRA"}], "interval"=>"week", "amount"=>900000, "categories"=>[{"code"=>"fastFoodRestaurants"}], "currencyCode"=>"BRL", "methods"=>[{"code"=>"token"}, {"code"=>"manual"}]}]}

RESPONSES

status: OK

{"card":{"binId":"53810202","city":"Sao Paulo","created":"2022-05-17T20:00:37.619527+00:00","displayName":"Updated Holder","district":"Bela Vista","expiration":"****-**-**T**:**:**.******+00:00","holderExternalId":"my-entity/123","holderId":"4843929958612992","holderName":"Tony Stark","holderTaxId":"012.345.678-90","id":"5701684319748096","number":"**** **** **** 3714","rules":[{"amount":900000,"currencyCode":"BRL","id":"6533407823626240","interval":"week","name":"Example Rule"}],"securityCode":"***","stateCode":"SP","status":"active","streetLine1":"Av. Paulista, 200","streetLine2":"Apto. 123","tags":["technology"],"type":"virtual","updated":"2022-05-17T20:01:25.454105+00:00","zipCode":"01311-200"},"message":"Card successfully updated"}