Skip to main content

Connecting J.P. Morgan

Maven connects to J.P. Morgan Payments (Online Payments API) using your Client ID, Client Secret, and Merchant ID. Maven exchanges the Client ID/Secret for short-lived OAuth bearer tokens and uses them to create charges or store cards on your behalf.

Prerequisites

  • A J.P. Morgan Payments developer account
  • Client ID, Client Secret, and Merchant ID
  • A Maven app

Getting Your Credentials

1

Register at developer.payments.jpmorgan.com

Go to developer.payments.jpmorgan.com and create a developer account (email or GitHub/LinkedIn/Google login).
2

Create a workspace project

In your workspace, create a project and add the Online Payments API. Sandbox credentials are issued instantly — no approval step.
3

Copy Credentials

From the project’s Get set up section, copy:
  • Client ID — OAuth client identifier
  • Client Secret — OAuth client secret
  • Merchant ID — sent as the merchant-id header on every request (the sandbox/mock environment uses 998482157630)
For production, credentials are issued by the J.P. Morgan implementations team during merchant onboarding. Onboarding is sales-led and typically takes 6–12 weeks; ask them to confirm your production base URL and OAuth scope at the same time.

Connecting in Maven

1

Go to Payments

In the Maven Dashboard, open your app and click the Payments tab.
2

Click J.P. Morgan

Click the J.P. Morgan card to expand it, then click Connect J.P. Morgan.
3

Enter Credentials

  • Environment: Sandbox or Production
  • Client ID: Your OAuth Client ID
  • Client Secret: Your OAuth Client Secret
  • Merchant ID: Your J.P. Morgan Merchant ID
  • Production Base URL (optional, production only): Override if J.P. Morgan assigned your tenant a non-default hostname. Leave blank to use the standard hostname.
4

Save

Click Save Credentials. Maven stores them per-environment so you can have sandbox and production credentials configured side by side.

Sending the form to your customer

If your customer is the merchant (i.e., the J.P. Morgan account is theirs, not yours), click Copy link next to Save. That generates a single-use, 7-day link they can open in a browser and paste their credentials directly into a hosted form. Their credentials are written to your project without you ever seeing them.

Sandbox Testing

Sandbox credentials work immediately on signup against J.P. Morgan’s mock environment. Use them with mvn_test_ API keys to test without real charges. A useful sandbox test card:
The J.P. Morgan mock environment approves every transaction — declines can only be exercised with the test credentials issued at merchant onboarding.

Processor Response Fields

Charge Mode

Tokenize Mode (Stored Card)

In tokenize mode, Maven runs a $0 verification and stores the card at J.P. Morgan.

Using Stored Cards

Charge a stored card directly against the J.P. Morgan API. With a consumer profile:
With a Safetech token, send it as paymentMethodType.card.accountNumber instead, keeping accountOnFile: "STORED".