Activate Issued Card Using Hosted Page
A contact can activate his or her physical issued card.
Rapyd sends you webhooks for the following actions:
Personalize a card - See Bulk-Issued Card Personalized Webhook.
Activate a card - See Issued Card Activated Webhook.
Prerequisites
Rapyd Wallet. See Rapyd Wallet.
Wallet contact with a valid phone number. See Wallet Contact.
ewallet_contact
ID of the wallet contact that the card is assigned to. Must have a valid phone number. String starting with cont_.
personalize
When true, connects an issued card to a wallet contact. Relevant to a card that was issued in bulk and is not assigned to a specific person.
skip_pin
When true, the customer cannot reset the PIN.
false
/v1/hosted/issuing/activate_card
Activate Card
curl -X post https://sandboxapi.rapyd.net/v1/hosted/issuing/activate_card -H 'access_key: your-access-key-here' -H 'Content-Type: application/json' -H 'idempotency: your-idempotency-parameter-here' -H 'salt: your-random-string-here' -H 'signature: your-calculated-signature-here' -H 'timestamp: your-unix-timestamp-here' -d '{ "ewallet_contact": "cont_c34bd6bfd9575f6f7b06647999a93126" } '
{ "status": { "error_code": "", "status": "SUCCESS", "message": "", "response_code": "", "operation_id": "0c4f445f-cc59-4ef6-94e9-2b0caf538d34" }, "data": { "status": "NEW", "cancel_url": "https://rapyd.net", "complete_url": "https://rapyd.net", "language": "", "merchant_color": "323fff", "merchant_logo": "", "merchant_website": "https://rapyd.net", "merchant_customer_support": {}, "merchant_alias": "Doc Team", "merchant_terms": "", "merchant_privacy_policy": "", "page_expiration": 1644501683, "redirect_url": "https://sandboxcheckout.rapyd.net/otp?token=hp_issuing_act_9bd3c890277c6bb0f30637acd3f625bc", "region": null, "geo_country": null, "id": "hp_issuing_act_9bd3c890277c6bb0f30637acd3f625bc", "ewallet_contact": "cont_c34bd6bfd9575f6f7b06647999a93126" } }
Personalize
curl -X post https://sandboxapi.rapyd.net/v1/hosted/issuing/activate_card -H 'access_key: your-access-key-here' -H 'Content-Type: application/json' -H 'idempotency: your-idempotency-parameter-here' -H 'salt: your-random-string-here' -H 'signature: your-calculated-signature-here' -H 'timestamp: your-unix-timestamp-here' -d '{ "ewallet_contact": "cont_ceee1e56ff00768ffc14147d7474fb05", "personalize": true } '
{ "status": { "error_code": "", "status": "SUCCESS", "message": "", "response_code": "", "operation_id": "0c4f445f-cc59-4ef6-94e9-2b0caf538d34" }, "data": { "status": "NEW", "cancel_url": "https://rapyd.net", "complete_url": "https://rapyd.net", "language": "", "merchant_color": "323fff", "merchant_logo": "", "merchant_website": "https://rapyd.net", "merchant_customer_support": {}, "merchant_alias": "Doc Team", "merchant_terms": "", "merchant_privacy_policy": "", "page_expiration": 1667122081, "redirect_url": "https://sandboxcheckout.rapyd.net/otp?token=hp_issuing_act_9bd3c890277c6bb0f30637acd3f625bc", "region": null, "geo_country": null, "id": "hp_issuing_act_9bd3c890277c6bb0f30637acd3f625bc", "ewallet_contact": "cont_ceee1e56ff00768ffc14147d7474fb05", "personalize": true } }
Prevent PIN Reset
curl -X post https://sandboxapi.rapyd.net/v1/hosted/issuing/activate_card -H 'access_key: your-access-key-here' -H 'Content-Type: application/json' -H 'idempotency: your-idempotency-parameter-here' -H 'salt: your-random-string-here' -H 'signature: your-calculated-signature-here' -H 'timestamp: your-unix-timestamp-here' -d '{ "ewallet_contact": "cont_a3298d5649505006cbd447e5030bf56f", "skip_pin": true } '
{ "status": { "error_code": "", "status": "SUCCESS", "message": "", "response_code": "", "operation_id": "fa51f521-f37d-466e-83bb-d6c9dcaab3c7" }, "data": { "status": "NEW", "cancel_url": "https://www.rapyd.net", "complete_url": "https://www.rapyd.net", "language": "", "merchant_color": "350775", "merchant_logo": "", "merchant_website": "https://www.rapyd.net", "merchant_customer_support": {}, "merchant_alias": "Doc Team", "merchant_terms": "https://www.rapyd.net", "merchant_privacy_policy": "https://www.rapyd.net", "page_expiration": 1666869203, "redirect_url": "https://sandboxhosted.rapyd.net/otp?token=hp_issuing_act_9e4042a2d21d7d20c8ba94c4661ccf30", "id": "hp_issuing_act_9e4042a2d21d7d20c8ba94c4661ccf30", "ewallet_contact": "cont_a3298d5649505006cbd447e5030bf56f", "skip_pin": true } }