Skip to main content
GET
/
v1
/
partner
/
merchants
/
{id}
Get merchant details
curl --request GET \
  --url https://sandbox.api.acountpay.com/v1/partner/merchants/{id} \
  --header 'X-Partner-Client-Id: <api-key>' \
  --header 'X-Partner-Client-Secret: <api-key>'
{
  "id": 42,
  "clientId": "a1b2c3d4-e5f6-7890-abcd-1234567890ab",
  "companyName": "Restaurant XYZ ApS",
  "contactEmail": "owner@restaurantxyz.dk",
  "contactPhone": "+4587654321",
  "status": "active",
  "partnerRefId": "merchant-001",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

X-Partner-Client-Id
string
header
required

Your partner client ID

X-Partner-Client-Secret
string
header
required

Your partner client secret

Path Parameters

id
integer
required

Merchant ID

Response

Merchant details

id
number
Example:

42

clientId
string
Example:

"a1b2c3d4-e5f6-7890-abcd-1234567890ab"

companyName
string
Example:

"Restaurant XYZ ApS"

contactEmail
string
Example:

"owner@restaurantxyz.dk"

contactPhone
string
Example:

"+4587654321"

status
enum<string>
Available options:
active,
inactive,
pending
Example:

"active"

partnerRefId
string
Example:

"merchant-001"

createdAt
string<date-time>