Request Body
The ID of the customer to activate for virtual cards.
curl -X POST 'https://api.yativo.com/api/v1/customer/virtual/cards/activate' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: unique-key-here' \
-d '{
"customer_id": "da44a3e6-eb5d-429f-8d17-357aa5a6cdf2"
}'
{
"status": "success",
"status_code": 200,
"message": "Customer activated for virtual cards",
"data": {
"customer_id": "da44a3e6-eb5d-429f-8d17-357aa5a6cdf2",
"card_program_active": true
}
}
Enroll a customer in the virtual card program
POST /customer/virtual/cards/activate
curl -X POST 'https://api.yativo.com/api/v1/customer/virtual/cards/activate' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: unique-key-here' \
-d '{
"customer_id": "da44a3e6-eb5d-429f-8d17-357aa5a6cdf2"
}'
{
"status": "success",
"status_code": 200,
"message": "Customer activated for virtual cards",
"data": {
"customer_id": "da44a3e6-eb5d-429f-8d17-357aa5a6cdf2",
"card_program_active": true
}
}