Transactions
Endpoints
- List, Filter, Search
- Create
- View
- Email Receipt
- Refund
List, Filter, Search
URL: /api/json/transactions/
Method: GET
Arguments (optional)

cURL
curl https://mobile.quickswipe.com/api/json/transactions/?token=516c579c-bdf8-4a6a-a5e4- 46030abbf85e
Response
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Create
URL: /api/json/transactions/
Method: POST
Arguments

cURL
curl https://mobile.quickswipe.com/api/json/transactions/?token=516c579c-bdf8-4a6a-a5e4- 46030abbf85e \\ \-F "token=402732" \\ \-F "subtotal=100" \\ \-F "discount=10" \\ \-F "tip=14.7" \\ \-F "total=112.70" \\ \-F "photo=@file.jpg" \\ \-F "signature=@file.jpg" \\ \-F "line\_items\[0\]\[item\_id\]=1" \\ \-F "line\_items\[0\]\[canonical\_id\]=1" \\ \-F "line\_items\[0\]\[quantity\]=10" \\ \-F "line\_items\[1\]\[name\]=Custom Item" \\ \-F "line\_items\[1\]\[price\]=12.34" \\ \-F "line\_items\[1\]\[notes\]=This is a custom item" \\ \-F "line\_items\[1\]\[photo\]=@file.jpg"
Response
HTTP/1.1 201 Created
Content-Type: application/json; charset=UTF-8 Location: /api/json/transactions/2/

View
URL: /api/json/transactions/
Method: GET
cURL
curl https://mobile.quickswipe.com/api/json/transactions/1/?token=516c579c-bdf8-4a6a-a5e4- 46030abbf85e
Response
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8

Email Receipt
URL: /api/json/transactions/1/receipt
Method: POST
Arguments
email: string (required)
cURL
curl https://mobile.quickswipe.com/api/json/transactions/1/receipt/?token=516c579c-bdf8-4a6a- a5e4-46030abbf85e \\ -d "email=support@bluefin.com"
Response
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Refund
URL: /api/json/transactions/1/refund Method: POST
Arguments

cURL
curl https://mobile.quickswipe.com/api/json/transactions/1/refund/?token=516c579c-bdf8-4a6a- a5e4-46030abbf85e \\ \-d "refund\_amount=1" \\ \-d "line\_items\[\]=1" \\ \-d "line\_items\[\]=2"
Response
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8

Updated over 3 years ago