Get Plan by Id
/rpy/be-plan/v1/plans/{plan_id}Get Recurrence Plan by Id
This endpoint retrieves detailed information about a specific recurrence plan using its unique plan_id. It is useful for viewing the configuration of a subscription plan, including billing cycle, payment methods, and amount.
Usage Scenarios:
- Retrieving full details of a recurrence plan for display or review.
- Validating a specific plan’s configuration before customer subscription.
Notes:
- Requires the plan_id as a path parameter in UUIDv4 format.
- The x-seller-id header is mandatory to identify the requesting merchant.
- Returns full plan metadata including period, amount, currency, payment types, and floating data if applicable.
- Ensures that only plans associated with the authenticated seller are accessible.
Path Parameters
Plan identifier.
Query Parameters
Response
OK
Plan period.
Invalid Requisition
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Not Found
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Unprocessable Entity
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Internal server or service error
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.