Payments: List
Request
GET https://api.univapay.com/stores/{storeId}/subscriptions/{subscriptionId}/payments
Headers:
Authorization: Bearer {secret}.{jwt}
Body:
curl --request GET \
--url https://api.univapay.com/stores/37ff5664-18c6-11e7-8221-ff4914d76afc/subscriptions/aaadee6a-18e3-11e7-a461-e3b078a7dc52/payments \
--header 'Authorization: Bearer {secret}.{jwt}'
Response
Code: 200
Headers:
Content-Type: application/json
Body:
{
"items": [
{
"id": "11e89a0a-8cee-d660-b984-3fcaaed46e7c",
"due_date": "2018-08-21",
"zone_id": "Asia/Tokyo",
"amount": 10000,
"currency": "JPY",
"amount_formatted": 10000,
"is_paid": false,
"is_last_payment": false,
"created_on": "2018-08-07T06:24:33.961256Z",
"updated_on": "2018-08-07T06:24:33.961256Z"
},
{
"id": "11e89a0a-8cc5-2662-9460-2b14b1a601ba",
"due_date": "2018-08-07",
"zone_id": "Asia/Tokyo",
"amount": 1000,
"currency": "JPY",
"amount_formatted": 1000,
"is_paid": true,
"is_last_payment": false,
"created_on": "2018-08-07T06:24:33.646223Z",
"updated_on": "2018-08-07T06:24:33.88776Z"
}
],
"has_more": false
}