This SDK is community generated and maintained, and is not an official release from nor affiliated with J.P. Morgan Payments.
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.
import Client from "jpm_online_payments";
const client = new Client({
auth: {
clientId: process.env["OAUTH_CLIENT_ID"]!!,
clientSecret: process.env["OAUTH_CLIENT_SECRET"]!!,
},
});
- payments_status - Health check for payments
- refunds_status - Health check for refunds
- verifications_status - Health check for verifications
- 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 - Capture a payment