Get the status of a Zelle® payment
In this tutorial, you learn how to get the status of a Zelle® payment.
Before you begin
To get the status of a Zelle® payment, you need the following:
- A registered and fully onboarded Developer Account on the J.P. Morgan Payments Developer Portal.
- An active project that provides you with the credentials to make a request.
- A
paymentId
provided in a successful response.
Send a request
From your command line, send a GET
request to the /payments/{paymentId}/status
endpoint.
For example, the following code snippet contains a cURL command that gets the status of a Zelle® payment that uses an email address:
Example of a request to get the status of a Zelle® payment that uses an email address
Curl
curl --request GET \
--url https://api-mock.payments.jpmorgan.com/payment/v2/payments/d591f34f-0d57-43b7-b61d-29bc0bda5f94/status \
--header 'Accept: application/json' \
--header 'Request-Id: 1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p'
A successful response contains a Zelle® payment's status.
For example, the following code snippet contains a response to the previous cURL command to get the status of a Zelle® payment that uses an email address. 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 a Zelle® payment that uses an email address
Json
{
"paymentId": "d591f34f-0d57-43b7-b61d-29bc0bda5f94",
"paymentStatus": "PROCESSING",
"statusUpdatedAt": "2024-10-30T14:15:22Z",
"requestedExecutionDate": "2024-10-30",
"paymentIdentifiers": {
"endToEndId": "ZL202109202311354152"
},
"transferType": "CREDIT",
"paymentType": "ZELLE"
}
Related
- For more information about Zelle® payment parameters, see Payment parameters.
- For more information about status responses and error codes supported by the Global Payments API, see Global Payments 2 status responses and error codes.