Skip to main content
GET
/
subscriptions
/
plans
Get subscription plans
curl --request GET \
  --url https://api.orafi.app/v1/subscriptions/plans \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "message": "Plans retrieved",
  "data": [
    {
      "id": "plan_abc123",
      "name": "Basic Monthly",
      "amount": 9.99,
      "currency": "USDC",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}
Retrieve all subscription plans.

Authorizations

x-api-key
string
header
required

API key for merchant authentication required for most endpoints

Response

200 - application/json

List of subscription plans

success
boolean
Example:

true

message
string
Example:

"Plans retrieved"

data
object[]