Merchants
GET/v1/merchant

Get merchant home

View as .md
curl -X GET "https://api.52-28-238-205.sslip.io/v1/merchant" \  -H "Cookie: <console session cookie>"

Returns the caller's merchant with revenue by network, payment and dispute counts, alerts and its attestation. Console session or API key with payment:read on a merchant organization.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/merchantBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Requires permissionpayment:read
Held by owner, admin, finance, approver (own team), developer, merchant_owner, merchant_developer, operator. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Response Body

Success.

application/json
  1. response
merchant*
tier*Tier

Merchant trust tier: UNKNOWN, KNOWN or VERIFIED.

revenue*
payments_count*Payments Count
confirmed_count*Confirmed Count
delivery_failures*Delivery Failures
open_disputes*Open Disputes

Disputes waiting for the merchant's answer (opened, evidence)

disputes_in_review?Disputes In Review

Disputes answered and waiting for the outcome (contested, accepted)

Default0
alerts*array<>
attestation?|null
[key: string]?any