Catalog PyPI
PACKAGE EXPLORERView in registry

acceptance-api-sdk

PyPI

Sample SDK for Acceptance by APIMatic

Versions collected1
Direct dependencies5From release 0.0.1
Last observed20 Oct, 17:56 UTC

README

Version 0.0.1 documentation

Getting Started with Visa Acceptance Merged Spec

Introduction

All Visa Acceptance API specs merged together. These are available at https://developer.visaacceptance.com/api/reference/api-reference.html

Install the Package

The package is compatible with Python versions 3.7+. Install the package from PyPi using the following pip command:

pip install acceptance-api-sdk==0.0.1

You can also view the package at: https://pypi.python.org/pypi/acceptance-api-sdk/0.0.1

Initialize the API Client

Note: Documentation for the client can be found here.

The following parameters are configurable for the API Client:

ParameterTypeDescription
http_client_instanceUnion[Session, HttpClientProvider]The Http Client passed from the sdk user for making requests
override_http_client_configurationboolThe value which determines to override properties of the passed Http Client from the sdk user
http_call_backHttpCallBackThe callback value that is invoked before and after an HTTP call is made to an endpoint
timeoutfloatThe value to use for connection timeout.
Default: 60
max_retriesintThe number of times to retry an endpoint call if it fails.
Default: 0
backoff_factorfloatA backoff factor to apply between attempts after the second try.
Default: 2
retry_statusesArray of intThe http statuses on which retry is to be done.
Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]
retry_methodsArray of stringThe http methods on which retry is to be done.
Default: ["GET", "PUT"]
proxy_settingsProxySettingsOptional proxy configuration to route HTTP requests through a proxy server.
logging_configurationLoggingConfigurationThe SDK logging configuration for API calls
bearer_auth_credentialsBearerAuthCredentialsThe credential object for Custom Header Signature
accept_credentialsAcceptCredentialsThe credential object for Custom Header Signature

The API client can be initialized as follows:

Code-Based Client Initialization

import logging

from visaacceptancemergedspec.configuration import Environment
from visaacceptancemergedspec.http.auth.accept import AcceptCredentials
from visaacceptancemergedspec.http.auth.bearer_auth import BearerAuthCredentials
from visaacceptancemergedspec.logging.configuration.api_logging_configuration import LoggingConfiguration
from visaacceptancemergedspec.logging.configuration.api_logging_configuration import RequestLoggingConfiguration
from visaacceptancemergedspec.logging.configuration.api_logging_configuration import ResponseLoggingConfiguration
from visaacceptancemergedspec.visaacceptancemergedspec_client import VisaacceptancemergedspecClient

client = VisaacceptancemergedspecClient(
    bearer_auth_credentials=BearerAuthCredentials(
        authorization='authorization'
    ),
    accept_credentials=AcceptCredentials(
        accept='Accept'
    ),
    environment=Environment.PRODUCTION,
    logging_configuration=LoggingConfiguration(
        log_level=logging.INFO,
        request_logging_config=RequestLoggingConfiguration(
            log_body=True
        ),
        response_logging_config=ResponseLoggingConfiguration(
            log_headers=True
        )
    )
)

Environment-Based Client Initialization

from visaacceptancemergedspec.visaacceptancemergedspec_client import VisaacceptancemergedspecClient

# Specify the path to your .env file if it’s located outside the project’s root directory.
client = VisaacceptancemergedspecClient.from_environment(dotenv_path='/path/to/.env')

See the Environment-Based Client Initialization section for details.

Authorization

This API uses the following authentication schemes.

List of APIs

SDK Infrastructure

Configuration

HTTP

Utilities

Downloads & popularity

1downloads
1-day window · source-reported counts19 Oct 2026
199.50
2026-07-22: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-07-22–2026-07-222026-07-23: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-07-23–2026-07-232026-07-26: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-07-26–2026-07-262026-07-27: 4 · observed 2026-10-20T20:26:49.8877191Z · period 2026-07-27–2026-07-272026-08-01: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-01–2026-08-012026-08-02: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-02–2026-08-022026-08-03: 4 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-03–2026-08-032026-08-04: 4 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-04–2026-08-042026-08-07: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-07–2026-08-072026-08-08: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-08–2026-08-082026-08-09: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-09–2026-08-092026-08-13: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-13–2026-08-132026-08-14: 4 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-14–2026-08-142026-08-17: 4 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-17–2026-08-172026-08-18: 19 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-18–2026-08-182026-08-20: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-20–2026-08-202026-08-23: 9 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-23–2026-08-232026-08-24: 18 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-24–2026-08-242026-08-28: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-28–2026-08-282026-08-31: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-08-31–2026-08-312026-09-03: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-03–2026-09-032026-09-05: 6 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-05–2026-09-052026-09-06: 3 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-06–2026-09-062026-09-07: 5 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-07–2026-09-072026-09-08: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-08–2026-09-082026-09-09: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-09–2026-09-092026-09-10: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-10–2026-09-102026-09-11: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-11–2026-09-112026-09-12: 3 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-12–2026-09-122026-09-14: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-14–2026-09-142026-09-16: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-16–2026-09-162026-09-18: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-18–2026-09-182026-09-21: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-21–2026-09-212026-09-23: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-23–2026-09-232026-09-24: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-24–2026-09-242026-09-26: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-26–2026-09-262026-09-30: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-09-30–2026-09-302026-10-02: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-10-02–2026-10-022026-10-06: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-10-06–2026-10-062026-10-07: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-10-07–2026-10-072026-10-08: 3 · observed 2026-10-20T20:26:49.8877191Z · period 2026-10-08–2026-10-082026-10-09: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-10-09–2026-10-092026-10-10: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-10-10–2026-10-102026-10-13: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-10-13–2026-10-132026-10-15: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-10-15–2026-10-152026-10-16: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-10-16–2026-10-162026-10-17: 2 · observed 2026-10-20T20:26:49.8877191Z · period 2026-10-17–2026-10-172026-10-18: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-10-18–2026-10-182026-10-19: 1 · observed 2026-10-20T20:26:49.8877191Z · period 2026-10-19–2026-10-19
22 Jul19 Oct

