# fluentform/6.2.5/app/Modules/Payments/PaymentMethods/Stripe/API/Account.php

Fluent Forms – Customizable Contact Forms, Survey, Quiz, &amp; Conversational Form Builder, version 6.2.5. 29 lines.

- Page: https://pluginprobe.com/plugins/fluentform/6.2.5/code/app/Modules/Payments/PaymentMethods/Stripe/API/Account.php
- Raw: https://pluginprobe.com/plugins/fluentform/6.2.5/raw/app/Modules/Payments/PaymentMethods/Stripe/API/Account.php
- Modified: 2025-03-19T15:44:40+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/fluentform/6.2.5/code/app/Modules/Payments/PaymentMethods/Stripe/API/Account.php#L10-L20`.

```php
<?php

namespace FluentForm\App\Modules\Payments\PaymentMethods\Stripe\API;

if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly.
}

use FluentForm\Framework\Helpers\ArrayHelper;

if (!defined('ABSPATH')) {
    exit;
}

class Account
{
    use RequestProcessor;
    public static function retrive($accountId, $key)
    {
        ApiRequest::set_secret_key($key);
        if ($accountId) {
            $account = ApiRequest::retrieve('accounts/' . $accountId);
        } else {
            $account = ApiRequest::retrieve('account');
        }
        return self::processResponse($account);
    }
}

```
