mirror of
https://gitlab.com/openlp/website.git
synced 2024-12-22 13:02:50 +00:00
26 lines
546 B
PHP
26 lines
546 B
PHP
|
<?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;
|
||
|
}
|
||
|
}
|