Search…
Card linking Receipt API
This API is for Merchants that use ReceiptHero card linking with ReceiptHero supported PSPs.

POST Receipt

Request

This endpoint creates new receipt to ReceiptHero. ReceiptHero uses receiptdata to match receipt to correct ReceiptHero user
1
POST /api/v1/receipts/ HTTP/1.1
2
Host: api.dev.receipthero.io
3
Authorization: Token <RECEIPTHERO_API_KEY
4
Content-Type: application/json
5
6
Copied!
ReceiptHero JSON as body

Response

1
HTTP 200 OK
2
Content-Type: application/json
Copied!

Errors

1
HTTP 400 Bad Request
2
Content-Type: application/json
3
4
{"error":"errormessage","decription":"error description"}
5
6
Also multiple errors possible
7
8
[{"error":"errormessage","decription":"error description"},
9
{"error":"errormessage","decription":"error description"}]
Copied!

Last modified 1yr ago