Billing
Get subscription invoice preview
get/api/v3/teams/{team_id}/subscriptions/{subscription_id}/invoice-preview
Request
- Base URLhttps://codemagic.io
- AuthAPI key in header x-auth-token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
subscription_idstring required
Example:60a0b1c2d3e4f56789abcdef
team_idstring required
Response
Request fulfilled, document follows
Example response
{
"data": {
"line_items": [
{
"unit_amount": "19.99"
}
],
"taxes": [
{
"percentage": "19.99",
"effective_percentage": "19.99"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.