Get the status of an ACH payment
In this tutorial, you learn how to get the status of an ACH payment.
Before you begin
To get the status of an ACH payment, you need the following:
- A registered and fully onboarded account on the J.P. Morgan Payments Developer Portal.
- An active project that provides you with the credentials to make a request.
- An
endToEndId
provided in a successful response.
Send a request
From your command line, send a GET
request to the /payments
endpoint with the endToEndId
appended as a query parameter.
For example, the following code snippet contains a cURL command that gets the status of an ACH credit payment in the United States:
Example of a request to get the status of an ACH credit payment in the United States
Curl
curl --request GET \
--url 'https://api-mock.payments.jpmorgan.com/payment/v2/payments?endToEndId=E2E3000112CCDXX&view=SUMMARY&paymentType=ACH' \
--header 'Accept: application/json' \
--header 'Request-Id: 1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p'
A successful response contains an ACH payment's status.
For example, the following code snippet contains a response to the previous cURL command to get the status of an ACH credit payment in the United States. It's formatted in JSON so that it's easier to see.
Example of a response to a successful request to get the status of an ACH credit payment in the United States
Json
{
"paymentId": "c0d45df7-d1af-4782-9144-2fcf04c944d8",
"paymentStatus": "PROCESSING",
"statusUpdatedAt": "2024-10-01T14:15:22Z",
"requestedExecutionDate": "2024-10-01",
"paymentIdentifiers": {
"endToEndId": "E2E3000112CCDXX"
},
"transferType": "CREDIT",
"paymentType": "ACH"
}
Related
- For more information about ACH credit payment parameters, see Payment parameters (credit).
- For more information about ACH debit payment parameters, see Payment parameters (debit).
- For more information about the status responses and error codes supported by the Global Payments API, see Global Payments 2 status response and error response codes.