Check the payment status of the current account with Stripe
Check the payment status of the current account with Stripe with the Mailly email API for AI agents: POST /billing/purchases/{id}/reconcile. Parameters, request body, responses and code samples.
POST
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
id*stringFormat
uuidTop-up status after the check
application/json- response
success*booleanpurchase*[key: string]?unknowncurl -X POST 'https://api.mailly.site/billing/purchases/497f6eca-6276-4993-bfeb-53cbbbba6f08/reconcile'{ "success": true, "purchase": { "id": "string", "pack_name": "string", "credits": 0, "amount": 0, "currency": "string", "kind": "credits", "status": "pending", "created_at": 0, "paid_at": 0 }, "property1": null, "property2": null}Billing
Balance, charges, and usage logs: endpoints of the Mailly email API for AI agents, with parameters, responses and code samples.
Check the subscription payment of the current account with Stripe POST
Check the subscription payment of the current account with Stripe with the Mailly email API for AI agents: POST /billing/subscription/checkouts/{id}/reconcile. Parameters, request body, responses and code samples.