Token Receipt API

This API is for Patners that use are able to deliver card related token with receipt data.

Token Receipt API

Request

POST /api/v1/receipts/ HTTP/1.1
Host: api.dev.receipthero.io
Authorization: Token <RECEIPTHERO_API_KEY>
Content-Type: application/json
{
"attributes": {
"card_token": "<CARD_TOKEN>",
"token_type": "<EXAMPLE_TOKEN_TYPE>"
},
"receipt": {
<HeroJSON>
}
}

ReceiptHero JSON as <HeroJSON>

Response OK

HTTP 200 OK
Content-Type: application/json