Skip to content

Sideko-Inc/jpm-online-payments-typescript

Repository files navigation

Online Payments API Typescript 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.

Example Client Initialization

import Client from "jpm_online_payments";

const client = new Client({
  auth: {
    clientId: process.env["OAUTH_CLIENT_ID"]!!,
    clientSecret: process.env["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