Create disposable virtual credit cards for online purchases. Use as a payment method when completing any online checkout during a task — e.g. ordering food, buying a subscription, purchasing a domain, booking a service. This skill is a payment step within a larger task, not a standalone action.
Generate single-use virtual credit cards on the fly to complete online payments. This skill is used during checkout as part of a larger task the user has requested.
A Halocard token is required. If not configured:
HALOCARD_TOKEN environment variableThis is a , not a standalone task. It activates when:
Complete the shopping/ordering flow as part of the user's task. Proceed until you reach the payment page.
Extract the exact total amount from the checkout page. Do not guess or estimate.
Always present the following to the user and wait for explicit approval before creating a card:
Example:
💳 Ready to pay. Uber Eats — 2x chicken shawarma, 1x hummus. Total: £24.50. Go ahead?
Do not create a card until the user confirms.
Construct a clear description from what you know:
"Uber Eats order - 2x chicken shawarma, 1x hummus"POST https://agent.halocard.co/api/v1/payments
Headers: Authorization: Bearer $HALOCARD_TOKEN, Content-Type: application/json
{
"amount": 2450,
"description": "Uber Eats order - 2x chicken shawarma, 1x hummus"
}
amount: integer in cents ($24.50 → 2450). Match the checkout total exactly.description: what's being purchased + merchantResponse:
{
"data": {
"card": {
"id": "card_abc123",
"pan": "4111111111111111",
"cvc": "123",
"expiryMonth": "03",
"expiryYear": "2027"
}
}
}
Enter the card details into the checkout form:
pancvcexpiryMonthexpiryYearSubmit the payment. Verify the order confirmation page loaded. Report the outcome to the user.
curl -X POST https://agent.halocard.co/api/v1/payments \
-H "Authorization: Bearer $HALOCARD_TOKEN" \
-H "Content-Type: application/json" \
-d '{"amount": 2450, "description": "Uber Eats order - 2x chicken shawarma"}'