1
0
mirror of https://gitlab.com/openlp/website.git synced 2024-12-23 05:22:53 +00:00
website/files/stripe/lib/BankAccount.php

26 lines
546 B
PHP
Raw Normal View History

<?php
namespace Stripe;
/**
* Class BankAccount
*
* @package Stripe
*/
class BankAccount extends ExternalAccount
{
/**
* @param array|null $params
* @param array|string|null $options
*
* @return BankAccount The verified bank account.
*/
public function verify($params = null, $options = null)
{
$url = $this->instanceUrl() . '/verify';
list($response, $opts) = $this->_request('post', $url, $params, $options);
$this->refreshFrom($response, $opts);
return $this;
}
}