Skip to main content
POST
/
payment
/
config
Set Config
curl --request POST \
  --url https://api.example.com/payment/config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "limit": 123
}'
{
  "limit": 123
}

Authorizations

Authorization
string
header
required

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

Cookies

session
String

Body

application/json
limit
number | null

Set usage limit (in USD). Negative means no limit.null/not-set means don't change it

Response

Successful Response

limit
number
required

Spending limit (in USD). Negative means no limit