Retrieve payment network information
In this tutorial, learn how to retrieve payment network information for a consented account using the J.P. Morgan Business Direct Connect API. By the end of this tutorial, you will know how to:
- Send a request to retrieve payment network information.
- Retrieve account identifiers, bank identifiers, and supported payment networks returned by the API.
Before you begin
To use this capability, you will need to have:
- Completed onboarding and obtained client credentials.
- Successfully completed the consent flow and obtained a valid access token.
Send a request
To retrieve payment network information for a consented account, send a GET request to the /accounts/{accountId}/payment-networks endpoint.
- Replace
{accountId}with the account ID you want to query. - Include the required headers, including
x-fapi-interaction-idand Authorization: Bearer<access_token>. - Additional Financial Data Exchange (FDX) headers may be required depending on your integration configuration. Refer to the integration guide and overview for details.
Request and response details
A successful response returns payment network information associated with the account. Depending on the account and payment network, the response may include:
- Bank identifiers
- Account identifiers
- Identifier types
- Supported payment network types
The response can include account identifiers represented as either account numbers or tokenized account numbers.
For details on required and optional parameters, error codes, response formats, and request and response examples, refer to the overview.