Virtual Cards – API Endpoint Reference
action | method & endpoint | description |
|---|---|---|
Register Card User | POST /api/virtualcards/registercarduser | Registers a new virtual card user in the system. Required before card creation. |
Create Card | POST /api/virtualcards/createcard | Issues a new virtual Visa card for a registered user. |
Top Up Card | POST /api/virtualcards/topup | Adds funds to a virtual card from your wallet/float. |
List Cards (User) | GET /api/virtualcards/cards | Retrieves all virtual cards linked to a user. |
List Card Users | GET /api/virtualcards/users | Retrieves a list of all registered virtual card users. |
Fetch Card User | GET /api/virtualcards/users/{card_user_id} | Gets details for a specific registered card user. |
Fetch Card | GET /api/virtualcards/cards/{cardId} | Retrieves card details using the card ID. |
List Transactions on Card | GET /api/virtualcards/transactions/{cardId} | Retrieves all transactions for a specific virtual card. |
List All Card Transactions | GET /api/virtualcards/cards/transactions | Retrieves transactions across multiple virtual cards. |
Withdraw from Card | POST /api/virtualcards/withdraw | Withdraws funds from a virtual card back to the user's wallet. |
Freeze Card | POST /api/virtualcards/freeze | Temporarily suspends the card from transacting. |
Unfreeze Card | POST /api/virtualcards/unfreeze | Reactivates a previously frozen card. |
Terminate Card | POST /api/virtualcards/terminate | Permanently deactivates the card. Cannot be reversed. |
Base URL for all endpoints: https://api.bitnob.com