GetPayment

RazorCart > Integration > REST API
Usage
Retrieve a payment by the ID
Basic URI
/DesktopModules/RazorCart/Services/v1/Payments/{id}
Parameters
int id               The payment Id
AUTH
Bearer JWT
Required Scope(s)
payments
 
Request
GET https://domain.com/DesktopModules/RazorCart/Services/v1/Payments/139 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
}