rewards-wise/finverse-sdk-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rewards-wise/finverse-sdk-php

Composer 安装命令:

composer require rewards-wise/finverse-sdk-php

包简介

Documentation of the early finverse services

README 文档

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

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

info@finverse.com

About this package

This PHP package is automatically generated by the OpenAPI Generator project:

  • API version: 0.0.1
    • Generator version: 7.13.0
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen

rewards-wise/finverse-sdk-php 适用场景与选型建议

rewards-wise/finverse-sdk-php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 379 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 05 月 30 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「php」 「rest」 「api」 「sdk」 「openapi」 「openapitools」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 rewards-wise/finverse-sdk-php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 rewards-wise/finverse-sdk-php 我们能提供哪些服务?
定制开发 / 二次开发

基于 rewards-wise/finverse-sdk-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 379
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 10
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: unlicense
  • 更新时间: 2025-05-30