Type alias NewOrder

NewOrder: { amount: string; currency: string; id: string; links: { checkoutLink: string; failed: string; success: string }; orderNumber: string; refNumber: string; status: "PENDING"; type: string; uuid: string }

The new order data received on createOrder

Type declaration

  • amount: string

    order amount

  • currency: string

    order currency

  • id: string

    order id

  • links: { checkoutLink: string; failed: string; success: string }
    • checkoutLink: string

      payment link

    • failed: string

      redirect link if is failed the payment

    • success: string

      redirect link if is success the payment

  • orderNumber: string

    order number

  • refNumber: string

    order reference number

  • status: "PENDING"

    order status

  • type: string

    operation type

  • uuid: string

    uuid of the order

Generated using TypeDoc