No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This PHP package is automatically generated by the OpenAPI Generator project:
- API version: 1.10.0
- Package version: 1.10.0
- Build package: org.openapitools.codegen.languages.PhpClientCodegen
PHP 5.5 and later
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/soxyl/saferpay.git"
}
],
"require": {
"soxyl/saferpay": "*@dev"
}
}
Then run composer install
Download the files and include autoload.php
:
require_once('/path/to/Saferpay JSON API PHP Client/vendor/autoload.php');
To run the unit tests:
composer install
./vendor/bin/phpunit
Please follow the installation procedure and then run the following:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuth
$config = Soxyl\Saferpay\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Soxyl\Saferpay\Api\AliasApi(
// 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
);
$alias_assert_insert_request = new \Soxyl\Saferpay\Model\AliasAssertInsertRequest(); // \Soxyl\Saferpay\Model\AliasAssertInsertRequest |
try {
$result = $apiInstance->aliasAssertInsertPost($alias_assert_insert_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AliasApi->aliasAssertInsertPost: ', $e->getMessage(), PHP_EOL;
}
?>
All URIs are relative to https://www.saferpay.com/api/Payment/v1
Class | Method | HTTP request | Description |
---|---|---|---|
AliasApi | aliasAssertInsertPost | POST /Alias/AssertInsert | |
AliasApi | aliasDeletePost | POST /Alias/Delete | |
AliasApi | aliasInsertDirectPost | POST /Alias/InsertDirect | |
AliasApi | aliasInsertPost | POST /Alias/Insert | |
BatchApi | batchClosePost | POST /Batch/Close | |
OmniChannelApi | omniChannelAcquireTransactionPost | POST /OmniChannel/AcquireTransaction | |
OmniChannelApi | omniChannelInsertAliasPost | POST /OmniChannel/InsertAlias | |
PaymentPageApi | paymentPageAssertPost | POST /PaymentPage/Assert | |
PaymentPageApi | paymentPageInitializePost | POST /PaymentPage/Initialize | |
TransactionApi | transactionAdjustAmountPost | POST /Transaction/AdjustAmount | |
TransactionApi | transactionAssertCapturePost | POST /Transaction/AssertCapture | |
TransactionApi | transactionAssertRedirectPaymentPost | POST /Transaction/AssertRedirectPayment | |
TransactionApi | transactionAssertRefundPost | POST /Transaction/AssertRefund | |
TransactionApi | transactionAuthorizeDirectPost | POST /Transaction/AuthorizeDirect | |
TransactionApi | transactionAuthorizePost | POST /Transaction/Authorize | |
TransactionApi | transactionAuthorizeReferencedPost | POST /Transaction/AuthorizeReferenced | |
TransactionApi | transactionCancelPost | POST /Transaction/Cancel | |
TransactionApi | transactionCapturePost | POST /Transaction/Capture | |
TransactionApi | transactionInitializePost | POST /Transaction/Initialize | |
TransactionApi | transactionMultipartCapturePost | POST /Transaction/MultipartCapture | |
TransactionApi | transactionMultipartFinalizePost | POST /Transaction/MultipartFinalize | |
TransactionApi | transactionQueryPaymentMeansPost | POST /Transaction/QueryPaymentMeans | |
TransactionApi | transactionRedirectPaymentPost | POST /Transaction/RedirectPayment | |
TransactionApi | transactionRefundDirectPost | POST /Transaction/RefundDirect | |
TransactionApi | transactionRefundPost | POST /Transaction/Refund |
- Address
- AddressForm
- Alias
- AliasAssertInsertRequest
- AliasAssertInsertResponse
- AliasDeleteRequest
- AliasDeleteResponse
- AliasInfo
- AliasInsertCheck
- AliasInsertCheckResult
- AliasInsertDirectRequest
- AliasInsertDirectResponse
- AliasInsertRequest
- AliasInsertResponse
- Amount
- BankAccount
- BankAccountInfo
- BasicPayment
- BatchCloseRequest
- BatchCloseResponse
- BillpayCapture
- Brand
- CaptureReference
- Card
- CardForm
- CardInfo
- ClientInfo
- DccInfo
- DirectDebitInfo
- ErrorResponse
- FraudFreeInfo
- InstallmentOptions
- InvoiceInfo
- LiabilityInfo
- MarketplaceCapture
- Notification
- OmniChannelAcquireTransactionRequest
- OmniChannelAcquireTransactionResponse
- OmniChannelInsertAliasRequest
- OmniChannelInsertAliasResponse
- Payer
- PayerInfo
- Payment
- PaymentMeans
- PaymentMeansInfo
- PaymentOptions
- PaymentPageAssertRequest
- PaymentPageAssertResponse
- PaymentPageInitializeRequest
- PaymentPageInitializeResponse
- PaymentPagePayment
- PaymentTransaction
- PendingNotification
- RecurringOptions
- Redirect
- Refund
- RefundTransaction
- RegisterAlias
- RegistrationErrorInfo
- RegistrationResult
- RequestHeader
- ResponseHeader
- ReturnUrls
- Styling
- ThreeDsInfo
- TransactionAdjustAmountRequest
- TransactionAdjustAmountResponse
- TransactionAssertCaptureRequest
- TransactionAssertCaptureResponse
- TransactionAssertRedirectPaymentRequest
- TransactionAssertRedirectPaymentResponse
- TransactionAssertRefundRequest
- TransactionAssertRefundResponse
- TransactionAuthorizeDirectRequest
- TransactionAuthorizeDirectResponse
- TransactionAuthorizeReferencedRequest
- TransactionAuthorizeReferencedResponse
- TransactionAuthorizeRequest
- TransactionAuthorizeResponse
- TransactionCancelRequest
- TransactionCancelResponse
- TransactionCaptureRequest
- TransactionCaptureResponse
- TransactionInitializeRequest
- TransactionInitializeResponse
- TransactionMultipartCaptureRequest
- TransactionMultipartCaptureResponse
- TransactionMultipartFinalizeRequest
- TransactionMultipartFinalizeResponse
- TransactionQueryPaymentMeansRequest
- TransactionQueryPaymentMeansResponse
- TransactionRedirectPaymentRequest
- TransactionRedirectPaymentResponse
- TransactionReference
- TransactionRefundDirectRequest
- TransactionRefundDirectResponse
- TransactionRefundRequest
- TransactionRefundResponse
- Wallet
- Type: HTTP basic authentication