πŸ”„πŸ’³ Update Card Status

Endpoint PUT https://api.xixapay.com/api/card/{id}/status

πŸ” Request Headers

{
  "Authorization": "Bearer YOUR_API_SECRET",
  "Content-Type": "application/json",
  "api-key": "YOUR_API_KEY"
}

πŸ“₯ Request Body Parameters:

Field
Type
Required
Description

status

string

βœ…

The new status to apply. Must be one of: active, frozen, blocked.

businessId

string

βœ…

Your registered business ID (max 255 characters)

πŸ”„ Valid Status Values:

  • active – Reactivate the card if it was previously blocked

  • frozen – Temporarily disable the card

  • blocked – Permanently disable the card (irreversible)

Example

{
  "status": "blocked",
  "businessId": "ddddd"
}

βœ… Success Response:

{
  "status": "success",
  "message": "Card status updated",
  "data": {
    "card_id": "card_abc123",
    "status": "blocked",
    "balance": 00.00,
    "currency": "USD"
  }
}

Last updated