Skip to main content
POST
/
v1
/
cards
/
{id}
/
top-up
Top up card
curl --request POST \
  --url https://api.usenaive.ai/v1/cards/{id}/top-up \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount_cents": 123
}
'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Path Parameters

id
string
required

Body

application/json
amount_cents
integer
required

Response

Checkout created.

The response is of type object.