File manager - Edit - /home/premiey/www/wp-content/plugins/ameliabooking/vendor/stripe/stripe-php/lib/Service/Terminal/ConnectionTokenService.php
Back
<?php // File generated from our OpenAPI spec namespace AmeliaStripe\Service\Terminal; class ConnectionTokenService extends \AmeliaStripe\Service\AbstractService { /** * To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived * connection token from Stripe, proxied through your server. On your backend, add * an endpoint that creates and returns a connection token. * * @param null|array $params * @param null|array|\AmeliaStripe\Util\RequestOptions $opts * * @throws \AmeliaStripe\Exception\ApiErrorException if the request fails * * @return \AmeliaStripe\Terminal\ConnectionToken */ public function create($params = null, $opts = null) { return $this->request('post', '/v1/terminal/connection_tokens', $params, $opts); } }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Generation time: 0 |
proxy
|
phpinfo
|
Settings