pypistats · 49 observations shown. Missing days are unknown. Source category: overall: without mirrors.

View observed values
Date / source periodValueObserved at
2026-10-19 – 2026-10-1912026-10-20T20:26:49.8877191Z
2026-10-18 – 2026-10-1812026-10-20T20:26:49.8877191Z
2026-10-17 – 2026-10-1722026-10-20T20:26:49.8877191Z
2026-10-16 – 2026-10-1612026-10-20T20:26:49.8877191Z
2026-10-15 – 2026-10-1512026-10-20T20:26:49.8877191Z
2026-10-13 – 2026-10-1322026-10-20T20:26:49.8877191Z
2026-10-10 – 2026-10-1012026-10-20T20:26:49.8877191Z
2026-10-09 – 2026-10-0922026-10-20T20:26:49.8877191Z
2026-10-08 – 2026-10-0832026-10-20T20:26:49.8877191Z
2026-10-07 – 2026-10-0722026-10-20T20:26:49.8877191Z
2026-10-06 – 2026-10-0612026-10-20T20:26:49.8877191Z
2026-10-02 – 2026-10-0212026-10-20T20:26:49.8877191Z
2026-09-30 – 2026-09-3012026-10-20T20:26:49.8877191Z
2026-09-26 – 2026-09-2622026-10-20T20:26:49.8877191Z
2026-09-24 – 2026-09-2412026-10-20T20:26:49.8877191Z
2026-09-23 – 2026-09-2312026-10-20T20:26:49.8877191Z
2026-09-21 – 2026-09-2122026-10-20T20:26:49.8877191Z
2026-09-18 – 2026-09-1822026-10-20T20:26:49.8877191Z
2026-09-16 – 2026-09-1612026-10-20T20:26:49.8877191Z
2026-09-14 – 2026-09-1412026-10-20T20:26:49.8877191Z
2026-09-12 – 2026-09-1232026-10-20T20:26:49.8877191Z
2026-09-11 – 2026-09-1112026-10-20T20:26:49.8877191Z
2026-09-10 – 2026-09-1012026-10-20T20:26:49.8877191Z
2026-09-09 – 2026-09-0922026-10-20T20:26:49.8877191Z
2026-09-08 – 2026-09-0822026-10-20T20:26:49.8877191Z
2026-09-07 – 2026-09-0752026-10-20T20:26:49.8877191Z
2026-09-06 – 2026-09-0632026-10-20T20:26:49.8877191Z
2026-09-05 – 2026-09-0562026-10-20T20:26:49.8877191Z
2026-09-03 – 2026-09-0312026-10-20T20:26:49.8877191Z
2026-08-31 – 2026-08-3122026-10-20T20:26:49.8877191Z
2026-08-28 – 2026-08-2822026-10-20T20:26:49.8877191Z
2026-08-24 – 2026-08-24182026-10-20T20:26:49.8877191Z
2026-08-23 – 2026-08-2392026-10-20T20:26:49.8877191Z
2026-08-20 – 2026-08-2012026-10-20T20:26:49.8877191Z
2026-08-18 – 2026-08-18192026-10-20T20:26:49.8877191Z
2026-08-17 – 2026-08-1742026-10-20T20:26:49.8877191Z
2026-08-14 – 2026-08-1442026-10-20T20:26:49.8877191Z
2026-08-13 – 2026-08-1322026-10-20T20:26:49.8877191Z
2026-08-09 – 2026-08-0922026-10-20T20:26:49.8877191Z
2026-08-08 – 2026-08-0812026-10-20T20:26:49.8877191Z
2026-08-07 – 2026-08-0712026-10-20T20:26:49.8877191Z
2026-08-04 – 2026-08-0442026-10-20T20:26:49.8877191Z
2026-08-03 – 2026-08-0342026-10-20T20:26:49.8877191Z
2026-08-02 – 2026-08-0212026-10-20T20:26:49.8877191Z
2026-08-01 – 2026-08-0112026-10-20T20:26:49.8877191Z
2026-07-27 – 2026-07-2742026-10-20T20:26:49.8877191Z
2026-07-26 – 2026-07-2622026-10-20T20:26:49.8877191Z
2026-07-23 – 2026-07-2322026-10-20T20:26:49.8877191Z
2026-07-22 – 2026-07-2212026-10-20T20:26:49.8877191Z

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.0.130 Jun 20265

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:56 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:2301df44145cc00b218b7e0036490e6e70d3d3445034988852fb28a2000be3f9