Welcome to our new Vignette ID Developer Portal documentation!
Partner API (v1.0)

Orders List Endpoints

Server

Endpoints for interacting with orders.


Get Orders

GET
https://sandbox-api.vignette.id
/public/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

Get Orders › query Parameters

status
​string

Returns filtered orders by status.

• Statuses

Each vignette can have one of the statuses:

PENDING, WILL BE ACTIVE, ACTIVE, EXPIRED, REFUNDED, DELETED

More about status list.

bug_report
​boolean

Use with all endpoints to inform us for bugs in API

Default: false

Get Orders › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Get Orders › Responses

Successful operation

id
​string
email
​string
created_date
​number

Create order

POST
https://sandbox-api.vignette.id
/public/orders

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.

Create order › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Content-Type
​string · enum · required

Specifies the format of the request body. Must be 'application/json' for requests with a JSON body.

Enum values:
application/json
Default: application/json

Create order › Request Body

terms_and_privacy_accepted
​boolean · required

Must be true to indicate that terms and privacy are accepted. Partner need to store this information in the user order.

Example: true
order_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 in payment_link, which the partner must display to the user. The payment is processed on our side.

Example: true
​object[] · required

Array of Vehicles with vehicle plate and registration country.

​object[] · required

Array of vignettes with custom id, name, period, and start date.

send_payment_link
​string · enum

Not required. Defines how the payment link should be delivered to the user:

• email - send the payment link to the user's email.

• sms - send the payment link via SMS to the user's phone number.

If omitted, the payment link is only returned in the response (payment_link).

Enum values:
email
sms
Example: email
allowed_payment_providers
​string[] · minItems: 1 · unique

Not required. Payment providers the user can pay with on the Vignette ID payment page. The final provider is chosen by the user at checkout.

If omitted, defaults to ["stripe", "paypal"].

⚠️ Only allowed when order_has_been_paid is false — the payment page is not shown when the partner collects the payment.

Enum values:
stripe
paypal
monobank
Default: ["stripe","paypal"]
open_order_details_by_default
​boolean

Not required. When true, the Vignette ID payment page opens with the order details section expanded. Defaults to false.

⚠️ Only allowed when order_has_been_paid is false — the payment page is not shown when the partner collects the payment.

Example: false
Default: false
​object

User data.

subaccount
​string

Partner can provide different sub-account names which mean different user UI or apps

​object

Create order › Responses

Successful operation

​

Error can be null, a simple string code, or an object with details.

​object

Validate order

POST
https://sandbox-api.vignette.id
/public/orders/validate

Pre-flight validation of an order payload (vehicles + products) before calling Create order.

Returns the same 400 error types as Create order but performs no payment, no order persistence and no user creation. Use it to validate a basket on the partner side before checkout.

⚠️ Rate limit policy applies to this endpoint Check Rate Limits

Validate order › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Content-Type
​string · enum · required

Specifies the format of the request body. Must be 'application/json' for requests with a JSON body.

Enum values:
application/json
Default: application/json

Validate order › Request Body

Pre-flight validation of an order payload (cars + products) before calling create order. Does not require payment, terms or user data.
​object[] · required

Array of Vehicles with vehicle plate and registration country.

​object[] · required

Array of vignettes with name, period, and start date.

Validate order › Responses

Payload is valid and an order with the same data would be accepted by Create order

​

Error can be null, a simple string code, or an object with details.

​object

Get Order

GET
https://sandbox-api.vignette.id
/public/orders/{id}

• 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

• modify, full_refund, partial_refund - capability blocks telling you whether the order can be modified or refunded right now, until when, and (for refunds) for how much. Present on Flex orders.

• flex - Flexible Service configuration recorded on the order.

Get Order › path Parameters

id
​string · required

id of order in Vignette ID system or custom_id from Partner system

Get Order › query Parameters

bug_report
​boolean

Use with all endpoints to inform us for bugs in API

Default: false

Get Order › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Get Order › Responses

Specific order description test

​

Error can be null, a simple string code, or an object with details.

​object

Get Order Status

GET
https://sandbox-api.vignette.id
/public/orders/{id}/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

Get Order Status › path Parameters

id
​string · required

id of order in Vignette ID system or custom_id from Partner system

Get Order Status › query Parameters

bug_report
​boolean

Use with all endpoints to inform us for bugs in API

Default: false

Get Order Status › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Get Order Status › Responses

Specific order description test

​

Error can be null, a simple string code, or an object with details.

​object

Cancel Pending Order

POST
https://sandbox-api.vignette.id
/public/orders/{id}/cancel-pending

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

Cancel Pending Order › path Parameters

id
​string · required

id of order in Vignette ID system or custom_id from Partner system

Cancel Pending Order › query Parameters

bug_report
​boolean

Use with all endpoints to inform us for bugs in API

Default: false

Cancel Pending Order › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Cancel Pending Order › Responses

Specific order description test

error
​object | string | null
​object

Cancel Deferred Order

POST
https://sandbox-api.vignette.id
/public/orders/{id}/cancel-deferred

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

Cancel Deferred Order › path Parameters

id
​string · required

id of order in Vignette ID system or custom_id from Partner system

Cancel Deferred Order › query Parameters

bug_report
​boolean

Use with all endpoints to inform us for bugs in API

Default: false

Cancel Deferred Order › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Cancel Deferred Order › Responses

Specific order description test

error
​object | string | null
​object