ListOrderPayments

RazorCart > Integration > REST API
Usage
Lists an order received payments
Basic URI
/DesktopModules/RazorCart/Services/v1/Order/{id}/Payments?top={top}&skip={skip}&orderby={orderby}
Parameters
int id                 The order Id
int top               The maximum number of rows to return
int skip              The start row index
string orderby    A sort expression
AUTH
Bearer JWT
Required Scope(s)
orders, payments
 
Request
GET https://domain.com/DesktopModules/RazorCart/Services/v1/Orders/109/Payments?top=50&skip=0&orderby=-pay_date HTTP/1.1
Authorization: Bearer {access_token}
Content-Type: application/json
 
Response
[
  {
    "PayHistID": 137,
    "CustomerID": 2,
    "PayType": "CreditCard",
    "PayDate": "2017-02-28T15:10:21.51",
    "Amount": 20.7888,
    "Quantity": 1,
    "ExpRoute": "0119",
    "TransID": "60018967823",
    "BillingAddress": "4909 Chandler Hollow Road",
    "BillingCity": "Pittsburgh",
    "BillingState": "PA",
    "BillingZip": "15201",
    "BillingCountry": "US",
    "Coupon": null,
    "Notes": "This transaction has been approved.",
    "Status": "True",
    "AuthCode": "4CN4FW",
    "BillingName": "James Summy",
    "PortalID": 0,
    "InvoiceNo": null,
    "PONumber": null,
    "Success": true,
    "GiftCardID": 0,
    "OrderID": 109,
    "IPAddress": "127.0.0.1",
    "ModifiedBy": "host",
    "DateModified": "2017-02-28T15:10:22.21",
    "MaskAcctNo": "XXXX-XXXX-XXXX-1881",
    "TransType": "Sale",
    "ClearDate": "1753-01-01T00:00:00",
    "AdminNotes": null,
    "OffsetID": 0,
    "SubscriptionID": 0,
    "PayMethodID": 1,
    "StoreID": 1
  },
  {
    "PayHistID": 127,
    "CustomerID": 2,
    "PayType": "PAYPALSTD",
    "PayDate": "2017-01-24T18:22:43.45",
    "Amount": 20.7888,
    "Quantity": 1,
    "ExpRoute": null,
    "TransID": "41103788YM649161W",
    "BillingAddress": "4909 Chandler Hollow Road",
    "BillingCity": "Pittsburgh",
    "BillingState": "PA",
    "BillingZip": "15201",
    "BillingCountry": "US",
    "Coupon": null,
    "Notes": "Instant Payment Notification",
    "Status": "Completed",
    "AuthCode": "IPN: aa2c56d4d82b6",
    "BillingName": "James Summy",
    "PortalID": 0,
    "InvoiceNo": null,
    "PONumber": null,
    "Success": true,
    "GiftCardID": 0,
    "OrderID": 109,
    "IPAddress": "127.0.0.1",
    "ModifiedBy": "host",
    "DateModified": "2017-01-24T18:24:26.05",
    "MaskAcctNo": null,
    "TransType": "Sale",
    "ClearDate": "1753-01-01T00:00:00",
    "AdminNotes": null,
    "OffsetID": 0,
    "SubscriptionID": 0,
    "PayMethodID": 11,
    "StoreID": 1
  }
]