Get Merchant Descriptors
Last updated
Last updated
GET
https://{base_url}/v2/merchant/{merchantId}/descriptors
This endpoint retrieves all unique payment descriptors associated with a specific merchant. It first validates the presence of a merchant ID and performs an authorization check if JWT is enabled. Upon successful validation, it queries the database to find and return all descriptors for the given merchant. If no descriptors are found, a 404 error is returned. Otherwise, the endpoint returns a list of descriptors sorted by creation date. If any errors occur during execution, an appropriate error message is returned.
Name | Value |
---|---|
Name | Description |
---|---|
Content-Type
application/json
Authorization
Bearer <token>
merchantId
Merchant Id to fetch descriptors
Retrieve all unique descriptors for a specific merchant
Merchant Id to fetch descriptors for
Successful Response
"07d98bc9-cb24-42c2-b841-ed33ed4ca48f"
"Bumper"
"XXXXXXXXX"
"Tesla"
true
"2023-10-07T04:22:38.834Z"