Payments: Get

Request

GET https://api.univapay.com/stores/{storeId}/subscriptions/{subscriptionId}/payments/{paymentId}

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/11e89a0a-8cee-d660-b984-3fcaaed46e7c \
--header 'Authorization: Bearer {secret}.{jwt}'

Response

Code: 200

Headers:

Content-Type: application/json

Body:

{
  "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"
}