UpdatePayment

Usage
Update a payment information
Basic URI
/DesktopModules/RazorCart/Services/v1/Payments/{id}
Parameters
int id               The payment Id
Data
payment           The payment object
AUTH
Bearer JWT
Required Scope(s)
payments, edit
 
Request
PUT https://domain.com/DesktopModules/RazorCart/Services/v1/Payments/139 HTTP/1.1
Authorization: Bearer {access_token}
Content-Type: application/json

{"ExpRoute":"0119","Notes":"Payment collected","AuthCode":"W9K2J8Y4","InvoiceNo":"Inv-3014","PONumber":"PO-201","OrderID":20}
 
Response
{
  "PayHistID": 139,
  "CustomerID": 14,
  "PayType": "CreditCard",
  "PayDate": "2017-02-26T00:00:00",
  "Amount": 30.55,
  "Quantity": 1,
  "ExpRoute": "0119",
  "TransID": "D45rW49ckL6",
  "BillingAddress": "3280 West Side Avenue",
  "BillingCity": "Dumont",
  "BillingState": "NJ",
  "BillingZip": "07628",
  "BillingCountry": "US",
  "Coupon": null,
  "Notes": "Payment collected",
  "Status": "True",
  "AuthCode": "W9K2J8Y4",
  "BillingName": "Anthony Fernandez",
  "PortalID": 0,
  "InvoiceNo": "Inv-3014",
  "PONumber": "PO-201",
  "Success": true,
  "GiftCardID": 0,
  "OrderID": 20,
  "IPAddress": null,
  "ModifiedBy": "host",
  "DateModified": "2017-03-03T16:27:24.6802471-08:00",
  "MaskAcctNo": null,
  "TransType": null,
  "ClearDate": "1753-01-01T00:00:00",
  "AdminNotes": "Payment was approved",
  "OffsetID": 0,
  "SubscriptionID": 0,
  "PayMethodID": 0,
  "StoreID": 1
}

Add Feedback