Файл: sngine-v2.8/Script/includes/libs/Stripe/lib/Service/AccountLinkService.php
Строк: 31
<?php
namespace StripeService;
class AccountLinkService extends StripeServiceAbstractService
{
/**
* Creates an AccountLink object that returns a single-use Stripe URL that the user
* can redirect their user to in order to take them through the Connect Onboarding
* flow.
*
* @param null|array $params
* @param null|array|StripeUtilRequestOptions $opts
*
* @throws StripeExceptionApiErrorException if the request fails
*
* @return StripeAccountLink
*/
public function create($params = null, $opts = null)
{
return $this->request('post', '/v1/account_links', $params, $opts);
}
}