Type alias OrderData

OrderData: { amount: number; order_id: string; ref_number: string; status: "APPROVED" | "PENDING" | "PROCESSED" | "REJECTED" }

The order data received on getOrder

Type declaration

  • amount: number

    order amount

  • order_id: string

    order id

  • ref_number: string

    order reference number

  • status: "APPROVED" | "PENDING" | "PROCESSED" | "REJECTED"

    order status

Generated using TypeDoc