Create Subscription Group Prepayment
Built with APIMatic
Adds a prepayment for a subscription group. This endpoint requires an amount, details, method, and memo. On success, the prepayment will be added to the group's prepayment balance.
The username is a Maxio Chargify API key and the password is x. Basic authentication works only with the US and EU environments, which connect to chargify.com directly. The Maxio API Gateway environment does not accept Basic authentication.
In: header
The uid of the subscription group
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X POST \ --url 'https://subdomain.chargify.com/subscription_groups/uid/prepayments.json' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ --data-raw '{ "prepayment": { "amount": 1, "details": "details", "memo": "memo", "method": "check" }}'