跳转到主要内容
POST
/
customer
/
v2
/
invoices
/
{invoice}
/
pay-with-balance
Pay Invoice With Balance
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
  }
}

授权

Authorization
string
header
必填

Bearer token from device or wallet auth

路径参数

invoice
string
必填

Invoice reference.

响应

Payment processed.

success
boolean
示例:

true

message
string
data
object