Create Reward
POST {{server_url}}/rewards
Request Body
{"data"=>{"type"=>"reward", "attributes"=>{"amount"=>1000, "description"=>"Sample Reward", "tags"=>{"customer_type"=>"vip"}}, "relationships"=>{"receivingAccount"=>{"data"=>{"type"=>"depositAccount", "id"=>"412727"}}}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |