Get Merchant Descriptors

GEThttps://{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.

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Path Parameters

NameDescription

merchantId

Merchant Id to fetch descriptors

Last updated