StableOps
API 参考

查询门户发票支付状态

在 StableOps 门户会话内查询账单付款状态,刷新用户支付进度并核对结算结果,不能把浏览器成功返回当成付款凭证。门户令牌限定用户可访问的数据,不能替代商户管理密钥,也不代表已完成付款。服务端应验证用户身份并安全签发会话,最终权益以账单和订阅状态为准。

GET/v1/merchant/portal/invoices/{id}/payment-status

Path Parameters

id*unknown

Merchant invoice id.

Response Body

application/json

curl -X GET "https://example.com/v1/merchant/portal/invoices/{id}/payment-status"
{
  "invoice_id": "string",
  "status": "open",
  "payment_order": {
    "id": "string",
    "merchant_order_id": "string",
    "amount": "string",
    "requested_amount": "string",
    "status": "created",
    "expires_at": "2019-08-24T14:15:22Z",
    "payment_instructions": [
      {
        "chain": "ethereum",
        "asset": "USDC",
        "address": "string"
      }
    ]
  }
}

这篇文档怎么样?

最后更新