Merchants
PATCH/v1/merchant

Update merchant profile

View as .md
curl -X PATCH "https://api.52-28-238-205.sslip.io/v1/merchant" \  -H "Cookie: <console session cookie>" \  -H "Content-Type: application/json" \  -d '{"name":"Example","description":"Example","domain":"merchant.example.com"}'

Updates the merchant's name, description or domain. Console session or API key with merchant:manage; changing the domain revokes the attestation and resets the tier.

Server URLhttps://api.52-28-238-205.sslip.io
PATCH/v1/merchantBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Body

application/json · required. Fields are listed under Request body below.

Requires permissionmerchant:manage
Held by merchant_owner. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Request Body

application/json
  1. body
name?|null
description?|null
domain?|null

Response Body

Success.

application/json
  1. response
merchant*
warning?string|null
tier_reset*Tier Reset
[key: string]?any