Developer Docs
  • 👋Get Started
  • Add Payment Methods in Optty
  • Custom API | Headless
    • 🖥️Direct API Integration
      • Environments
      • Order Flow
      • 1️⃣Create Access Token
      • 2️⃣Get APM Options
      • 3️⃣Create Order
      • 4️⃣Handle Payment Response
      • 5️⃣Refund Order
      • 🔥Handling Exceptions
  • Platforms
    • ◾BigCommerce
      • 🚀Activate Optty
      • ⚡Add Optty Widgets
        • 1️⃣Install the App
        • 2️⃣Create Widget Token
        • 3️⃣Edit Your Template
        • 4️⃣Widget Configuration
      • 💳Refunds
    • Magento 2
      • Install Optty Module
      • Configure the Optty Extension
      • One Step Checkout
    • Salesforce Commerce Cloud
      • Component Overview
      • Implementation Guide
      • Operation and Management
      • User Guide
    • 🟪WooCommerce
      • 🚀Install Optty
      • ⚡Setup Widgets
      • 💳Refunds
  • Widget
    • Widget Setup and Integration
    • Create Order Widget Integration
    • Handle Order Payment Widget Integration
  • API References
    • Create Order
      • Create Order Response
    • Refund Order
    • Void Order
    • Capture Order
    • Transaction Details
    • Create Customer Session
    • Best Practice
  • Go Live
  • Universal Payment Platform
    • Support Articles
Powered by GitBook
On this page
  1. API References
  2. Create Order

Create Order Response

Content Type: application/json

Field
Field Type
Description

orderId

string

The unique order identifier.

orderToken

string

number A session token returned by the Payment Methods for lookups.

redirectUrl

string

The generated payment URL returned by the Payment Method that the customer should be redirected to.

bnplProvider

string

The Payment Method provider used for the payment.

orderReference

string

The order reference used to lookup the order. (Always match with the OrderID sent in Create Order Request)

orderAmount

number

The total amount of the order.

orderPaymentOption

string

The payment option selected for the order.

orderDate

string

The date and time the order was placed

paymentStatus

string

The order payment status.

transactionReference

string

The order transaction reference.

PreviousCreate OrderNextRefund Order

Last updated 7 months ago