CreatePaymentImage

RazorCart > Integration > REST API
Usage
Create a payment images/signature
Basic URI
/DesktopModules/RazorCart/Services/v1/Payments/{id}/Signature
Parameters
int id               The payment Id
Data
signature        The payment signature object
AUTH
Bearer JWT
Required Scope(s)
payments, create
 
Request
POST https://domain.com/DesktopModules/RazorCart/Services/v1/Payments/139/Signature HTTP/1.1
Authorization: Bearer {access_token}
Content-Type: application/json

{"SignatureData":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAbCAYAAACKlipAAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH4QMEAQI7W/FukQAAAAd0RVh0QXV0aG9yAKmuzEgAAAAMdEVYdERlc2NyaXB0aW9uABMJISMAAAAKdEVYdENvcHlyaWdodACsD8w6AAAADnRFWHRDcmVhdGlvbiB0aW1lADX3DwkAAAAJdEVYdFNvZnR3YXJlAF1w/zoAAAALdEVYdERpc2NsYWltZXIAt8C0jwAAAAh0RVh0V2FybmluZwDAG+aHAAAAB3RFWHRTb3VyY2UA9f+D6wAAAAh0RVh0Q29tbWVudAD2zJa/AAAABnRFWHRUaXRsZQCo7tInAAAFjUlEQVRogd3Za4yeVREH8N90t0W0N1qx0iJUFFKaUltBi0RFNBBKokENaIJoYjWIqTEaiRElFZVEY4HExGj6AfEWAga1H1S8BVuMValF2oigiFsTBJFKWwO11/HDnKVrs7t9t3t5V/7JybP7nPPOzHPmzMx/nicy02RGREzLzH3dtmOiMKXbBgyFiDg/Im5DX0RsjohLum3TRCAmY4RExMVYj2l4BKe1qVWZeUvXDJsATLoIiYg5+JJyxpU4EyuxG1+NiNd00bxxx6RzCN6F03F9Zn4rM/dl5l24ClNxQ0REVy0cR0yqlBURvdiEk3BmZv77iPnbcTlel5m/7IKJ447JFiHn4hx880hnNFyDf+K6CbVqAjHZHPLGdr1zsMnM/JtyykUR8Y4Js2oCMWlSVkT04Fd4AZZn5v5h1m7AqViambtHqfdEvBJ/zsxHRiNrLDCZIuRVeDU2DueMhmuVQ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On2nVvG/tVSrwR31f91AxFEnoRbRxUpOFqFVH9NWevqmN71Nvms1RK24e5mKcc8aJmS0/T/xfcp9jmNjza39RGxAVYqw7bzbgpM3cebR/GJWUdIzZiFXa1vP7s29xGHOaogj8Ts9t1rkpxM9Vbhx/hUpUW+vAvtdl7HHbepcp5mxWDnKuY1fHKgRuxUL0zux6/V5v/DHbiCXUgnhyMpDQKvwafUmTmoszc1PEudLMrPaJrXtQ27O2jkHFS27TPD7NmnYrAFcOsWd3WrB2h/pNVbUh8AyeM+Bm67YgBD9OrKPO8Ucr5SNuQawaZm67y+9NYeBQ5dzQ5H+tQ74oWlXsVazo2+7vtiHFw7BTc0jbza5g5YO4tDr+7mnIUOfNUYU7Vc31AfRy7DBcrpjZfsaprVb3ZgfNGZX+3N3AcHbO2beZv8W5VyB9q9y7vUMYp+LKqHznIODDg77vV54BR2T1pWNZ4ICKuU18Xpw64vU6llIMjkLNAMb4elZJmqr5jgUqB92Tm5jGx+bnsEIiIxapj3o/fZOZ9XTZpWDznHfL/hv8C3xqAHLTsHqsAAAAASUVORK5CYII=",
  "CreatedDate": "2017-03-03T16:59:29.0288777-08:00",
  "CreatedByUser": "host",
  "ModifiedDate": "1753-01-01T00:00:00",
  "ModifiedByUser": null,
  "PortalID": 0
}