GET api/Parking/GetSubscription?subscriptionId={subscriptionId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subscriptionId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
SubscriptionDataName | Description | Type | Additional information |
---|---|---|---|
id | integer |
Optional |
|
order_id | string |
Optional |
|
accepted | boolean |
Optional |
|
metadata | SubscriptionCardData |
Optional |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "order_id": "sample string 2", "accepted": true, "metadata": { "last4": "sample string 1", "exp_month": 2, "exp_year": 3 } }