1. Webhook
Mozarto - The Payments Orchestration Platform
  • 1. Introduction
  • 2. Quick Start
  • 3. Authentication
  • 4. Webhook Setup
  • 5. Errors
  • 6. Redirect flow
    • Pay-In Flow
    • Pay-Out Flow
  • 7. Payment Providers (PSPs)
    • Overview
    • Brite
    • Cleo
    • Flexepin
    • ForumPay
    • Gigadat
    • Neosurf
    • PayOne
    • Trust Payments
    • Worldpay
    • Emerchantpay
  • 8. Redirect Flow APIs
    • Redirect Flow APIs - overview
    • Pay-In
      • WorldPay
      • Forumpay
      • Payone
      • Gigadat
      • Flexepin
      • Trust
    • Pay-Out
      • Forumpay
      • Payone
      • Gigadat withdraw ETO
      • Gigadat withdraw ACH
    • Webhook
      • Payone status webhook
        POST
  • Schemas
    • TransactionData
  1. Webhook

Payone status webhook

Prod Env
https://backend.app.mozarto.io
Prod Env
https://backend.app.mozarto.io
POST
/
Status notification Mozarto sends to your webhookUrl once a Payone transaction settles. The payload is identical for Pay-In and Pay-Out - it carries no flow indicator. Match transaction_id (or psp_transaction_id) against the transaction you created via /v1/api/mozarto/cashier to know whether it was a Pay-In or Pay-Out. transaction_status is Approved or Declined; on approval status is success, otherwise status echoes the raw provider status.

Request

Header Params

Body Params application/json

Example
{
  "transaction_id": "64a1f2b3c4d5e6f7a8b9c0d1",
  "psp_transaction_id": "po-9f3c1a2b4d5e",
  "user_id": "000000000000000000000001",
  "status": "success",
  "transaction_status": "Approved",
  "message": "Transaction approved and successfully processed",
  "amount": "10.00",
  "merchantReference": ""
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://backend.app.mozarto.io/' \
--header 'Authorization: {{WEBHOOK_SECRET}}' \
--header 'Content-Type: application/json' \
--data '{
  "transaction_id": "64a1f2b3c4d5e6f7a8b9c0d1",
  "psp_transaction_id": "po-9f3c1a2b4d5e",
  "user_id": "000000000000000000000001",
  "status": "success",
  "transaction_status": "Approved",
  "message": "Transaction approved and successfully processed",
  "amount": "10.00",
  "merchantReference": ""
}'

Responses

🟢200
text/plain
Modified at 2026-06-15 11:01:00
Previous
Gigadat withdraw ACH
Next
TransactionData
Built with