Skip to main content

Commands

List Cards

Shows all cards with status, provider, last4, and spending info.

Create Cardholder

Required once before issuing managed virtual cards. prepaid gift cards do not need a cardholder.

Create a Card

Returns a checkout URL. After payment, run check-payment to issue the card.

Issue After Payment

Polls the checkout session. If paid, issues the card and returns status: "active".

View Card Credentials

Returns full card number, CVC/PIN, expiry, and remaining balance.

Top Up

Returns a checkout URL to add $50.00 to the card’s spending limit.

Agent Assignment

Log a Transaction

View Transactions

Cancel a Card

Cancels the managed virtual cards card (if applicable), removes agent assignments, and sets status to canceled.

Refund a Failed Card

Only works for cards in issuing_failed or payment_failed status. Refunds the original payment.