Card issuing overview

Activate a card

4min
in this tutorial, you'll learn how to ✅ activate a debit card using the card id if you are new to card issuing we recommend you read the card issuing overview docid\ pze4nyany9uiyfuoldqbf before starting this tutorial the tutorial assumes you have a knowledge of apis and how they work for more information on sending api calls, see the api basics docid\ hjr4y6ml96zuyj6trytom the tutorial uses these api endpoints api description card issuing docid\ ap2akoyeot12me1ydsij0 activates the card using the card id the tutorial uses these webhooks webhook description cards card activated debit card activated before you begin make sure you have bank rails & accounts docid\ l9hxcroz7mfrdsih 8lrt card id from when you card issuing docid\ ap2akoyeot12me1ydsij0 register the relevant webhook events to receive the webhook events for this tutorial both partner accounts need to banking and payments docid\ dgnysfx9f7pnesmuxnwsp each specific webhook event type once you are registered, the event objects are sent to the registered urls the event object contains a list of resource identifiers used to download details on each event activate the card activate the card you created in the create a card docid\ xjjd9yejaryomikeldahj tutorial call post /cardmanagement/v1/cards/{id}/activate the id attribute must be set to the card id in the sample below the id is 8709163d 140c 4d95 a111 afa8009e9cd1 a full list of attributes is found card issuing docid\ ap2akoyeot12me1ydsij0 sample activate card request curl x post \ header 'accept application/json' \ header 'authorization bearer '\<token>' https //sandbox crbcos com/cardmanagement/v1/cards/8709163d 140c 4d95 a111 afa8009e9cd1/activate' a successful api call returns a json response with the details of the card the card status is now activated the orderstatus is completed sample activate card response { "id" "8709163d 140c 4d95 a111 afa8009e9cd1", "partnerid" "cd9c12f4 7691 424a b38b af5b0134c611", "productid" "83bed086 8182 4151 a1e3 af5b01362783", "processorcardid" "804951250206718", "accountnumber" "2608927303", "status" "active", "statusreasoncode" "notset", "firstname" "john", "lastname" "smith", "shippingaddress" { "street1" "lane ave", "street2" "string", "city" "big town", "state" "il", "postalcode" "72410", "countrycode" "us" }, "billingaddress" { "street1" "lane ave", "street2" "string", "city" "big town", "state" "il", "postalcode" "72410", "countrycode" "us" }, "phone" { "phonetype" "home", "phonenumber" "9133413131" }, "emailaddress" "john\@anygoogle com", "nameoncard" "john smith", "panlastfour" "3629", "ispinset" false, "expirationdate" "2026 02 13", "adminblocked" false, "fraudsuspect" false, "configurationid" "a6b5a94c f8f9 462b 8ce8 afa400f5b640", "category" "credit", "paymentinstrument" "virtualpan", "processor" "i2c", "shippingtype" "normal", "orderstatus" "completed", "replacementstatus" "notapplicable", "customerid" "2b15a695 13dc 4b10 b4e5 af5b0138873c", "clientidentifier" "string", "processorcustomerid" "t83e9d675a3n3n9o8rz1", "createdat" "2023 02 13t04 37 29 487 05 00", "initialactivation" "2023 02 13t00 00 00 05 00", "activatedat" "2023 02 13t04 43 19 282287 05 00", "lastmodifiedat" "2023 02 13t04 43 19 2962845 05 00" } when the card status changes to active , the cards card activated webhook event fires cards card activated webhook event { "id" "95ac33ca 3d7f 49aa bfc2 afce01113310", "eventname" "cards card activated", "status" "pending", "partnerid" "cd9c12f4 7691 424a b38b af5b0134c611", "createdat" "2023 02 13t04 44 31 282287 05 00", "resources" \[ "cardmanagement/v1/cards/8709163d 140c 4d95 a111 afa8009e9cd1" ], "details" \[ { "cardid" "8709163d 140c 4d95 a111 afa8009e9cd1", "status" "active", "statusreasoncode" "notset" } ] }