Delete Sub-merchant
DELETE/api/v1/aggregator/merchants
Deletes a sub-merchant identified by aggregator_mid or id. The record is removed from dpay.pl; historical transactions keep their attribution.
Checksum
The server verifies the checksum by concatenating the values of all fields sent in the request body, in the order they appear in the JSON (excluding checksum), joined with |, with your Secret Hash appended at the end:
sha256({field1}|{field2}|...|{SecretHash})
Array values are flattened element by element in place of the field. The timestamp must be current - requests older than 60 seconds are rejected with HTTP 401.
This API is available only for services with the aggregation model enabled.
Request
Responses
- 200
- 401
Deleted
Unauthorized - invalid checksum, stale timestamp or service without aggregation enabled.