UNPKG

mercadopago

Version:
17 lines (16 loc) 565 B
/** * Implementation of the "get subscription plan" operation. * * Sends a GET to `/preapproval_plan/{id}` and returns the full * plan resource. * * @module clients/preApprovalPlan/get */ import type { PreApprovalPlanGetClient } from './types'; import type { PreApprovalPlanResponse } from '../../../clients/preApprovalPlan/commonTypes'; /** * Retrieve an existing subscription plan by its unique identifier. * * @returns The full plan resource. */ export default function get({ id, config }: PreApprovalPlanGetClient): Promise<PreApprovalPlanResponse>;