Skip to content
myela

Retrieve plan

GET/v1/plans/{plan_id}Link

SandboxSecret keyplans.retrieve

Request fields

Edit a field and the generated request updates immediately.

Path parameters
stringrequired

The plan used to create the subscription.

Response contract

The successful wire shape and errors an integration should branch on.

200

Plan

application/json
idstringrequired
Unique plan identifier.
object"plan"required
Stable resource discriminator.
namestringrequired
Plan name.
amountintegerrequired
Renewal amount in minor units.
currencystringrequired
Three-letter currency code.
intervalstringrequired
Renewal interval.
intervalCountintegerrequired
Intervals between renewals.
createdAtstringrequired
ISO 8601 creation timestamp.
Example response
{
  "id": "plan_01JEXAMPLE",
  "object": "plan",
  "name": "Standard monthly",
  "amount": 4999,
  "currency": "USD",
  "interval": "month",
  "intervalCount": 1,
  "createdAt": "2026-08-10T20:49:51.653Z"
}
Error responses
401authentication_failed

The key is missing, malformed, revoked, or invalid for this environment.

403permission_denied

The key does not have plans.retrieve.

404not_found

The resource does not exist for this merchant.

422invalid_request

One or more request fields are invalid.