top of page

Merchant: New Statement

Receive and interpret merchant.statement.new notifications.

Incoming notification

merchant.statement.new is an incoming POST to your registered callback, not an endpoint that your application calls. This event is triggered when a new statement is available for a merchant. POST <your registered callback URL> Content-Type: application/json Signature: <HMAC-SHA256 of the raw request body>

Verify before processing

Use the Sign-Up subscription secret to compute HMAC-SHA256 over the original request bytes and compare it with the Signature header. Do not use the gateway Webhook-Signature nonce format for this API family. Persist the event before acknowledging it and make downstream handlers safe for repeated delivery. Sign-Up verification and delivery

Payload fields

Required flags are scoped to the containing object. The complete schema below preserves enums, nullable types and constraints. Field Required Type Constraints Meaning event_id Not marked required string maxLength: 36 — event_type Not marked required allOf / reference — — event_body Not marked required object — — event_body.mid Required in parent string maxLength: 30 — event_body.dba Required in parent string maxLength: 255 — event_body.date Required in parent string maxLength: 10 —

Payload contract

{ "type": "object", "properties": { "event_id": { "type": "string", "maxLength": 36, "example": "38cf9efa-8aec-4a4e-98e2-6bb2411fdc60" }, "event_type": { "allOf": [ { "$ref": "#/components/schemas/event-types" }, { "example": "merchant.statement.new" } ] }, "event_body": { "type": "object", "required": [ "mid", "dba", "date" ], "properties": { "mid": { "type": "string", "maxLength": 30, "example": "1234000000000011" }, "dba": { "type": "string", "maxLength": 255, "example": "Network Merchant Inc" }, "date": { "type": "string", "maxLength": 10, "example": "2024-03-31" } } } } } true

Example payload

Source example values are fixtures; do not treat its IDs as account credentials or real account state. { "event_id": "38cf9efa-8aec-4a4e-98e2-6bb2411fdc60", "event_type": "merchant.statement.new", "event_body": { "mid": "1234000000000011", "dba": "Network Merchant Inc", "date": "2024-03-31" } }

Referenced schema definitions

{ "components": { "schemas": { "event-types": { "type": "string", "enum": [ "application.updated.data.requested", "application.approved", "application.declined", "application.cancelled", "application.merchant.closed", "application.merchant.boarded", "merchant.chargeback.added", "merchant.deposit.new", "merchant.first-batch", "merchant.processing.start", "merchant.processing.stop", "merchant.residuals.published", "merchant.retrieval.added", "merchant.statement.new" ], "example": "application.merchant.boarded" } } } } true

Join the community and get the latest biz news & tips

Thanks for submitting!

© 2025 Betterpay. All Rights Reserved.

bottom of page