inquire
Use this API to inquire about the subscription status and other information about a previously submitted subscription request.
Request parameters
subscriptionId String
The unique ID assigned by Antom to identify a subscription.
Specify either the subscriptionId or the subscriptionRequestId. If both are provided, the subscriptionId will take precedence.
More information:
- Maximum length: 64 characters
subscriptionRequestId String
The unique ID assigned by a merchant to identify a subscription request.
Specify either the subscriptionId or the subscriptionRequestId. If both are provided, the subscriptionId will take precedence.
More information:
- Maximum length: 64 characters
Response parameters
result Result REQUIRED
The result of the API call.
subscriptionId String REQUIRED
The unique ID assigned by Antom to identify a subscription.
More information:
- Maximum length: 64 characters
subscriptionRequestId String REQUIRED
The unique ID assigned by a merchant to identify a subscription request.
More information:
- Maximum length: 64 characters
subscriptionStatus String
The subscription status. Valid values are:
ACTIVE: indicates that the subscription becomes active.TERMINATED: indicates that the subscription is terminated.
More information:
- Maximum length: 64 characters
paymentAmount Amount REQUIRED
The payment amount of each subscription period.