Merchants
GET/v1/merchant/accept

Get accept setup

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

Returns middleware snippets (FastAPI and Express) per service, hosted x402 endpoint URLs and the requirements URL for the caller merchant's stablecoin services. Console session or API key with payment:read.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/merchant/acceptBase 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
snippets*
hosted_endpoints*array<>
requirements_url*Requirements Url
facilitator_url*Facilitator Url
[key: string]?any