Verify merchant credentials
Verifies a merchant API token + HMAC-SHA256 signature. Called by the API Gateway auth interceptor on every request. Public clients do NOT call this endpoint directly — it is the canonical verification entrypoint. Returns the resolved `tenant_id` and `merchant_id` on success.
/api/v1/p2p/merchant/authVerifies a merchant API token + HMAC-SHA256 signature. Called by the
API Gateway auth interceptor on every request. Public clients do NOT
call this endpoint directly — it is the canonical verification entrypoint.
Returns the resolved tenant_id and merchant_id on success.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X POST "https://example.com/api/v1/p2p/merchant/auth" \ -H "Content-Type: application/json" \ -d '{}'{ "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "merchant_id": "500924a8-3f5e-4c00-beb8-2efcde988aea"}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "instance": "../dictionary", "errors": [ { "field": "amount", "message": "must be greater than 0", "code": "POSITIVE_REQUIRED" } ]}Примеры SDK и Кода
Примеры использования Syncra Merchant API V2 на различных языках программирования
Issue a new API key pair POST
Generates a new token + webhook signing secret pair for a merchant. Previous credentials are immediately invalidated. The `secret` is shown exactly ONCE — store it securely.