AutopayEG
    • Invoices
      • Create invoice
        POST
      • Get invoice
        GET
      • Cancel invoice
        POST
    • Merchant
      • Current merchant
        GET
    • Webhooks
      • Receive Autopay webhook
        POST
    • Schemas
      • InvoiceStatus
      • Provider
      • ErrorEnvelope
      • CreateInvoiceRequest
      • Invoice
      • CreateInvoiceResponse
      • GetInvoiceResponse
      • MerchantMeResponse
      • MerchantFees
      • MerchantTransaction
      • WebhookCustomer
      • WebhookEnvelope
      • WebhookData

    MerchantTransaction

    Lean merchant-facing transaction. GET invoice may include extra diagnostic
    fields; webhooks only send this shape. Use fees.customer_total and
    fees.merchant_net — not internal rates.

    {
        "id": 42,
        "uuid": "a3f1c8e2-4b5d-4e6f-8a9b-1c2d3e4f5a6b",
        "invoice_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
        "provider": "vodafone_cash",
        "status": "verified",
        "currency": "EGP",
        "amount": "100.00",
        "received_amount": "100.00",
        "sender_identifier": "ahmed@instapay",
        "sender_name": "Ahmed Ali",
        "reference": "123456789",
        "is_flagged": false,
        "flag_reason": "amount_mismatch",
        "fees": {
            "customer_total": "103.00",
            "merchant_net": "100.00"
        },
        "matched_at": "2026-08-17T10:12:00+00:00",
        "created_at": "2026-08-17T10:05:00+00:00"
    }
    Built with