POST
/
credits
/
deduct
curl --request POST \
  --url https://connect.withvayu.com/credits/deduct \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "creditAmount": 123,
  "customerId": "<string>"
}'

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200

RequestSuccess