CreatePayment

Usage
Create a new payment
Basic URI
/DesktopModules/RazorCart/Services/v1/Payments
Data
payment               The payment object
AUTH
Bearer JWT
Required Scope(s)
payments, create
 
Request
POST https://domain.com/DesktopModules/RazorCart/Services/v1/Payments HTTP/1.1
Authorization: Bearer {access_token}
Content-Type: application/json

{"CustomerID":14,"PayType":"CreditCard","PayDate":"2017-02-26","Amount":30.55,"Quantity":1,"TransID":"D45rW49ckL6","BillingAddress":"3280 West Side Avenue","BillingCity":"Dumont","BillingState":"NJ","BillingZip":"07628","BillingCountry":"US","Status":"True","BillingName":"Anthony Fernandez","Success":true,"AdminNotes":"Payment was approved","StoreID":1}
 
Response
{
  "PayHistID": 139,
  "CustomerID": 14,
  "PayType": "CreditCard",
  "PayDate": "2017-02-26T00:00:00",
  "Amount": 30.55,
  "Quantity": 1,
  "ExpRoute": null,
  "TransID": "D45rW49ckL6",
  "BillingAddress": "3280 West Side Avenue",
  "BillingCity": "Dumont",
  "BillingState": "NJ",
  "BillingZip": "07628",
  "BillingCountry": "US",
  "Coupon": null,
  "Notes": null,
  "Status": "True",
  "AuthCode": null,
  "BillingName": "Anthony Fernandez",
  "PortalID": 0,
  "InvoiceNo": null,
  "PONumber": null,
  "Success": true,
  "GiftCardID": 0,
  "OrderID": 0,
  "IPAddress": null,
  "ModifiedBy": "host",
  "DateModified": "2017-03-03T16:21:11.4454664-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