Creates a new transaction status for the authenticated user.
POST
/v2/transactions/statuses
curl \
--request POST 'https://api.pre.transactiondesk.com/v2/transactions/statuses' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"Fallen-Through"}'
Request examples
{
"name": "Fallen-Through"
}
Response examples (200)
{
"id": "ee9d3620-9b2f-437d-b522-3c785dbbfacd"
}
Response examples (400)
{
"code": 400,
"message": "Request was not valid.",
"details": [
"string"
]
}
Response examples (401)
{
"code": 401,
"message": "Unauthorized. The user is not authenticated.",
"details": []
}