Registers a customer for virtual card creation. This enrollment step is required before issuing any virtual cards to the customer. Fields that are already stored on the customer’s profile may be omitted.
POST https://api.yativo.com/api/v1/customer/virtual/cards/activate
Requires an Idempotency-Key header.
Request Body
The ID of the customer to activate. Must exist in your customers table.
Customer photo (base64 or URL). Required if not already on the customer’s profile.
Government ID type (e.g. "passport", "drivers_license", "national_id"). Required for Nigerian customers.
Front image of the customer’s government-issued ID. Required if not already on the customer’s profile.
Government-issued ID number. Required if not already on the customer’s profile.
Customer address. Each sub-field is required if not already on the customer’s profile. Show customer_address fields
ISO 3166-1 alpha-2 country code (e.g. "US").
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: activate-da44a3e6-001' \
-d '{
"customer_id": "da44a3e6-eb5d-429f-8d17-357aa5a6cdf2",
"user_photo": "https://example.com/photo.jpg",
"idType": "passport",
"customer_idFront": "https://example.com/id-front.jpg",
"customer_idNumber": "A12345678",
"customer_address": {
"country": "US",
"city": "New York",
"state": "NY",
"zipcode": "10001",
"street": "Main St",
"number": "123"
}
}'
{
"success" : "User registered successfully."
}