Webhooks

Register Webhook URL

Register a new webhook endpoint that Tamara will post selected events to as notification payload

post/webhooks

Request

  • Base URL
    https://api-sandbox.tamara.co
  • Auth
    HTTP bearer

Request body

OR

Example request

{
  "type": "order",
  "events": [
    "order_approved",
    "order_authorised",
    "order_canceled",
    "order_updated",
    "order_captured",
    "order_refunded"
  ],
  "url": "https://www.enteryoursitehere.com/webhooks",
  "headers": {
    "authorization": "12344-1231-abcd"
  }
}

Response

Success

Changes

No recorded changes to this operation across all 2 revisions of this API.