Currently in the process of migrating from Apiary.
curl --location --request POST 'https://your-api-server.com' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"timestamp": "string",
"event": "address-book.client.points",
"accountId": "string",
"data": {
"received": 0,
"spent": 0,
"balance": 0,
"client": {
"localId": "string"
},
"receipt": {
"localId": "string",
"number": "string"
}
}
}'{}