API Version 2
  • API V2 Overview
  • Category
    • Company
      • Customers
        • Orders
          • Pages
            • Page Templates
              • Products
                • Purchase Orders
                  • SKUs
                    • Support Tickets
                      • Tax Regions
                        • Vendors
                          • Warehouses
                            API Documentation

                            orders/info_payments

                            Type Info
                            List Orders
                            URL http://{domain}/api/v2/products/info_payments.json
                            Accepts Filters No
                            Output Attributes
                            No


                            Orders Info Payments Data

                            Gets Order Payments info.
                            Status

                            Credit Cards contain some custom status fields. To view these, click here to see the record status.


                            Filters
                            Filter the Orders Payments into a list.
                            Parameter Type Rules Example
                            id int / array one id or multiple Lead Commerce order ids
                            1 or array(3,8,9,45)

                            Credit Card Types
                            1 American Express
                            2 Diners Club
                            3 Discover
                            4 JCB
                            5 Mastercard
                            6 Visa

                            Response

                            Example JSON returned
                            {
                              "code": "200",
                              "data": {
                                "3": [
                                  {
                                    "id": "15",
                                    "amount": "2472.00",
                                    "refund": "",
                                    "data1": "1021",
                                    "data2": "",
                                    "data3": "",
                                    "data4": "",
                                    "received": "1433284613",
                                    "status": "1",
                                    "payment_gateway": [
                                      {
                                        "id": "3",
                                        "name": "Check"
                                      }
                                    ],
                                    "address": [
                                      {
                                        "id": "14",
                                        "name": "Jane Doe",
                                        "business_name": "MHG",
                                        "address_1": "8420 Main St",
                                        "address_2": "Apt 3234",
                                        "city": "San Diego",
                                        "postal_code": "92110",
                                        "phone": "842-342-3432",
                                        "status": "1",
                                        "subregion": "California",
                                        "region": "United States"
                                      }
                                    ],
                                    "additional": ""
                                  }
                                ],
                                "12": [
                                  {
                                    "id": "28",
                                    "amount": "618.05",
                                    "refund": "",
                                    "data1": "Visa",
                                    "data2": "XXXX0027",
                                    "data3": "",
                                    "data4": "",
                                    "received": "1433530569",
                                    "status": "1",
                                    "payment_gateway": [
                                      {
                                        "id": "1",
                                        "name": "Authorize.net"
                                      }
                                    ],
                                    "address": [
                                      {
                                        "id": "19",
                                        "name": "B Smith 1",
                                        "business_name": "Bob's Flower Shop",
                                        "address_1": "12735 Main St",
                                        "address_2": "Ste 232",
                                        "city": "San Diego",
                                        "postal_code": "92064",
                                        "phone": "619-342-3232",
                                        "status": "1",
                                        "subregion": "California",
                                        "region": "United States"
                                      }
                                    ],
                                    "additional": [
                                      {
                                        "id": "2",
                                        "transaction": "2234695598",
                                        "code1": "23BFRV",
                                        "code2": "",
                                        "code3": "",
                                        "card_type": "6",
                                        "message": "This transaction has been approved."
                                      }
                                    ]
                                  }
                                ]
                              }
                            }
                            

                            Start your free, no-risk trial today.