API 参考
查询商户发票
按账单标识查询 StableOps 商户账单详情,核对金额、到期时间、关联订阅和支付状态,为催缴或资金核对提供依据。账单付款需要用户钱包主动转账,创建支付请求本身不会结清账单。应根据返回的精确金额付款,并在支付达到最终确认后核对账单结算与订阅权益。
GET
/v1/merchant/invoices/{id}Authorization
bearerAuth AuthorizationBearer <token>
Paste your API key from the dashboard.
In: header
Path Parameters
id*unknown
Merchant invoice id.
Response Body
application/json
curl -X GET "https://example.com/v1/merchant/invoices/{id}"{
"id": "string",
"subscription_id": "string",
"merchant_user_id": "string",
"kind": "first",
"period_start": "2019-08-24T14:15:22Z",
"period_end": "2019-08-24T14:15:22Z",
"amount": "string",
"asset": "USDC",
"status": "open",
"payment_order_id": "string",
"target_plan_id": "string",
"due_at": "2019-08-24T14:15:22Z",
"paid_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}这篇文档怎么样?
最后更新