Get subscription status

Get subscription status

Request

UAT URL

POST https://api-uat.staging.nexway.build/connect/subscription

Production URL

POST https://api.nexway.store/connect/subscription

Request headers

Parameter name Value Description Additional
secret string

Access secret

Required

Request body

The request body takes a complete SubscriptionRequest resource, containing the following writable properties:

{
    "partnerOrderNumber": "string",
    "subscriptionId": "int32"
}

Properties

Name Type Description Additional
partnerOrderNumber string

Your unique order number

subscriptionId int32

An ID corresponding to subscription in given order

Authorisation

This request requires the use of one of following authorisation methods: OAuth2.

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

Success

SubscriptionStatusResponse
401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not Found

500 Internal Server Error

Failure

Example

{
    "partnerOrderNumber": "XXXXXXXXXX",
    "subscriptionId": "XXXXXXXX"
}

Explore this API

request

request

Request Content-Type
secret

Access secret

Response Content-Type

Choose an authorisation method:

Access Token Access token to be used for request
Try it out!