Use the /api/fdx/5/accounts/{accountId}/payment-networks
endpoint to return a list of payment networks for a particular account.
To successfully call this endpoint, you must first call the /Token
endpoint to obtain a valid access_token
.
To successfully call this endpoint, you must first call the /Token
endpoint to obtain a valid access_token
using:
- grant_type:
authorization_code
orrefresh_token
- client_id:
{recipient client_id}
- client_secret:
{recipient client_secret}
- redirect_uri:
{recipient redirect_uri}
- code:
{with grant type authorization_code}
- refresh_token
{with grant type refresh_token}
Not all Data Providers support this endpoint
If the Data Provider does not support payment networks, this endpoint returns 405 Method Not Allowed
Response is different for each Data Provider
This endpoint returns different fields for each Data Provider. For more information about the fields that each Data Provider supports, review the Data Provider's details.
How to handle an error response
If you receive an error response, refer to the List of Data Access Errors for more information about the error and how to resolve it.