Skip to content

Sideko-Inc/jpm-online-payments-python

Repository files navigation

Online Payments API Python SDK

This SDK is community generated and maintained, and is not an official release from nor affiliated with J.P. Morgan Payments.

Overview

Online Payments is the primary payment solution for card not present transactions. Manage the entire payments lifecycle for multiple methods of payments, including card payments, alternative methods of payment, and wallet payments.

Synchronous Client

from jpm_online_payments import Client
from os import getenv

client = Client(
    auth={
        "client_id": getenv("OAUTH_CLIENT_ID"),
        "client_secret": getenv("OAUTH_CLIENT_SECRET"),
    }
)

Asynchronous Client

from jpm_online_payments import AsyncClient
from os import getenv

client = AsyncClient(
    auth={
        "client_id": getenv("OAUTH_CLIENT_ID"),
        "client_secret": getenv("OAUTH_CLIENT_SECRET"),
    }
)

Module Documentation and Snippets

  • get - Retrieve Payment Details
  • get_by_id - Retrieve Payment Details by transaction Id
  • create - Create a payment
  • get - Get a specific payment transaction by request Id
  • get_by_id - Get a specific payment transaction by transaction Id
  • patch - Update payment transaction by transaction Id
  • create - Create a refund
  • get - Get a specific refund transaction by request Id
  • get_by_id - Get a specific refund transaction by transaction Id
  • create - Verify a payment instrument
  • get - Get a specific verification transaction by request Id
  • get_by_id - Get a specific verification transaction by transaction Id

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages