ListPayments

RazorCart > Integration > REST API
Usage
Lists all payments
Basic URI
/DesktopModules/RazorCart/Services/v1/Payments?top={top}&skip={skip}&orderby={orderby}
Parameters
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)
payments
 
Request
GET https://domain.com/DesktopModules/RazorCart/Services/v1/Payments?top=50&skip=0&orderby=-pay_date HTTP/1.1
Authorization: Bearer {access_token}
Content-Type: application/json
 
Response
[
  {
    "PayHistID" : 139,
    "CustomerID" : 2,
    "PayType" : "CreditCard",
    "PayDate" : "2017-02-28T15:10:21.51",
    "Amount" : 20.78,
    "Quantity" : 1,
    "ExpRoute" : "0119",
    "TransID" : "60018967823",
    "BillingAddress" : "1048 Access Road",
    "BillingCity" : "High Point",
    "BillingState" : "NC",
    "BillingZip" : "27260",
    "BillingCountry" : "US",
    "Coupon" : null,
    "Notes" : "This transaction has been approved.",
    "Status" : "True",
    "AuthCode" : "4CN4FW",
    "BillingName" : "Gregory Collins",
    "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" : 138,
    "CustomerID" : 2,
    "PayType" : "Money Order",
    "PayDate" : "2017-02-24T13:22:00",
    "Amount" : 15.21,
    "Quantity" : 1,
    "ExpRoute" : null,
    "TransID" : "C76rD8GdvIW",
    "BillingAddress" : "4909 Chandler Hollow Road",
    "BillingCity" : "Pittsburgh",
    "BillingState" : "PA",
    "BillingZip" : "15201",
    "BillingCountry" : "US",
    "Coupon" : null,
    "Notes" : null,
    "Status" : "Received",
    "AuthCode" : null,
    "BillingName" : "James Summy",
    "PortalID" : 0,
    "InvoiceNo" : "Inv-905",
    "PONumber" : "PO-9087",
    "Success" : true,
    "GiftCardID" : 0,
    "OrderID" : 109,
    "IPAddress" : null,
    "ModifiedBy" : "host",
    "DateModified" : "2017-03-02T15:21:58.95",
    "MaskAcctNo" : null,
    "TransType" : null,
    "ClearDate" : "1753-01-01T00:00:00",
    "AdminNotes" : "Payment was collected",
    "OffsetID" : 0,
    "SubscriptionID" : 0,
    "PayMethodID" : 0,
    "StoreID" : 1
  }
]