3. Sending your first reward

Kick off your journey by sending your first reward.

You are all set.

Let’s kick things off with a $50.00 test reward. Run the cURL command below, updating YOUR-API-KEY and YOUR-EMAIL-ADDRESS.

curl --request POST \
     --url https://biz-sandbox-api.sodagift.com/v1/orders \
     --header 'SODA-API-KEY:YOUR-API-KEY' \
     --header 'accept: application/json' \
     --header 'content-type: application/json'
     --data '
{
  "item": {
    "id": 1,
    "custom_amount": 50
  },
  "delivery": {
    "method": "EMAIL",
    "recipient": {
      "name": "John Smith",
      "email": "[email protected]"
    },
    "sender": {
      "name": "John Smith"
    }
  },
  "message": "Congratulation"
}
'

Now, check your inbox.
You should see the reward you sent yourself via the SodaGift for Business API.


Congrats—we’re up and running!