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

    CreateInvoiceRequest

    {
        "amount": 100,
        "currency": "EGP",
        "customer_email": "customer@example.com",
        "customer_name": "Ahmed Ali",
        "customer_phone": "01012345678",
        "customer_metadata": {
            "order_id": "1001"
        },
        "external_reference": "ORD-1001",
        "success_url": "https://merchant.example/orders/1001/success",
        "cancel_url": "https://merchant.example/orders/1001/cancel",
        "webhook_url": "https://merchant.example/webhooks/autopay",
        "expires_in_hours": 48,
        "customer_pays_platform_percentage": false,
        "customer_pays_platform_fixed": false,
        "customer_pays_withdrawal_fee": false,
        "assumed_payout_method": "vf_atm"
    }
    Built with