POST
/
v0
/
recharge
curl --request POST \
  --url 'https://api.unify.ai/v0/recharge' \
  --header "Authorization: Bearer $UNIFY_KEY" \
  --header 'Content-Type: application/json' \
  --data '{}'
{}

Create a recharge - either prepaid or auto-recharge.

Authorizations

Authorization
string
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

user_id
string
required
quantity
integer
required
amount_usd
number | string
required
type
string
required
transaction_id
string | null
curl --request POST \
  --url 'https://api.unify.ai/v0/recharge' \
  --header "Authorization: Bearer $UNIFY_KEY" \
  --header 'Content-Type: application/json' \
  --data '{}'
{}