# For Providers
source: https://developer.mastercard.com/straight-through-processing/documentation/use-cases/case-2/index.md

## Retrieve a list of providers {#retrieve-a-list-of-providers}

This endpoint returns a list of payment Providers registered with STP currently. The Issuer must retrieve a list of Providers from STP to identify the Provider of the Supplier.
Please note that this list of Providers and IDs will remain constant as more Providers are added. You will not have to make any changes.

The execution steps are as follows:

1. The Issuer makes a `GET` call to the Providers endpoint.
2. STP delivers a list of registered Providers to the Issuer in HATEOAS using the _links.self.href format.

Diagram getlistprov2

Refer to [Testing](https://developer.mastercard.com/straight-through-processing/documentation/testing/case-2/index.md) for more information on how to execute the use case in the Sandbox environment.

API Reference: `GET /providers`

## Retrieve details of a provider {#retrieve-details-of-a-provider}

This endpoint returns information about a payment provider registered with STP currently.

The execution steps are as follows:

1. The Issuer makes a `GET` call to the Providers endpoint using the Provider's ID.
2. STP returns the Provider details.

Diagram getdetprov2

Refer to [Testing](https://developer.mastercard.com/straight-through-processing/documentation/testing/case-2/index.md) for more information on how to execute the use case in the Sandbox environment.

API Reference: `GET /providers/{id}`

