Skip to main content
POST
/
virtual-cards
/
cards
/
{cardId}
/
enable
Enable Card
curl --request POST \
  --url https://getmipay.com/api/v1/virtual-cards/cards/{cardId}/enable \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "operation": "topup",
    "card_id": "CARD_123456",
    "new_balance": 20,
    "currency": "USD",
    "status": "success",
    "transactions": [
      {
        "id": "TXN_123",
        "amount": 10,
        "currency": "USD",
        "type": "topup",
        "status": "completed",
        "created_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getmipay.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT bearer token returned by POST /action/auth. Send protected requests with: Authorization: Bearer . Tokens expire after 24 hours.

Path Parameters

cardId
string
required

Virtual card ID

Example:

"CARD_123456"

Response

200 - application/json

Card enabled successfully

success
boolean
Example:

true

data
object