Skip to main content
POST
/
v1
/
workspaces
/
{workspaceId}
/
billing
/
auto-top-up
Definir politica de recarga automatica
curl --request POST \
  --url http://localhost:4000/v1/workspaces/{workspaceId}/billing/auto-top-up \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "paymentMethodId": "<string>"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.refy.to/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

workspaceId
string
required

Body

application/json
paymentMethodId
string
required
threshold
number
packSize
number
enabled
boolean

Response

201 - application/json

Politica de recarga automatica salva

The response is of type object.