<?php

// File generated from our OpenAPI spec

namespace STRP_SUB_Vendor\Stripe\Service\TestHelpers;

/**
 * @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
 *
 * @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
 */
class CustomerService extends \STRP_SUB_Vendor\Stripe\Service\AbstractService
{
    /**
     * Create an incoming testmode bank transfer.
     *
     * @param string $id
     * @param null|array{amount: int, currency: string, expand?: string[], reference?: string} $params
     * @param null|RequestOptionsArray|\STRP_SUB_Vendor\Stripe\Util\RequestOptions $opts
     *
     * @return \STRP_SUB_Vendor\Stripe\CustomerCashBalanceTransaction
     *
     * @throws \STRP_SUB_Vendor\Stripe\Exception\ApiErrorException if the request fails
     */
    public function fundCashBalance($id, $params = null, $opts = null)
    {
        return $this->request('post', $this->buildPath('/v1/test_helpers/customers/%s/fund_cash_balance', $id), $params, $opts);
    }
}
