Skip to main content

Payment VIA API

PAYMENT

POST` https://api.integator.io/:id

This endpoint will force process a payment / cash sale

Path Parameters

NameTypeDescription
idstringID of Invoke - From Celigo Admin (Shopify Import flow part)

Headers

NameTypeDescription
Content-Typestringapplication/json
AuthenticationstringBearer Authentication Authorization: Bearer APIKEY

Request Body

NameTypeDescription
BodystringJSON Body

title="201 Successfully Processed payment"

title="422 An Issue with the request"

{
"errors": [
{
"source": "application",
"code": 422,
"message": "{\"errors\":{\"base\":[\"Unable to find parent transaction\"]}}",
"resolved": false,
"occurredAt": 1613494076514
}
]
}

Example Request Body (Note: Single transaction PER request)

   {
      "id": "8134994",
      "recordType": "cashsale",
      "Order Type": "",
      "*": "*",
      "Date": "12/21/2020",
      "As-Of Date": "",
      "Period": "Dec 2020",
      "Type": "Cash Sale",
      "Document Number": "SALE79043",
      "Name": "C69735 John Kunitzer",
      "Account": "Undeposited Funds",
      "Memo": "",
      "Amount": "621.17",
      "Shopify #": "#1258",
      "Shopify ID": "2907843821722"
    }