1. Webhook
Mozarto - The Payments Orchestration Platform
  • 1. Introduction
  • 2. Authentication
  • 3. Redirect API
    • Pay-In Flow
    • Pay-Out Flow
    • Webhook Setup
    • Country Codes
    • Errors
    • Payment Providers (PSPs)
      • Overview
      • Brite
      • CashLib
      • Cleo
      • Contiant
      • emerchantpay
      • Flexepin
      • ForumPay
      • Gigadat
      • Neosurf
      • OFApay
      • PawaPay
      • PayModum
      • PayOne
      • Trust Payments
      • Worldpay
    • Sample requests
      • Overview
      • Pay-In
        • Brite
        • CashLib
        • Cleo
        • Contiant
        • emerchantpay
        • Flexepin
        • Forumpay
        • Gigadat
        • Neosurf
        • OFApay
        • PawaPay
        • Paymodum
        • PayOne
        • Trust Payments
        • WorldPay
      • Pay-Out
        • Cleo
        • Forumpay
        • Gigadat withdraw ACH
        • Gigadat withdraw ETO
        • OFApay
        • PawaPay
        • PayOne
        • Trust Payments
      • Webhook
        • PayOne status webhook
          POST
        • ForumPay status webhook
          POST
  • 4. Hosted page API
    • Pay-In Flow
    • Webhook Setup
    • Country Codes
    • Errors
    • Payment Providers (PSPs)
      • emerchantpay
      • Worldpay
      • Overview
    • Sample requests
      • Overview
  • 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-09-29 08:46:10
Previous
Trust Payments
Next
ForumPay status webhook
Built with