UNPKG

mercadopago

Version:
9 lines (8 loc) 415 B
import type { PaymentIntentStatusResponse } from '../commonTypes'; import type { PointGetPaymentIntentStatusClient } from './types'; /** * Retrieve the current status of a payment intent. * * @returns The status and creation timestamp of the latest event. */ export default function getPaymentIntentStatus({ payment_intent_id, config }: PointGetPaymentIntentStatusClient): Promise<PaymentIntentStatusResponse>;