Skip to content

Deleting a transaction

Request

The transaction must belong to the requested location and an account accessible to the user.

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

transaction_idinteger, >= 1required

Positive decimal transaction ID; a numeric prefix followed by other text is invalid.

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X DELETE \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/finance_transactions/{location_id}/{transaction_id}' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

Accepted

Response
No content