POST
/
subscriptions
curl --request POST \
  --url https://api.contas.rdstationmentoria.com.br/rest/subscriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "appId": "<string>",
  "priceId": "<string>",
  "coupon": "<string>",
  "redirect": "<string>"
}'
"<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
application/json

Successful response

The response is of type string.

POST
/
subscriptions
curl --request POST \
  --url https://api.contas.rdstationmentoria.com.br/rest/subscriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "appId": "<string>",
  "priceId": "<string>",
  "coupon": "<string>",
  "redirect": "<string>"
}'
"<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
application/json

Successful response

The response is of type string.