Download the PHP package justapnet/justap-server-sdk-php without Composer

On this page you can find all versions of the php package justapnet/justap-server-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package justap-server-sdk-php

justap-server-sdk-php

Document

https://www.justap.cn/docs

Requirements

PHP 5.5 and later

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:

Then run composer install

Manual Installation

Download the files and include autoload.php:

Tests

To run the unit tests:

Getting Started

Please follow the installation procedure and then run the following:

Documentation for API Endpoints

All URIs are relative to http://127.0.0.1:21011

Class Method HTTP request Description
DefaultApi businessUserServiceCreateUser POST /v1/business_users 创建 Business User 对象
DefaultApi businessUserServiceDeleteUser DELETE /v1/business_users/{id} 删除 Business User 对象
DefaultApi businessUserServiceListAllUsers GET /v1/business_users 查询 Business User 对象列表
DefaultApi businessUserServiceRetrieveUser GET /v1/business_users/{id} 查询 Business User 对象
DefaultApi businessUserServiceSearchUsers GET /v1/business_users/search 查询 Business User 对象列表
DefaultApi businessUserServiceUpdateUser PUT /v1/business_users/{user.id} 更新 Business User 对象
DefaultApi businessUserServiceUpdateUser2 PATCH /v1/business_users/{user.id} 更新 Business User 对象
DefaultApi chargeServiceCharges POST /transaction/v1/charges 创建 Charge 对象
DefaultApi chargeServiceCharges2 POST /v1/charges 创建 Charge 对象
DefaultApi chargeServiceQueryCharge GET /transaction/v1/charges/{charge_id} 查询 Charge 对象
DefaultApi chargeServiceQueryCharge2 GET /v1/charges/{charge_id} 查询 Charge 对象
DefaultApi chargeServiceQueryCharge3 GET /v1/charges/merchant_trade_id/{merchant_trade_id} 查询 Charge 对象
DefaultApi chargeServiceQueryChargeList GET /transaction/v1/charges 查询 Charge 对象列表
DefaultApi chargeServiceQueryChargeList2 GET /v1/charges 查询 Charge 对象列表
DefaultApi chargeServiceReverseCharge POST /transaction/v1/charges/{charge_id}/reverse 撤销 Charge 对象
DefaultApi chargeServiceReverseCharge2 POST /v1/charges/{charge_id}/reverse 撤销 Charge 对象
DefaultApi refundServiceQueryRefund GET /transaction/v1/charges/{charge_id}/refunds/{refund_id} 查询 Refund 对象
DefaultApi refundServiceQueryRefund2 GET /v1/refunds/{refund_id} 查询 Refund 对象
DefaultApi refundServiceQueryRefundList GET /transaction/v1/charges/{charge_id}/refunds 查询 Refund 对象列表
DefaultApi refundServiceQueryRefundList2 GET /v1/refunds 查询 Refund 对象列表
DefaultApi refundServiceRefunds POST /transaction/v1/refunds 创建 Refund 对象
DefaultApi refundServiceRefunds2 POST /v1/refunds 创建 Refund 对象
DefaultApi royaltyServiceCreateRoyalty POST /v1/royalties 创建 Royalty 对象
DefaultApi royaltyServiceListAllRoyalties GET /v1/royalties 查询 Royalty 对象列表
DefaultApi royaltyServiceRetrieveRoyalty GET /v1/royalties/{id} 查询 Royalty 对象
DefaultApi settlementServiceCreateSettlementAccount POST /v1/settlement_accounts 创建结算账户
DefaultApi settlementServiceDeleteSettlementAccount DELETE /v1/settlement_accounts/{id} 删除结算账户
DefaultApi settlementServiceListAllSettlementAccounts GET /v1/settlement_accounts 查询结算账户列表
DefaultApi settlementServiceRetrieveSettlementAccount GET /v1/settlement_accounts/{id} 查询结算账户
DefaultApi settlementServiceSearchSettlementAccounts GET /v1/settlement_accounts/search 查询结算账户列表
DefaultApi settlementServiceUpdateSettlementAccount PUT /v1/settlement_accounts/{settlementAccount.id} 更新结算账户
DefaultApi settlementServiceUpdateSettlementAccount2 PATCH /v1/settlement_accounts/{settlementAccount.id} 更新结算账户
CheckoutServiceApi checkoutServiceCreateUnionQrCheckout POST /v1/checkout/union_qr 通过聚合收款码创建订单
CustomerServiceApi customerServiceCreateCustomer POST /v1/customers
CustomerServiceApi customerServiceDeleteCustomer DELETE /v1/customers/{id}
CustomerServiceApi customerServiceListAllCustomers GET /v1/customers
CustomerServiceApi customerServiceRetrieveCustomer GET /v1/customers/{id}
CustomerServiceApi customerServiceSearchCustomers GET /v1/customers/search
CustomerServiceApi customerServiceUpdateCustomer POST /v1/customers/{id}

Documentation For Models

Documentation For Authorization

ApiKeyAuth

Author

[email protected]


All versions of justap-server-sdk-php with dependencies

PHP Build Version
Package Version
Requires php Version ^7 || ^8
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package justapnet/justap-server-sdk-php contains the following files

Loading the files please wait ....