Search…
Token Receipt API
This API is for Patners that are able to deliver card related token with receipt data.

Token Receipt API

Request

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
{
7
"attributes": {
8
"tokens": [
9
{
10
"value": "bmxpbmUgSldMjksImV4cCI6MTY0NzcwNTIyOSwiYXVkIjoid3d3",
11
"id": "parter-token-xyz",
12
"type": "CARD"
13
}
14
]
15
},
16
"receipt": <HEROJSON>
17
}
Copied!
ReceiptHero JSON as <HeroJSON>

Response OK

1
HTTP 200 OK
2
Content-Type: application/json
Copied!
Last modified 8mo ago