Endpoints for interacting with orders.
Get Orders
This endpoint allows you to obtain a list of all partner orders with all the necessary information about the order.
⚠️ Rate limit policy applies to this endpoint Check Rate Limits
query Parameters
statusstringReturns filtered orders by
status.• Statuses
Each vignette can have one of the statuses:
PENDING,WILL BE ACTIVE,ACTIVE,EXPIRED,REFUNDED,DELETEDbug_reportbooleanUse with all endpoints to inform us for bugs in API
Default: false
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Successful operation
idstringemailstringcreated_datenumber
Create order
New paid order on partner side initiate request for processing in Vignette ID system.
⚠️ Once an order moves to the pending status, it can no longer be modified.
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.Content-Typestring · enum · requiredSpecifies the format of the request body. Must be 'application/json' for requests with a JSON body.
Enum values:application/jsonDefault: application/json
Request Body
terms_and_privacy_acceptedboolean · requiredMust be
trueto indicate that terms and privacy are accepted. Partner need to store this information in the user order.Example: trueorder_has_been_paidboolean · required•
true- this means that the partner accepted and processed the payment on his side.•
false- to pay for an order, the API generates a link and returns it to the response inpayment_link, which the partner must display to the user. The payment is processed on our side.Example: truecarsobject[] · requiredArray of Vehicles with vehicle plate and registration country.
productsobject[] · requiredArray of vignettes with custom id, name, period, and start date.
userobjectUser data.
subaccountstringPartner can provide different sub-account names which mean different user UI or apps
interchange_feeobject
Responses
Successful operation
errorError can be null, a simple string code, or an object with details.
resultobject
Get Order
• id - order id in Vignette ID system
• custom_id - order id in Partner system
• provider_id - unique vignette id in national (government) providers systems
• cars -> provider_id - unique vignette identificator in national provider system
• cars -> pdf - confirmation file from national provider system.
⚠️ Rate limit policy applies to this endpoint Check Rate Limits
path Parameters
idstring · requiredidof order in Vignette ID system orcustom_idfrom Partner system
query Parameters
bug_reportbooleanUse with all endpoints to inform us for bugs in API
Default: false
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Specific order description test
errorError can be null, a simple string code, or an object with details.
resultobject
Get Order Status
Returns only the order status. Applicable in cases where you need to check only the status without other information.
⚠️ Rate limit policy applies to this endpoint Check Rate Limits
path Parameters
idstring · requiredidof order in Vignette ID system orcustom_idfrom Partner system
query Parameters
bug_reportbooleanUse with all endpoints to inform us for bugs in API
Default: false
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Specific order description test
errorError can be null, a simple string code, or an object with details.
resultobject
Cancel Pending Order
The ability to cancel an order that has a PENDING status if it is not processed within the specified time period
• PENDING - only.
⚠️ Rate limit policy applies to this endpoint Check Rate Limits
path Parameters
idstring · requiredidof order in Vignette ID system orcustom_idfrom Partner system
query Parameters
bug_reportbooleanUse with all endpoints to inform us for bugs in API
Default: false
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Specific order description test
errorobject | string | nullresultobject
Cancel Deferred Order
The ability to cancel an order that has a DEFERRED status if it is not processed within the specified time period
• DEFERRED - only.
⚠️ Rate limit policy applies to this endpoint Check Rate Limits
path Parameters
idstring · requiredidof order in Vignette ID system orcustom_idfrom Partner system
query Parameters
bug_reportbooleanUse with all endpoints to inform us for bugs in API
Default: false
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Specific order description test
errorobject | string | nullresultobject