Skip to main content

Get Plan

Endpoint for getting a Plan.

info

Please be aware that this endpoint requires a Manage Transactions API Key.

GET /api/v1/groups/{group_id}/revere_pay/{linked_account_id}/recurring/plans/{plan_id}

Response​

CodeDescription
200Success
400Bad Request / Validation error
404Not Found
500Internal Error

Example Usage​

plans.js
var headers = new Headers();
headers.append('Authorization', 'API_KEY');

var requestOptions = {
	method: 'GET',
	headers: headers,
	redirect: 'follow'
};
const group_id = '';
const linked_account_id = '';
const plan_id = '';
const url = `https://api.reverepayments.dev/api/v1/groups/${group_id}/revere_pay/${linked_account_id}/recurring/plans/${plan_id}`;
fetch(url, requestOptions)
	.then((response) => response.text())
	.then((result) => console.log(result))
	.catch((error) => console.log('error', error));

Example Success Response​

{
	"id": "4e178777-2113-4815-adbd-c86fa8a5246e",
	"name": "Starter plan",
	"duration": 0,
	"amount": 1500,
	"initial_amount": 1000,
	"trial_amount": 1000,
	"billing_cycle": "monthly",
	"billing_factor": 1,
	"linked_account_id": "771f7f31-1e91-4359-ae12-d163f7064f5b",
	"description": "",
	"tax": 0,
	"shipping_amount": 0,
	"custom_fields": null,
	"trial_period_days": 14,
	"max_retry_count": 3,
	"created_at": "2026-02-06T21:58:58.611953Z",
	"updated_at": "2026-02-06T21:58:58.611953Z",
	"proration_behavior": "none"
}