Create a new document authorization
POST
https://api-billing.koywe.com/V1/document_authorizations
Headers
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
document_type_idintegerRequired
ID of the document type.
document_authorization_quantityintegerOptional
Quantity of the document authorization.
Response
New document authorization successfully created
document_type_idinteger or null
Returns the ID of the document type.
document_type_namestring or null
Returns the name of the document type.
document_authorization_maximuminteger or null
Returns the quantity maximum of the document authorization.
document_authorization_unusedinteger or null
Returns the quantity unused of the document authorization.
document_authorization_quantityinteger or null
Returns the quantity of the document authorization loaded.
messagestring or null
Returns success message.