GetOrderPayment

RazorCart > Integration > REST API
Usage
Retrieve an order payment by ID
Basic URI
/DesktopModules/RazorCart/Services/v1/Orders/{id}/Payments/{id}
Parameters
int id               The order Id
int id               The payment Id
AUTH
Bearer JWT
Required Scope(s)
orders, payments
 
Request
GET https://domain.com/DesktopModules/RazorCart/Services/v1/Orders/109/Payments/127 HTTP/1.1
Authorization: Bearer {access_token}
Content-Type: application/json
 
Response
{
  "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
}