Skip to main content
POST
/
api
/
cards
/
{id}
/
fund
Add funds to an existing card from treasury balance
curl --request POST \
  --url https://mag3nt.com/api/cards/{id}/fund \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 25
}'
{
  "success": true,
  "card_id": "<string>",
  "added": 123,
  "new_limit": 123
}

Authorizations

Authorization
string
header
required

API key prefixed with 'Bearer sx_live_...'

Path Parameters

id
string
required

Body

application/json
amount
required

Amount in USDC to add

Example:

25

Response

Card topped up

success
boolean
card_id
string
added
new_limit