Get Subscription

Return details of a subscription.

SecurityMarketplace Api Key | Merchant Secret Token | Admin JWT | Marketplace JWT | Merchant JWT
Request
path Parameters
id
required
string
Responses
200
400
401
403
404
405
406
409
422
429
500
503
get/subscriptions/{id}
Request samples
Response samples
application/json
{
  • "subscriptionId": "subs_ZiG6p8fud0ETu1p7",
  • "merchantId": "mcht_ZiG6pMfud0ETu1pd",
  • "customerId": "cust_ZiG6pMfud0ETu1pe",
  • "referenceCustomerId": "string",
  • "orderId": "ordr_ZiG6pMfud0ETu1ph",
  • "subscriptionAmount": 0,
  • "subscriptionCurrency": "AUD",
  • "paymentMethodDescription": "string",
  • "state": "created",
  • "stateUpdates": [
    ],
  • "frequency": "weekly",
  • "nextPaymentScheduledAt": "2019-08-24T14:15:22Z",
  • "cancelScheduledAt": "2019-08-24T14:15:22Z",
  • "transactions": [
    ],
  • "communications": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}
Copyright © April Solutions 2023. All right reserved.