Subscription Group Invoice Account

Deduct Subscription Group Service Credit

POST
/subscription_groups/{uid}/service_credit_deductions.json

Deducts service credit for a subscription group. Credit will be deducted from the group in the amount specified in the request body.

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

deduction*

Response Body

application/json

application/json

curl -X POST "https://example.com/subscription_groups/string/service_credit_deductions.json" \  -H "Content-Type: application/json" \  -d '{    "deduction": {      "amount": 10,      "memo": "Deduct from group account"    }  }'
{  "id": 100,  "amount_in_cents": 1000,  "ending_balance_in_cents": 0,  "entry_type": "Debit",  "memo": "Debit from group account"}