Subscription Group Invoice Account
Create Subscription Group Prepayment
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.
Authorization
BasicAuth AuthorizationBasic <token>
The username is a Maxio Chargify API key. The password is x.
In: header
Path Parameters
uid*string
The uid of the subscription group
Request Body
application/json
prepayment*
Response Body
application/json
application/json
curl -X POST "https://example.com/subscription_groups/string/prepayments.json" \ -H "Content-Type: application/json" \ -d '{ "prepayment": { "amount": 0, "details": "string", "memo": "string", "method": "check" } }'{ "id": 6049554, "amount_in_cents": 10000, "ending_balance_in_cents": 5000, "entry_type": "Debit", "memo": "Debit from invoice account."}List Prepayments For Subscription Group GET
Lists a subscription group's prepayments.
Issue Subscription Group Service Credit POST
Issues service credit for a subscription group. Credit will be added to the group in the amount specified in the request body. The credit will be applied to group member invoices as they are generated.