付款方式
GET
/api/v1/account/credits/payments返回您帐户中最近 100 笔信用付款
请求参数
Header 参数
X-OAI-API-KEY
string
必需
示例值:
your-api-key
Content-Type
string
必需
示例值:
application/json
Body 参数text/plain
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
payments
array [object {4}]
必需
credits
integer
必需
price
string
必需
receipt
string
必需
date
string
必需
示例
{
"payments": [
{
"credits": 7168,
"price": "$71.68 USD",
"receipt": "https://pay.stripe.com/receipts/payment/CAcQARoXChVhY2N0Xz...",
"date": "2023-04-03T20:49:30.000000Z"
},
{
"credits": 2000,
"price": "$20.00 USD",
"receipt": "https://pay.stripe.com/receipts/payment/CAcQARoXChVhY2N0XzFMRnhySkVPb2tzbHZoSmIo1_XroAYyBsuxjHQh1zosFpv2yaA7uHhuXDo3HgKVpY...",
"date": "2023-03-22T12:55:52.000000Z"
},
{
"credits": 2000,
"price": "$20.00 USD",
"receipt": "https://pay.stripe.com/receipts/payment/CAcQARoXChVhY2N0XzFMRnhySkVPb2tzbHZoSmIol9HgngYyBuafybh7QTosFsBxpQNwZONtjygP_8wI_B...",
"date": "2023-01-30T20:29:11.000000Z"
},
{
"credits": 1000,
"price": "$10.00 USD",
"receipt": "https://pay.stripe.com/receipts/payment/CAcQARoXChVhY2N0XzFMRnhySkVPb2tzbHZoSmIouOWlngYyBpb6DZSuTjosFjJ62mZJR3MCwX9SEfnnJCr...",
"date": "2023-01-19T16:41:28.000000Z"
},
{
"credits": 1000,
"price": "$10.00 USD",
"receipt": "https://pay.stripe.com/receipts/payment/CAcQARoXChVhY2N0XzFMRnhySkVPb2tzbHZoSmIotfmbngYyBswa61x_2josFtXqoAMcr2N_BSpQhuec5XO...",
"date": "2023-01-17T19:53:25.000000Z"
},
{
"credits": 1000,
"price": "$10.00 USD",
"receipt": "https://pay.stripe.com/receipts/payment/CAcQARoXChVhY2N0XzFMRnhySkVPb2tzbHZoSmIo6_D7nQYyBpW_enbbmjosFhoMj2n1iZZP72R6d1bOujx...",
"date": "2023-01-11T17:56:59.000000Z"
}
]
}
最后修改时间: 8 个月前