POST
/
rewards
Create a reward
curl --request POST \
  --url https://api.synctera.com/v1/rewards \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "account_id": "12943c51-e4ff-4e57-9558-08cab6b96364",
  "amount": 1000,
  "metadata": {},
  "note": "Reduced account reward based on phone call with customer",
  "template_id": "64943c51-e4ff-4e57-9558-08cab6b96352"
}'
{
  "account_id": "12943c51-e4ff-4e57-9558-08cab6b96364",
  "amount": 1000,
  "metadata": {},
  "note": "Reduced account reward based on phone call with customer",
  "template_id": "64943c51-e4ff-4e57-9558-08cab6b96352",
  "creation_time": "2010-05-06T12:23:34.321Z",
  "currency": "USD",
  "description": "Referral Reward",
  "id": "44943c51-e4ff-4e57-9558-08cab6b96321",
  "internal_account_id": "42943c51-e4ff-4e57-9558-08cab6b963c8",
  "last_updated_time": "2010-05-06T12:23:34.321Z",
  "subtype": "ACCOUNT_OPENING_BONUS",
  "tenant": "abcdef_ghijkl",
  "transaction_id": "11943c51-e4ff-4e57-9558-08cab6b96333"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Reward to create

The body is of type object.

Response

201
application/json

Created reward

The response is of type object.