thelogicstudio / exactpay
Embedding payments into your software platform can be one of the most powerful value drivers for your customers and your top line. Imagine your software delivering the entire order-to-cash cycle including funding right into the customer’s bank account. We provide low code integration- With just a si
Requires
- php: ^7.4 || ^8.0
- 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
README
Embedding payments into your software platform can be one of the most powerful value drivers for your customers and your top line. Imagine your software delivering the entire order-to-cash cycle including funding right into the customer’s bank account. We provide low code integration- With just a single API, you can go live with Exact Payments. Onboard customers, automated underwriting, receive webhook notifications when your customers is live and ready to take payments. We have all the payment types your customers want and their buyers need. Credit and debit cards plus ACH payments, Apple Pay, Google Pay, Paypal, recurring payments, card-on-file and more. Dive into our API Reference and add embedded payments with Exact today!
Installation & Usage
Requirements
PHP 7.4 and later. Should also work with PHP 8.0.
Composer
To install the bindings via Composer, add the following to composer.json
:
{ "repositories": [ { "type": "vcs", "url": "https://github.com/TheLogicStudio/ExactPayPHP.git" } ], "require": { "TheLogicStudio/ExactPayPHP": "*@dev" } }
Then run composer install
Manual Installation
Download the files and include autoload.php
:
<?php require_once('/path/to/Exact Payments PHP SDK/vendor/autoload.php');
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); $apiInstance = new TheLogicStudio\ExactPay\Api\APIHealthCheckApi( // 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() ); try { $result = $apiInstance->apiHealthCheck(); print_r($result); } catch (Exception $e) { echo 'Exception when calling APIHealthCheckApi->apiHealthCheck: ', $e->getMessage(), PHP_EOL; }
API Endpoints
All URIs are relative to https://api.exactpaysandbox.com
Models
- AcceptanceMethods
- Account
- AccountAccountIdOrdersOrderIdGet404Response
- AccountAccountIdOrdersOrderIdGet404ResponseMetadata
- AccountAccountIdOrdersOrderIdGet404ResponseMetadataMessage
- AccountAch
- AccountDeleteCustomerCustomerIdPaymentMethodToken400Response
- AccountGateway
- AccountGetCustomer403Response
- AccountGetCustomer404Response
- AccountMode
- AccountPostCustomer400Response
- AccountPostCustomerIdPaymentMethod400Response
- AccountRegisterApplePayDomains400Response
- AccountRegisterApplePayDomains400ResponseIssuesInner
- AccountReportDetails
- AccountReportDetailsKycResultsInner
- AccountReportDetailsMerchant
- AccountReportDetailsMerchantAnticipatedTransAmounts
- AccountReportDetailsMerchantBankingDetails
- AccountReportDetailsMerchantBusinessProfile
- AccountReportDetailsMerchantBusinessProfileAcceptanceMethods
- AccountReportDetailsMerchantPrincipalInner
- AccountReportDetailsMerchantPrincipalInnerAddress
- AccountRequest
- AccountRequestAddress
- AccountStatus
- AccountType
- AccountWithGateway
- AccountWithoutGateway
- Ach
- AchAccountDetails
- AchDetailsSchema
- AchPayment
- AchPaymentMethod
- AnticipatedTransAmounts
- ApiHealthCheck200Response
- ApplePayDomains
- ApplicationToken
- ApplicationTokenResponse
- AvsCheck
- BadRequestInvalidWorkflowError
- BadRequestInvalidWorkflowErrorErrorsInner
- BadRequestX2ContextError
- BadRequestX2ContextErrorErrorsInner
- BadRequestX2ErrorV410
- BadRequestX2ErrorV410PathIssues
- BadRequestX2ErrorV410PathIssuesFieldPathInner
- BadRequestZodError
- BankBoarding
- BankResponse
- BankingDetails
- BillingAddress
- BillingCustomer
- BillingDetailsAddress
- BillingDetailsAddressSchema
- BillingDetailsSchema
- BusinessClassification
- BusinessProfile
- BusinessRule
- BusinessRuleOptionsInner
- BusinessRuleOptionsInnerValue1
- BusinessRuleOptionsInnerValue2
- CaptureDetails
- CapturePayment400Response
- CapturePayment400ResponseMetadata
- CapturePayment400ResponseMetadataMessage
- CardDetailsSchema
- CardDetailsSchemaChecks
- CardDetailsSchemaExpiry
- CardPayment
- CardPaymentMethod
- ChargebackReportDetails
- ContextErrorResponseCreateOnboarding
- ContextErrorResponseSystemError
- ContextErrorResponseUploadDocument
- CreateAchPaymentMethod
- CreateAchPaymentMethodAch
- CreateAchPaymentMethodBillingDetails
- CreateApplicationTokenRequest
- CreateCardPaymentMethod
- CreateCardPaymentMethodBillingDetails
- CreateCardPaymentMethodCard
- CreateCardPaymentMethodCardExpiry
- CreateDocumentRequestRequest
- CreateEftPaymentMethod
- CreateEftPaymentMethodBillingDetails
- CreateEftPaymentMethodEft
- CreateOnboarding400Response
- CreateOnboarding404Response
- CreatePayment
- CreatePaymentMethod
- CreateUserTokenRequest
- CreditCardDetails
- Customer
- CustomerAddress
- CustomerOrPaymentMethod
- CustomerPathIssues
- CvdCheck
- Document
- DocumentRequest
- DocumentSchema
- DocumentUploadType
- Dwolla
- Elavon
- ExactResponse
- FilterOnboardings
- FundingReportDetails
- FundingReportDetailsAmount
- GetReportDetails400Response
- InviteAccept
- InviteRequest
- InviteResponse
- InviteUser
- KycResults
- Level3
- LineItem
- LinkPaymentMethod
- LinkPaymentMethodPathIssues
- LinkTokenToCustomer
- ListDocumentRequestByToken200ResponseInner
- LookUpCustomer
- MastercardRule
- MastercardRuleMerchantOptions
- MastercardRuleOptions
- MastercardRulePrincipalOptions
- Mcc
- Merchant
- MerchantAddress
- MerchantAddressWithValidation
- MerchantTermsNConditions
- MerchantWithoutPrincipal
- MerchantWithoutPrincipalTermsNConditions
- MicroDepositVerificationRequest
- NewCustomer
- NotFoundError
- OFACRule
- OFACRuleOptions
- OnboardingCreateResponse
- OnboardingDocumentRequestCreate
- OnboardingDocumentRequestResponse
- OnboardingDocumentRequestUpdate
- OnboardingMerchant
- OnboardingNote
- OnboardingRequest
- OnboardingRetryRuleRequest
- OnboardingTermsNConditions
- OnboardingWithPrincipalResponse
- OnboardingWithoutPrincipal
- Order
- OrderAccessToken
- OrderAccessTokenDetail
- OrderOptions
- OrderResponse
- OrderResponseAccessToken
- OrderResponseBilling
- OrderResponseBillingAddress
- OrderResponseLevel3
- OrderResponseLevel3LineItemsInner
- OrderResponseLevel3ShipTo
- OrderResponseLevel3ShipToAddress
- OrderResponseOptions
- OrderResponseReference
- OrderResponseSoftDescriptor
- OrderSearch
- ParentIdRequest
- PayFacRequest
- PayFacResponse
- PayOrder
- PayOrderPaymentMethod
- PayOrderResponse
- PayOrderResponseOrder
- PayWithAch
- PayWithAchAch
- PayWithApplePay
- PayWithApplePayApplePay
- PayWithCreditCard
- PayWithCreditCardCreditCard
- PayWithDebitBillPay
- PayWithDebitBillPayDebitBillPay
- PayWithGooglePay
- PayWithGooglePayGooglePay
- PayWithToken
- Payment
- PaymentMethod
- PaymentMethodChoice
- PaymentMethodPathIssues
- PaymentOptions
- Permissions
- PlaidAuthRule
- PlaidBalanceRule
- PlaidBalanceRuleOptions
- PlaidIdentityRule
- PostAccountAccountIdOrdersOrderIdPay400Response
- PostAccountAccountIdOrdersOrderIdPay400ResponseMetadata
- PostAccountAccountIdOrdersOrderIdPay404Response
- PostAccountAccountIdOrdersOrderIdPay404ResponseMetadata
- PostCreateNotesRequest
- PostCreateWorkflow201Response
- PostCreateWorkflow400Response
- PostCreateWorkflowRequest
- PostPayment422Response
- PostPaymentMethod400Response
- PostPaymentMethod403Response
- PostPaymentMethod404Response
- PostPaymentMethod406Response
- PostPaymentMethod428Response
- PostPaymentMethod500Response
- PostPaymentMethod503Response
- PostVerifyMicrodeposits202Response
- Principal
- PrincipalAddress
- PrincipalCreateOnboardingResponse
- PutUpdateAccountById400Response
- PutUpdateDocumentTypeByIdRequest
- Reference
- ReferencedPayment
- RefundDetails
- ReportDetailsResponse
- ReportParameters
- ReportQueryRequest
- ReportQueryResponse
- ReportQueryResponseParameters
- RequestFailure
- RoleResponse
- RuleStatus
- SettlementReportDetails
- SettlementReportDetailsBankResponse
- SettlementReportDetailsPaymentMethodDetails
- SettlementReportDetailsReference
- ShipTo
- ShipToAllOf
- SoftDescriptor
- StoredCredentials
- ThreeDSecure
- TitleValues
- TransactionsReportDetails
- TransactionsReportDetailsBankResponse
- TransactionsReportDetailsCaptureDetails
- TransactionsReportDetailsPaymentMethodDetails
- TransactionsReportDetailsPaymentMethodDetailsCvdCheck
- TruliooInternationalWatchlistRule
- TruliooKYBRule
- TruliooKYCRule
- UnderwritingRuleRequestInner
- UnderwritingRuleRequestInnerAnyOf
- UnderwritingRuleRequestInnerAnyOf1
- UnderwritingRuleRequestInnerAnyOf2
- UnderwritingRuleRequestInnerAnyOf3
- UnderwritingRuleRequestInnerAnyOf4
- UnderwritingRuleRequestInnerAnyOf5
- UnderwritingRuleRequestInnerAnyOf6
- UnderwritingRuleRequestInnerAnyOf7
- UnderwritingRuleRequestInnerAnyOf8
- UnderwritingRuleResponseInner
- UnderwritingWorkflowRequest
- UnderwritingWorkflowResponse
- UpdatableAcceptanceMethods
- UpdatableAccount
- UpdatableAddress
- UpdatableAnticipatedTransAmounts
- UpdatableBankingDetails
- UpdatableBusinessFacebook
- UpdatableBusinessLinkedIn
- UpdatableBusinessName
- UpdatableBusinessOnlinePresence
- UpdatableBusinessPhone
- UpdatableBusinessProfile
- UpdatableBusinessTwitter
- UpdatableDbaName
- UpdatableMerchantAddress
- UpdatableOnboardingDocument
- UpdatableOnboardingRequest
- UpdatablePrincipal
- UpdatableWebhookRequest
- UpdateCustomer
- UpdateOnboardingStatusRequest
- UploadDocumentResponse
- UserAccountSchema
- UserToken
- UsersResponse
- VoidDetails
- WebhookEventField
- WebhookRequest
- WebhookResponse
- ZodError
Authorization
Authentication schemes defined for the API:
apiKey
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
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:
1.0.4
- Build package:
org.openapitools.codegen.languages.PhpClientCodegen