Prerequisites
- VCN feature enabled on your account. Contact your Clara integration team if you don’t see it.
- A valid Bearer token and mTLS client certificate. See Authentication.
Step 1: Retrieve your company configuration
Before creating a VCN, fetch the RCNs (real card numbers), suppliers, and templates available to your company. The IDs returned here are required in the create request.rcns[].id, suppliers[].id, and templates[].id you’ll use in the next step.
Step 2: Create the VCN
Create a VCN locked to a specific supplier, amount, and validity window.cardNumber, cvv, and expirationDate are the credentials you’ll share with the supplier to complete the payment.
VCN card details are only returned once at creation time. Store
cardNumber, cvv, and expirationDate securely — they are not retrievable again via the API.Step 3: Share with the supplier
Provide the supplier with the card details to process payment:- Card number:
5432109876543210 - CVV:
927 - Expiration:
06/25 - Billing amount:
$12,500.00 MXN
Step 4: Verify the transaction
After the supplier charges the card, confirm the transaction settled by querying your transactions filtered by the card:transactionLabel (merchant name) and amountValue to confirm the charge. A settled VCN transaction will have status.code: "OP" (AUTHORIZED).
