0.1.0 • Published 6 months ago
jpm_online_payments v0.1.0
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
captures
fraudcheck
healthcheck
- payments_status - Health check for payments
- refunds_status - Health check for refunds
- verifications_status - Health check for verifications
payments
- 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
payments.captures
- create - Capture a payment
refunds
- create - Create a refund
- get - Get a specific refund transaction by request Id
- get_by_id - Get a specific refund transaction by transaction Id
verifications
0.1.0
6 months ago