POST
/
v1
/
accounts
/
{account_id}
/
events
curl --request POST \
  --url https://api.gofermata.com/v1/accounts/{account_id}/events \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "type": "string",
    "quantity": 0,
    "cost_override": {
      "amount": 0,
      "denomination": "string"
    },
    "metadata": {}
  }
]'
{
  "events_submitted": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

account_id
string
required

Body

application/json · object[]

The body is of type object[].

Response

200 - application/json

OK

The response is of type object.