Subscription
Returns details of a subscription
This API returns details of a subscription
get/subscriptions/{subscriptionId}
Request
- Base URLhttps://api.test.bictorys.com/pay/v1
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
subscriptionIdstring uuid required
Unique identifier of the subscription.
Headers
X-Amzn-Trace-Idstring
HTTP request identifier allow to trace individual request sent from client to service.
Response
Returns details of a subscription.
Example response
{
"id": "fbd2053b-638d-4133-957e-3caf63e6b79c",
"reference": "yourplan_CF34509",
"subscriptionPlanId": "fbd2053b-638d-4133-957e-3caf63e6b79c",
"startDate": "2023-05-22",
"customerId": "fbd2053b-638d-4133-957e-3caf63e6b79c",
"status": "completed",
"nextInstallmentDueDate": "2023-05-22",
"nbrPaidInstallments": 2,
"nbrUnpaidInstallments": 1,
"customerName": "John Dao",
"createdAt": "2022-03-29 10:00:00,000"
}Changes
No recorded changes to this operation across all 1 revision of this API.