# give/4.16.1/vendor/stripe/stripe-php/lib/Service/MandateService.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.1. 25 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.1/code/vendor/stripe/stripe-php/lib/Service/MandateService.php
- Raw: https://pluginprobe.com/plugins/give/4.16.1/raw/vendor/stripe/stripe-php/lib/Service/MandateService.php
- Modified: 2021-09-27T12:30:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.1/code/vendor/stripe/stripe-php/lib/Service/MandateService.php#L10-L20`.

```php
<?php

// File generated from our OpenAPI spec

namespace Stripe\Service;

class MandateService extends \Stripe\Service\AbstractService
{
    /**
     * Retrieves a Mandate object.
     *
     * @param string $id
     * @param null|array $params
     * @param null|array|\Stripe\Util\RequestOptions $opts
     *
     * @throws \Stripe\Exception\ApiErrorException if the request fails
     *
     * @return \Stripe\Mandate
     */
    public function retrieve($id, $params = null, $opts = null)
    {
        return $this->request('get', $this->buildPath('/v1/mandates/%s', $id), $params, $opts);
    }
}

```
