Function customerFromPaymentIntentId

Extracts the Stripe Customer from a Payment Intent Id.

  • Parameters

    Returns Promise<{
        error: Error;
        value?: undefined;
    } | {
        error?: undefined;
        value: Customer;
    }>