Switch Card Account

Reassign a card to a different wallet within the same organization. Useful when restructuring sub-accounts.

Request

curl --request PATCH \
  --url "$baseUrl/organization/cards/{id}/account" \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "nadapayCode": "NP-0002"
  }'
FieldTypeRequiredDescription
nadapayCodestringYesThe new wallet to tie the card to

Response

{
  "success": true,
  "statusCode": 200,
  "message": "Card account switched successfully",
  "data": {
    "id": "card_01hw3x7k2r4p5q6m8n9v",
    "nadapayCode": "NP-0002"
  }
}

When to use this

Use this when a card needs to draw from a different wallet going forward — for example, moving a card from one sub-organization's account to another. The card itself (number, PIN, status) doesn't change; only which wallet it debits.


Did this page help you?