Subscription Group Invoice Account

Create Subscription Group Prepayment

POST
/subscription_groups/{uid}/prepayments.json

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."}