Payment VIA API
PAYMENT
POST` https://api.integator.io/:id
This endpoint will force process a payment / cash sale
Path Parameters
| Name | Type | Description |
|---|---|---|
| id | string | ID of Invoke - From Celigo Admin (Shopify Import flow part) |
Headers
| Name | Type | Description |
|---|---|---|
| Content-Type | string | application/json |
| Authentication | string | Bearer Authentication Authorization: Bearer APIKEY |
Request Body
| Name | Type | Description |
|---|---|---|
| Body | string | JSON 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"
}