Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Start hosted checkout for Pro upgrade

POST/v1/settings/billing/upgrade
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Request body
requiredapplication/json
skip_walletbooleanrequired
Responses
200OK
checkout_urlstringrequired
invoice_idstring
invoice_numberstring
payment_session_idstringrequired
reference_idstring
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X POST "/v1/settings/billing/upgrade" \
  -H "Content-Type: application/json" \
  -d '{
  "skip_wallet": true
}'
Response
{
  "checkout_url": "string",
  "invoice_id": "string",
  "invoice_number": "string",
  "payment_session_id": "string",
  "reference_id": "string"
}