{ "opencollection": "1.0.0", "info": { "name": "AFM Access Profiles Billing API", "version": "0.1.0" }, "items": [ { "info": { "name": "Billing", "type": "folder" }, "items": [ { "info": { "name": "Get Customer Billing Data", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/app/v1/billing", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get customer billing data.\nUses primary DB to ensure immediate consistency (e.g., seeing newly added payment methods)." }, { "info": { "name": "Get Billing Link", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/app/v1/billing/link", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get billing portal link.\nUses primary DB to ensure immediate consistency." }, { "info": { "name": "Top Up Wallet", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/app/v1/billing/topup", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Top Up Wallet" }, { "info": { "name": "Update Topup", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/app/v1/billing/auto-topup", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update Topup" } ] } ], "bundled": true }