mercadopago
Version:
Mercadopago SDK for Node.js
17 lines (16 loc) • 542 B
TypeScript
/**
* Implementation of the "get subscription" operation.
*
* Sends a GET to `/preapproval/{id}` and returns the full
* subscription resource.
*
* @module clients/preApproval/get
*/
import type { PreApprovalGetClient } from './types';
import type { PreApprovalResponse } from '../../../clients/preApproval/commonTypes';
/**
* Retrieve an existing subscription by its unique identifier.
*
* @returns The full subscription resource.
*/
export default function get({ id, config }: PreApprovalGetClient): Promise<PreApprovalResponse>;