POST
/v1/check-offers
Check offers for a visited URL
Merchants
Description
Checks whether the visited URL belongs to a registered merchant domain.
This endpoint can be used without authentication. When a valid JWT token is provided, the request is associated with the authenticated user.
Request Body
requiredapplication/json
urlstring (uri)required
URL of the page currently being visited.
Example:
https://globalmart.revclic.dev/products/laptopResponses
200
Successful response
application/jsonstatusstring
Example:
successdataarray [object]
Matching merchants for the visited URL domain.
merchant_idinteger
Merchant ID.
Example:
123merchant_namestring
Merchant name.
Example:
GlobalMartmerchant_logostring (uri)
Merchant logo URL.
Example:
https://storage.revclic.dev/merchants/1/globalmart.jpgwebsite_urlstring (uri)
Merchant website URL.
Example:
https://tracking.revclic.dev/globalmart
400
URL is required
application/jsonExample:
{
"status": "error",
"message": "URL is required"
}