Create a new migrated payment
POSThttps://api.freemius.com/v1/products/{product_id}/subscriptions/{subscription_id}/payments.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.
In case you want to synchronize migrated subscription from the legacy platform use this endpoint to have our system log a migrated payment. Depending on your use case you can also choose to extend the license. Please read our migration documentation to learn more.
Request
Path Parameters
Bodyrequired
The source of the migration data. To get support migrating from other platform please see our documentation.
Responses
- 200
- 400
- 401
- 402
- 404
The payment was successfully created.
Schema
The ISO 3166-1 alpha 2 two-letter country code associated with the entity.
The source of the migration data. To get support migrating from other platform please see our documentation.
0- Freemius1- Other2- Easy Digital Downloads (EDD)3- WooCommerce (WC)4- Rating Widget5- Gumroad6- CodeCanyon7- ThemeForest8- AppSumo9- SendOwl10- WHMCS11- Lemon Squeezy
Bad request. The request could not be understood by the server due to malformed syntax or arguments.
Schema
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.