rewards-wise / finverse-sdk-php
Documentation of the early finverse services
0.0.1
2025-05-30 20:08 UTC
Requires
- php: ^8.1
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.3
- guzzlehttp/psr7: ^1.7 || ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.5
- phpunit/phpunit: ^8.0 || ^9.0
This package is not auto-updated.
Last update: 2025-05-31 18:35:20 UTC
README
Documentation of the early finverse services
Installation & Usage
Requirements
PHP 8.1 and later.
Composer
To install the bindings via Composer, add the following to composer.json
:
{ "repositories": [ { "type": "vcs", "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" } ], "require": { "GIT_USER_ID/GIT_REPO_ID": "*@dev" } }
Then run composer install
Manual Installation
Download the files and include autoload.php
:
<?php require_once('/path/to/FinversePhp/vendor/autoload.php');
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: Oauth2 $config = FinversePhp\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); $apiInstance = new FinversePhp\Api\CustomerApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); $mandate_id = 'mandate_id_example'; // string | The mandate_id that is being authorized $authorize_mandate_request = new \FinversePhp\Model\AuthorizeMandateRequest(); // \FinversePhp\Model\AuthorizeMandateRequest | request body for authorizing a mandate try { $result = $apiInstance->authorizeMandate($mandate_id, $authorize_mandate_request); print_r($result); } catch (Exception $e) { echo 'Exception when calling CustomerApi->authorizeMandate: ', $e->getMessage(), PHP_EOL; }
API Endpoints
All URIs are relative to https://api.sandbox.finverse.net
Class | Method | HTTP request | Description |
---|---|---|---|
CustomerApi | authorizeMandate | POST /mandates/{mandateId}/authorize | |
CustomerApi | createMandate | POST /mandates | |
CustomerApi | createPayment | POST /payments | |
CustomerApi | createPaymentAccount | POST /payment_accounts | |
CustomerApi | createPaymentInstruction | POST /payments/instruction | |
CustomerApi | createPaymentUser | POST /payment_users | |
CustomerApi | deletePaymentAccount | DELETE /payment_accounts/{paymentAccountId} | |
CustomerApi | generateLinkToken | POST /link/token | |
CustomerApi | getInstitution | GET /institutions/{institutionId} | |
CustomerApi | getLineItemsForDisplay | GET /calculate/line_items/{paymentType} | |
CustomerApi | getLoginIdentityById | GET /login_identity/{loginIdentityId} | |
CustomerApi | getLoginIdentityHistory | GET /login_identity/{loginIdentityId}/history | |
CustomerApi | getMandate | GET /mandates/{mandateId} | |
CustomerApi | getMandateAuth | GET /mandates/auth | |
CustomerApi | getMandateAuthLink | POST /mandates/link | |
CustomerApi | getPayment | GET /payments/{paymentId} | |
CustomerApi | getPaymentInstruction | GET /payments/instruction/{paymentInstructionId} | |
CustomerApi | getPaymentUser | GET /payment_users/{paymentUserId} | |
CustomerApi | listInstitutions | GET /institutions | |
CustomerApi | listPaymentAccounts | GET /payment_users/{paymentUserId}/payment_accounts | |
CustomerApi | listPaymentAccountsWithEnrichedData | GET /payment_accounts | |
CustomerApi | refreshToken | POST /auth/token/refresh | |
CustomerApi | setMandateInstitution | POST /mandates/institution_selection | |
CustomerApi | submitAuthChecklist | POST /mandates/auth | |
CustomerApi | updatePayment | POST /payments/{paymentId} | |
CustomerApi | updateTestPaymentStatus | POST /testing/payments/{paymentId}/status | |
DefaultApi | cancelPaymentLink | POST /payment_links/{paymentLinkId}/cancel | |
DefaultApi | cancelPayout | POST /payouts/{payoutId}/cancel | |
DefaultApi | changePaymentMethodPaymentLink | POST /payment_link/fvlink/payment_method/change | |
DefaultApi | confirmManualPayment | POST /payments/manual_payment | |
DefaultApi | confirmPayment | POST /payment_links/confirm | |
DefaultApi | createFpsToken | POST /payment_links/fps/token | |
DefaultApi | createMandateForExistingSender | POST /mandates/sender_account | |
DefaultApi | createPaymentLink | POST /payment_links | |
DefaultApi | createPaymentLinkCardPayment | POST /payment_links/card | |
DefaultApi | createPaymentLinkMandate | POST /payment_links/mandates | |
DefaultApi | createPaymentMethod | POST /payment_users/{paymentUserId}/payment_methods | |
DefaultApi | createScheduledPayout | POST /payouts/scheduled | |
DefaultApi | demotePaymentAttempt | POST /payment_link/fvlink/payment_attempt/demote | |
DefaultApi | downloadBalanceStatement | GET /ledger/statement | |
DefaultApi | getFpsQrCode | GET /payment_links/fps/qr_code | |
DefaultApi | getInstitutionsForCustomer | GET /institutions/customer | |
DefaultApi | getPaymentLink | GET /payment_links/{paymentLinkId} | |
DefaultApi | getPaymentMethod | GET /payment_methods/{paymentMethodId} | |
DefaultApi | getPaymentMethodPaymentLink | GET /payment_link/fvlink/payment_method | |
DefaultApi | getPaymentPaymentLink | GET /payment_link/fvlink/payment | |
DefaultApi | getPayoutById | GET /payouts/{payoutId} | |
DefaultApi | getSenderPaymentUser | GET /payment_link/fvlink/payment_user/sender | |
DefaultApi | listDetokenizedMandates | GET /mandates/details | |
DefaultApi | listMandates | GET /mandates | |
DefaultApi | listPaymentMethods | GET /payment_users/{paymentUserId}/payment_methods | |
DefaultApi | listPayments | GET /payments | |
DefaultApi | listPayouts | GET /payouts | |
DefaultApi | refreshPaymentAttempt | POST /payment_link/fvlink/payment_attempt/refresh | |
DefaultApi | setAutopayConsent | POST /payment_link/fvlink/payment_user/autopay | |
DefaultApi | updatePaymentUser | POST /payment_users/{paymentUserId} | |
LinkApi | createLink | POST /link | |
LinkApi | createLinkWoauth | POST /link/woauth | |
LinkApi | linkAction | POST /link/action/{loginIdentityId} | |
LinkApi | linkStatus | GET /link/status/{loginIdentityId} | |
LinkApi | linkStatusNonSensitive | GET /link/fvlink/status/{loginIdentityId} | |
LinkApi | relink | POST /link/relink | |
LinkApi | relinkV2 | POST /link/relink/{loginIdentityId} | |
LinkApi | token | POST /auth/token | |
LoginIdentityApi | deleteLoginIdentity | DELETE /login_identity | |
LoginIdentityApi | generateLinkToken | POST /link/token | |
LoginIdentityApi | getAccount | GET /accounts/{accountId} | |
LoginIdentityApi | getAccountNumber | GET /account_numbers/{accountId} | |
LoginIdentityApi | getBalanceHistory | GET /balance_history/{accountId} | |
LoginIdentityApi | getCompositeStatement | GET /composite_statement | |
LoginIdentityApi | getIdentity | GET /identity | |
LoginIdentityApi | getIncomeEstimateByLoginIdentityId | GET /income | |
LoginIdentityApi | getLoginIdentity | GET /login_identity | |
LoginIdentityApi | getStatement | GET /statements/{statementId} | |
LoginIdentityApi | getStatements | GET /statements | |
LoginIdentityApi | listAccounts | GET /accounts | |
LoginIdentityApi | listCardDetails | GET /card_details | |
LoginIdentityApi | listTransactionsByAccountId | GET /transactions/{accountId} | |
LoginIdentityApi | listTransactionsByLoginIdentityId | GET /transactions | |
LoginIdentityApi | refreshLoginIdentity | POST /login_identity/refresh | |
PublicApi | authCallback | GET /auth/callback | |
PublicApi | generateCustomerAccessToken | POST /auth/customer/token | |
PublicApi | getCredSubmitJwks | GET /jwks | |
PublicApi | getPaymentsJwks | GET /payments/jwks |
Models
- AccessTokenResponse
- Account
- AccountNumber
- AccountType
- ActionRequest
- AllProductStatus
- ApiLinkRequest
- ApiRelinkRequest
- AuthChecklistFactor
- AuthChecklistOptions
- AuthorizeMandateRequest
- AutopayEnrollmentConfiguration
- BadRequestModel
- BadRequestModelError
- BadRequestModelV2
- BadRequestModelV2Error
- BalanceHistory
- CardAccount
- CardDetails
- CardFvLinkDetails
- CardFvLinkResponse
- CardRecipient
- CardTotal
- CategoryPredictions
- ChangePaymentMethodFvLinkResponse
- CompositeStatementLink
- ConfirmPaymentResponse
- CreateCardRequest
- CreateCardRequestCardDetails
- CreateFpsTokenResponse
- CreateMandateRequest
- CreateMandateRequestWithDdaReference
- CreateMandateResponse
- CreateMandateSender
- CreateMandateWithSenderAccountRequest
- CreatePaymentAccountRequest
- CreatePaymentInstructionResponse
- CreatePaymentLinkCardPaymentResponse
- CreatePaymentLinkMandateRequest
- CreatePaymentLinkMandateResponse
- CreatePaymentLinkRequest
- CreatePaymentMethodRequest
- CreatePaymentRequest
- CreatePaymentUserRequest
- CreateRecipientAccount
- CreateScheduledPayoutRequest
- CurrencyAmount
- CustomerPaymentInstruction
- DeleteLoginIdentityResponse
- DownloadBalanceStatementResponse
- EncryptedPayload
- ErrBodyModel
- ErrBodyModelV2
- ErrorResponse
- FVCard
- FVCardDetails
- Fee
- FpsQrCodeResponse
- FvEmbeddedErrorModel
- FvErrorModel
- FvErrorModelV2
- GenericAmount
- GetAccountNumberResponse
- GetAccountResponse
- GetBalanceHistoryResponse
- GetIdentityResponse
- GetJWKSResponse
- GetLineItemsForDisplayResponse
- GetLoginIdentityByIdResponse
- GetLoginIdentityHistoryResponse
- GetMandateAuthLinkRequest
- GetMandateAuthLinkResponse
- GetMandateAuthResponse
- GetMandateResponse
- GetMandateSender
- GetPaymentInstructionsResponse
- GetPaymentUserResponse
- GetStatementLinkResponse
- GetStatementsResponse
- Identity
- IdentityAddress
- IdentityDateOfBirth
- IdentityEmail
- IdentityName
- IdentityPhoneNumber
- IncomeEstimate
- IncomeResponse
- IncomeStream
- IncomeTotal
- Institution
- InstitutionShort
- IntegrationMetadataRequest
- IntegrationMetadataResponse
- JWKSKey
- LineItem
- LinkRequest
- LinkResponse
- LinkStatusActionModel
- LinkStatusPendingModel
- LinkStatusResponse
- LinkTokenRequest
- LinkTokenResponse
- LinkTokenUserConfigs
- ListAccountsResponse
- ListCardsDetailsResponse
- ListMandatesResponse
- ListPaymentAccountsResponse
- ListPaymentAccountsWithEnrichedDataResponse
- ListPaymentMethodsResponse
- ListPaymentsResponse
- ListPayoutsResponse
- ListTransactionsResponse
- LoginAction
- LoginField
- LoginIdentity
- LoginIdentityBillingDetails
- LoginIdentityError
- LoginIdentityLoginMethodsAvailable
- LoginIdentityShort
- LoginIdentityStatusDetails
- LoginMethod
- MandateAuthEncryptionInfo
- MandateAuthLinkCustomizations
- MandateDetailsForPaymentLink
- MandateDetailsRequest
- MandateDetailsRequestWithDdaReference
- MandateDetailsResponse
- MandateFvLinkDetails
- MandateFvLinkResponse
- MandateRecipient
- MandateRecipientAccount
- MandateRecipientRequest
- MandateSenderAccount
- MandateSenderAccountRequest
- ManualPaymentConfirmationRequest
- ManualPaymentConfirmationResponse
- MonthlyIncomeEstimate
- NonSensitiveLinkStatusResponse
- NonSensitiveLinkStatusSuccessModel
- OtherInfo
- PaymentAccount
- PaymentAccountDetails
- PaymentAccountDetailsWithEnrichedData
- PaymentDetails
- PaymentDetails2
- PaymentDetailsReferences
- PaymentFvLinkDetails
- PaymentFvLinkResponse
- PaymentInfo
- PaymentInstruction
- PaymentLinkCustomizations
- PaymentLinkDetails
- PaymentLinkResponse
- PaymentLinkSender
- PaymentLinkSenderResponse
- PaymentLinkTokenResponse
- PaymentMethodFvLinkResponse
- PaymentMethodIntegrationMetadata
- PaymentMethodIntegrationMetadataCybersourceMetadata
- PaymentMethodIntegrationMetadataStripeMetadata
- PaymentMethodIntegrationMetadataStripeMetadataCustomer
- PaymentMethodOverview
- PaymentMethodResponse
- PaymentResponse
- PaymentSchedule
- PaymentSetupOptions
- PaymentSnapshotPaymentMethod
- PaymentSnapshotPaymentMethodCard
- PaymentUser
- PaymentUserWithoutEmail
- PayoutDetails
- PayoutSnapshotDetails
- PayoutSnapshotResponse
- Principal
- ProductStatus
- RapidstorMetadataRequest
- RapidstorMetadataResponse
- RecipientAccountFilters
- RecipientAccountNumber
- RecipientAccountResponse
- RedirectUriResponse
- RefreshData
- RefreshLoginIdentityLinkCustomizations
- RefreshLoginIdentityRequest
- RefreshPaymentAttemptResponse
- RefreshRequest
- RefreshTokenResponse
- RelinkRequest
- SenderAccountFvLinkResponse
- SenderDetail
- SetAutopayConsentRequest
- SetMandateInstitutionRequest
- SetMandateInstitutionResponse
- SingleSourceIncome
- Statement
- StatementLink
- SubmitAuthChecklistRequest
- SubmitAuthChecklistResponse
- SwaggerErrBodyModel
- TokenRequest
- TokenResponse
- Transaction
- TransactionLimits
- UpdatePaymentRequest
- UpdatePaymentUserRequest
- UpdateTestPaymentStatusRequest
- UserButton
- UserField
- UserFieldOption
- UserMessage
Authorization
Authentication schemes defined for the API:
Oauth2
- Type:
OAuth
- Flow:
application
- Authorization URL: ``
- Scopes:
- test: Test
- account: Account
- balance: Balance
- transaction: Transaction
- credit: Credit
- investment: Investment
- institution: Institution
- link: Link
Tests
To run the tests, use:
composer install vendor/bin/phpunit
Author
About this package
This PHP package is automatically generated by the OpenAPI Generator project:
- API version:
0.0.1
- Generator version:
7.13.0
- Generator version:
- Build package:
org.openapitools.codegen.languages.PhpClientCodegen