Skip to main content
GET
/
merchant
/
list
{
  "success": false,
  "error": {
    "status": 401,
    "code": "UNAUTHORISED",
    "message": "Invalid or missing authentication"
  },
  "data": null
}
Get a list of all merchants associated with the authenticated user.
success
boolean
Indicates if the request was successful
data.merchants
array
Array of merchant objects
data.merchants[].id
string
Merchant UUID
data.merchants[].name
string
Merchant name
data.merchants[].domain
string
Merchant domain
data.merchants[].isVerified
boolean
Whether the domain is verified
data.merchants[].createdAt
string
Creation timestamp

Example Request

curl -X GET https://api.transaction.gg/merchant/list \
  -H "Authorization: Bearer jwt_token"

Example Response

{
  "success": true,
  "data": {
    "merchants": [
      {
        "id": "merchant_uuid",
        "name": "My Store",
        "domain": "mystore.com",
        "isVerified": false,
        "createdAt": "2024-01-01T00:00:00Z"
      }
    ]
  }
}

Error Responses

{
  "success": false,
  "error": {
    "status": 401,
    "code": "UNAUTHORISED",
    "message": "Invalid or missing authentication"
  },
  "data": null
}