modern-events-calendar-lite/app/api/Stripe/Service/AccountLinkService.php

26 lines
743 B
PHP
Raw Normal View History

2024-10-15 12:04:03 +02:00
<?php
// File generated from our OpenAPI spec
namespace Stripe\Service;
class AccountLinkService extends \Stripe\Service\AbstractService
{
/**
* Creates an AccountLink object that includes a single-use Stripe URL that the
* platform can redirect their user to in order to take them through the Connect
* Onboarding flow.
*
* @param null|array $params
* @param null|array|\Stripe\Util\RequestOptions $opts
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return \Stripe\AccountLink
*/
public function create($params = null, $opts = null)
{
return $this->request('post', '/v1/account_links', $params, $opts);
}
}