Get subscription plan by ID
Returns details of a specific subscription plan.
Authorizations
HTTP Basic authentication. Use your secret key as the username and an empty string as password. The API key should be base64 encoded in the format 'username:' when sending the Authorization header.
Path Parameters
Unique subscription plan identifier
Response
Successfully retrieved subscription plan
Unique plan identifier
"2RhQg9M7ZCg3X3nMb9W1kX8Q"
Merchant ID
"2RhQg9M7ZCg3X3nMb9W1kX8Q"
Plan name
"Plano Premium Mensal"
Plan price
99.9
Currency code
"BRL"
Recurrence type
weekly, biweekly, monthly, custom "monthly"
Custom recurrence interval in months
null
Plan end date
null
Message displayed to buyer
"Bem-vindo ao Plano Premium!"
Accepted payment methods
["credit_card"]Plan image URL
"https://storage.example.com/plans/image.png"
Plan status
active, inactive "active"
Number of active subscriptions
150
Creation timestamp
"2024-01-15T10:30:00.000Z"
Last update timestamp
"2024-01-15T10:30:00.000Z"