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
status
stringReturns filtered orders by
status
.• Statuses
Each vignette can have one of the statuses:
PENDING
,WILL BE ACTIVE
,ACTIVE
,EXPIRED
,REFUNDED
,DELETED
bug_report
booleanUse with all endpoints to inform us for bugs in API
Default: false
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Successful operation
id
stringemail
stringcreated_date
number
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
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.Content-Type
string · 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_accepted
boolean · requiredMust be
true
to indicate that terms and privacy are accepted. Partner need to store this information in the user order.Example: trueorder_has_been_paid
boolean · 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: truecars
object[] · requiredArray of Vehicles with vehicle plate and registration country.
products
object[] · requiredArray of vignettes with custom id, name, period, and start date.
user
objectUser data.
subaccount
stringPartner can provide different sub-account names which mean different user UI or apps
interchange_fee
object
email
string · email · deprecated · requiredThe partner user email. Must contain the user's real email. By default, any emails from our side are disabled.Deprecated Please use
user.email
field instead.Example: user@gmail.com
Responses
Successful operation
error
Error can be null, a simple string code, or an object with details.
result
object
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
id
string · requiredid
of order in Vignette ID system orcustom_id
from Partner system
query Parameters
bug_report
booleanUse with all endpoints to inform us for bugs in API
Default: false
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Specific order description test
error
Error can be null, a simple string code, or an object with details.
result
object
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
id
string · requiredid
of order in Vignette ID system orcustom_id
from Partner system
query Parameters
bug_report
booleanUse with all endpoints to inform us for bugs in API
Default: false
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Specific order description test
error
Error can be null, a simple string code, or an object with details.
result
object
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
id
string · requiredid
of order in Vignette ID system orcustom_id
from Partner system
query Parameters
bug_report
booleanUse with all endpoints to inform us for bugs in API
Default: false
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Specific order description test
error
object | string | nullresult
object
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
id
string · requiredid
of order in Vignette ID system orcustom_id
from Partner system
query Parameters
bug_report
booleanUse with all endpoints to inform us for bugs in API
Default: false
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Specific order description test
error
object | string | nullresult
object