Update or create billing
PUThttps://api.freemius.com/v1/products/{product_id}/users/{user_id}/billing.json
Auth:Bearer TokenSCOPE: PRODUCT
Product-scoped API tokens allow you to operate on the product itself. This token usually allows read-only access to the product configuration and write access to several operations on subscriptions, customers, payments, and more. For most SaaS or app integrations, this is the token you will need.
- Go to the Freemius Developer Dashboard.
- Open the Settings page of the relevant product.
- Click the API & Keys tab.
- Copy the API Bearer Authorization Token from the UI.
Update or create the billing information for a user.
Request
Path Parameters
Bodyrequired
The ISO 3166-1 alpha 2 two-letter country code associated with the entity.
Responses
- 200
- 401
- 402
- 404
Billing information updated.
Schema
The ISO 3166-1 alpha 2 two-letter country code associated with the entity.
Unauthorized access error. The request requires authentication but was not provided or the provided authentication does not satisfy the required permissions.
Schema
The request is missing the specified argument.
Schema
The requested resource was not found.