Pay the outstanding invoice balance using account credit. Supports partial payment if balance is insufficient.
cURL
curl --request POST \ --url https://orbitflare.com/api/customer/v2/invoices/{invoice}/pay-with-balance \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "<string>", "data": { "balance_used": 123, "remainder": 123, "invoice_status": "<string>", "new_user_balance": 123 } }
Bearer token from device or wallet auth
Invoice reference.
Payment processed.
true
显示 子属性
此页面对您有帮助吗?