Create Order
POST/orders
Creates a new merchant order.
Request
Header Parameters
Idempotency Key for the request
- application/json
Body
Array [
]
Processing entityId provided by Nuvei.
ID of the transaction in the merchant system.
Possible values: <= 45 characters
A free text parameter used to identify the product/service sold. If this parameter is not sent or is sent with an empty value, then it contains the concatenation of all item names up until the parameter maximum length. Risk rules and traffic management rules are usually built based on this parameter value.
Possible values: <= 50 characters
currencyConversion
object
The type of the currency conversion.
Possible values: [MCP]
The original amount of the transaction in the currency that the merchant requested.
The 3-letter ISO currency code of the currency that the merchant requested in the transaction.
Possible values: >= 3 characters and <= 3 characters
The transaction amount.
Possible values: >= 3 characters and <= 3 characters
The type of transaction.
Possible values: [Auth, PreAuth, Sale]
Indicates whether the transaction was done over email/phone or is a regular transaction. Values: true = Moto transaction | false = no Moto Transaction
Describes a situation where the deposit was completed and processed with an amount lower than the requested amount due to a consumer's lack of funds within the desired payment method. Partial approval is only supported by Nuvei acquiring. Values: true - Allow partial approval | false - Not allow partial approval
For Authentication Zero scenarios, this optional field defines the authentication type.
Possible values: [recurring, installments, addCard, maintainCard, accountVerification]
amountDetails
object
Amount of discount applied.
0Amount of handling.
0Amount of freight or shipping.
0Total tax amount.
0items
object[]
dynamicDescriptor
object
The merchant name, as is displayed for the transaction on the consumer's card statement.
Possible values: <= 25 characters
The merchant contact information, as is displayed for the transaction on the consumer's card statement. It can also be an email address.
Possible values: <= 255 characters
urlDetails
object
With this class, a merchant can dynamically provide possible URLs to which the end user is redirected after a payment is made, as well as a dynamic URL for DMNs.
The URL to which notifications for outcome of the financial transactions is sent.
The URL to which the end user is redirected in case of a successful transaction with an APM.
The URL to which the end user is redirected in case of an unsuccessful transaction with an APM.
The URL to which the end user is redirected in case of a pending transaction with an APM.
rebill
object
Recurring Expiry in the format: YYYYMMDD. REQUIRED if step = init. We recommend setting expiry to a value of no more than 5 years from the date of the initial transaction processing date
Recurring Frequency in days. REQUIRED if step = init.
Indicates the type of transaction performed as part of a rebilling plan.
Possible values: [init, recurring, MIT]
deviceDetails
object
Supported device types include: DESKTOP, SMARTPHONE, TABLET, TV, UNKNOWN (if device type cannot be recognized).
The customer's IP address.
browser
object
Exact content of the HTTP accept headers as sent to the 3DS Requestor from the cardholder's browser. If the total length of the accept header sent by the browser exceeds 2048 characters, the 3D-Secure Server truncates the excess portion.
Value representing the bit depth of the color palette for displaying images, in bits per pixel. Obtained from cardholder browser using the screen.colorDepth property. Values: 1, 4, 8, 15, 16, 24, 32, 48
Represents the ability of the cardholder browser to execute Java. REQUIRED when javaScriptEnabled is TRUE. Value is returned from the navigator.javaEnabled property. Values: TRUE, FALSE
Determines whether the browser is JavaScript enabled (from navigator.javaScriptEnabled property). Values: TRUE, FALSE
Value representing the browser language as defined in IETF BCP47. Returned from navigator.language property.
Total height of the cardholder's screen in pixels. Value is returned from the screen.height property.
Total width of the cardholder's screen in pixels. Value is returned from the screen.width property.
Time difference between UTC time and the cardholder browser local time, in minutes. The value is returned from the getTimezoneOffset() method.
Exact content of the HTTP user-agent header. If the total length of the user-agent header sent by the browser exceeds 2048 characters, the 3D-Secure Server truncates the excess portion.
custom
object
buyerDetails
object
The buyerId is required if buyerToken is provided as a value in the store parameter.
Possible values: <= 255 characters
Possible values: <= 30 characters
Possible values: <= 40 characters
Possible values: <= 40 characters
Possible values: <= 100 characters
Possible values: <= 5 characters
Possible values: <= 100 characters
Possible values: <= 18 characters
Possible values: <= 18 characters
Possible values: <= 18 characters
Possible values: [DateOfBirth, CustomerId, NationalId, PassportNumber, DriverLicense, TaxId, CompanyRegistrationNumber, ProxyId, SocialSecurityNumber, AlienRegistrationNumber, LawEnforcementId, MilitaryId, TravelId, Email, PhoneNumber]
Possible values: <= 100 characters
Possible values: [Business, Individual]
Possible values: <= 25 characters
billingAddress
object
Possible values: <= 60 characters
Possible values: <= 60 characters
Possible values: <= 60 characters
Possible values: <= 100 characters
Possible values: <= 6 characters
Possible values: <= 10 characters
Possible values: <= 30 characters
2 digits ISO country code
Possible values: >= 2 characters and <= 2 characters
Possible values: <= 18 characters
shippingAddress
object
falsePossible values: <= 60 characters
Possible values: <= 60 characters
Possible values: <= 60 characters
Possible values: <= 6 characters
Possible values: <= 10 characters
Possible values: <= 30 characters
Possible values: >= 2 characters and <= 2 characters
Possible values: <= 30 characters
Possible values: <= 40 characters
Possible values: <= 18 characters
Possible values: <= 18 characters
Array of operations that are allowed for this order. Must be any combination of payment, settle, refund and void.
Possible values: [payments, operations], >= 1
uiConfig
object
Possible values: [none, tokenOnly, buyerToken]
If the continueWithoutLiabilityShift parameter is provided, the behavior is:
true: The transaction will be processed as either non-3D or 3D, depending on other conditions.
false: The transaction will be processed strictly as AUTH3D.
truethreeD
object
challenge
object
Can be used either during an Authentication request when Nuvei is the 3D-Secure v2 MPI or during an Authorization request without any prior authentication when the transaction amount allows it. Please contact our Risk Team to set this threshold amount. Values: ChallengeRequest, ExemptionRequest, NoPreference
Possible values: [Challenge, Exemption, NoPreference]
If the merchant has submitted an exemption requested using mpiChallengePreference, this parameter displays the reason for the request. Values: LowValuePayment, TransactionRiskAnalysis
Possible values: [InitialMerchantInitiatedTransaction, InitialRecurringPayment, AddCard, AccountVerification, MerchantInitiatedTransaction, RecurringPayment, MerchantSCADelegation, WalletSCADelegation, CorporateCard, TrustedBeneficiaries, AlwaysChallenge, NoPreference, RuleEngineChallenge, LowValueTransaction, TransactionRiskAnalysis, SoftDeclineReSubmissionTo3DS2, ElevatedWalletAuthentication, FraudFilterReSubmissionTo3DS2]
userAccount
object
Number of Add Card attempts in the last 24 hours.
Date when the shipping address used for this transaction was first used with the 3DS Requestor in the format: YYYYMMDD.
Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Values: 01 = This transaction | 02 = Less than 30 days | 03 = 30–60 days | 04 = More than 60 days
Possible values: [01, 02, 03, 04]
Length of time that the cardholder has had the account with the 3DS Requestor. Values: 01 = No account (payment as a guest) | 02 = Created during this transaction | 03 = Less than 30 days | 04 = 30–60 days | 05 = More than 60 days
Possible values: [01, 02, 03, 04, 05]
Date (in YYYYMMDD format) that the cardholder's account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added.
Length of time since the cardholder's account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Values: 01 = Changed during this transaction | 02 = Less than 30 days | 03 = 30–60 days | 04 = More than 60 days
Possible values: [01, 02, 03, 04]
The date on which the payment account was enrolled in the cardholder's account with the 3DS Requestor.
Indicates the length of time that the payment account was enrolled in the cardholder's account with the 3DS Requestor. Values: 01 = If merchant does not save the card on their end, the deposit was processed without creating an account | 02 = If card is saved as part of this transaction flow | 03 = Card was saved less than 30 days ago | 04 = Card was saved between 30 and 60 days ago, endpoints included | 05 = Card was saved more than 60 days ago
Possible values: [01, 02, 03, 04, 05]
Indicates if the cardholder name on the account is identical to the shipping name used for this transaction. Values: 01 = Account name identical to shipping name | 02 = Account name different than shipping name
Possible values: [01, 02]
Date that cardholder's account with the 3DS Requestor had a password change or account reset in format: YYYYMMDD.
Number of purchases with this cardholder account during the previous six months.
Date that the cardholder opened the account with the 3DS Requestor in the format: YYYYMMDD.
Indicates the length of time since the cardholder's account with the 3DS Requestor had a password change or account reset. Values: 01 = No change | 02 = Changed during this transaction | 03 = Less than 30 days | 04 = 30–60 days | 05 = More than 60 days
Possible values: [01, 02, 03, 04, 05]
Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. Values: 01 = No suspicious activity has been observed | 02 = Suspicious activity has been observed
Possible values: [01, 02]
Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year.
Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours.
giftCard
object
For a prepaid or gift card purchase, the total number of individual prepaid or gift cards/codes purchased.
Possible values: >= 1
For a prepaid or gift card purchase, the total purchase amount of prepaid or gift card(s) in major units (for example, USD 123.45 is 123).
For a prepaid or gift card purchase, the 3-letter ISO currency code of the gift card.
Possible values: >= 3 characters and <= 3 characters
delivery
object
For electronic delivery, the email address to which the merchandise was delivered.
Values: 01 = Electronic Delivery | 02 = Same day shipping | 03 = Overnight shipping | 04 = 2-day or more shipping
Possible values: [01, 02, 03, 04]
preOrder
object
Indicates whether the cardholder is placing an order for merchandise with a future availability or release date.
Indicates whether the cardholder is placing an order for merchandise with a future availability or release date. Values: 01 = Merchandise available | 02 = Future availability
Possible values: [01, 02]
Indicates whether the cardholder is reordering previously purchased merchandise. Values: 01 = First time ordered | 02 - Reordered
Possible values: [01, 02]
Indicates the selected shipping method for the transaction. Values: 01 = Ship to cardholder's billing address | 02 = Ship to another verified address on file with merchant | 03 = Ship to address that is different than the cardholder's billing address | 04 = Ship to Store/Pickup at local store (store address shall be populated in shipping address parameters) | 05 = Digital goods (includes online services, electronic gift cards and redemption codes) | 06 = Travel and event tickets, not shipped | 07 = Other (for example: gaming, digital services not shipped, e-media subscriptions, etc.)
Possible values: [01, 02, 03, 04, 05, 06, 07]
The URL of the merchant’s fully qualified website.
The dimensions of the challenge window. Values: 01 = 250 x 400 | 02 = 390 x 400 | 03 = 500 x 600 | 04 = 600 x 400 | 05 = Full screen
Possible values: [01, 02, 03, 04, 05]
The device channel. Values: 01 = SDK | 02 = Browser
Possible values: [01, 02]
02If you wish to request an exemption prior to the Authentication request when Nuvei is your 3DS MPI, you should provide the risk assessment that you have calculated for the transaction. Alternatively, you can use this parameter during an Authorization request without any prior authentication when the transaction amount allows it. Please contact our Risk Team to set the risk score below which an exemption can be given. Valid values are 0–100 where 0 is lowest risk and 100 is the highest risk.
To activate sale3D and enable liability shift, include continueWithoutLiabilityShift=true in your request.
For low risk scores, this may result in non-3D processing.
For high risk scores, this may result in 3DS authentication
NOTE: Nuvei’s Fraud Engine considers this value if coordinated in advance with our Risk Team
Possible values: <= 100
An array of fields that cannot be overridden on the order.
Possible values: >= 1
openAmount
object
Object for providing minimum and maximum amounts for open amount functionality.
aftDetails
object
true or false
recipientDetails
object
Possible values: <= 30 characters
Possible values: <= 40 characters
Possible values: <= 40 characters
Possible values: <= 100 characters
Possible values: <= 18 characters
Possible values: non-empty
Possible values: non-empty
Possible values: [DateOfBirth, CustomerId, NationalId, PassportNumber, DriverLicense, TaxId, CompanyRegistrationNumber, ProxyId, SocialSecurityNumber, AlienRegistrationNumber, LawEnforcementId, MilitaryId, TravelId, Email, PhoneNumber]
Possible values: <= 100 characters
Possible values: [Business, Individual]
Possible values: <= 34 characters
addressDetails
object
Possible values: non-empty and <= 100 characters
Possible values: non-empty and <= 100 characters
Possible values: <= 100 characters
Possible values: <= 25 characters
Possible values: <= 30 characters
Possible values: <= 2 characters
Possible values: <= 2 characters
Possible values: >= 2 characters and <= 2 characters
Possible values: [Default, CBDC, TokenizedDeposit, Stablecoin, NativeToken, NFT]
Responses
- 201
- 400
- 401
- 403
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
A temporary access token that can be used to perform an action on an order.
sid_4980d755d3f64304a0cbf9b0778faff8result
object
required
The transaction status.
Possible values: [error, success, pending]
errors
object
If an error occurred on the request side, an error code is returned in this parameter.
If an error occurred on the request side, an error code is returned in this parameter.
Possible values: <= 11 characters
7000.1000If an error occurred on the request side, then an error reason is returned in this parameter.
Possible values: <= 400 characters
Internal Processing ErrorReference value for troubleshooting
Possible values: <= 400 characters
110.1260{
"sessionId": "sid_4980d755d3f64304a0cbf9b0778faff8",
"result": {
"status": "error",
"errors": {
"code": "7000.1000",
"reason": "Internal Processing Error",
"reference": "110.1260"
}
}
}
{
"sessionId": "sid_4980d755d3f64304a0cbf9b0778faff8",
"result": {
"status": "success"
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
A temporary access token that can be used to perform an action on an order.
sid_4980d755d3f64304a0cbf9b0778faff8result
object
required
The transaction status.
Possible values: [error, success, pending]
errors
object
If an error occurred on the request side, an error code is returned in this parameter.
If an error occurred on the request side, an error code is returned in this parameter.
Possible values: <= 11 characters
7000.1000If an error occurred on the request side, then an error reason is returned in this parameter.
Possible values: <= 400 characters
Internal Processing ErrorReference value for troubleshooting
Possible values: <= 400 characters
110.1260{
"sessionId": "sid_4980d755d3f64304a0cbf9b0778faff8",
"result": {
"status": "error",
"errors": {
"code": "7000.1000",
"reason": "Internal Processing Error",
"reference": "110.1260"
}
}
}
{
"result": {
"status": "error",
"errors": {
"code": "5000.1000",
"reason": "[processingEntityId] must not be null"
}
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
A temporary access token that can be used to perform an action on an order.
sid_4980d755d3f64304a0cbf9b0778faff8result
object
required
The transaction status.
Possible values: [error, success, pending]
errors
object
If an error occurred on the request side, an error code is returned in this parameter.
If an error occurred on the request side, an error code is returned in this parameter.
Possible values: <= 11 characters
7000.1000If an error occurred on the request side, then an error reason is returned in this parameter.
Possible values: <= 400 characters
Internal Processing ErrorReference value for troubleshooting
Possible values: <= 400 characters
110.1260{
"sessionId": "sid_4980d755d3f64304a0cbf9b0778faff8",
"result": {
"status": "error",
"errors": {
"code": "7000.1000",
"reason": "Internal Processing Error",
"reference": "110.1260"
}
}
}
{
"result": {
"status": "error",
"errors": {
"code": "7300.3000",
"reason": "Authorization error"
}
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
A temporary access token that can be used to perform an action on an order.
sid_4980d755d3f64304a0cbf9b0778faff8result
object
required
The transaction status.
Possible values: [error, success, pending]
errors
object
If an error occurred on the request side, an error code is returned in this parameter.
If an error occurred on the request side, an error code is returned in this parameter.
Possible values: <= 11 characters
7000.1000If an error occurred on the request side, then an error reason is returned in this parameter.
Possible values: <= 400 characters
Internal Processing ErrorReference value for troubleshooting
Possible values: <= 400 characters
110.1260{
"sessionId": "sid_4980d755d3f64304a0cbf9b0778faff8",
"result": {
"status": "error",
"errors": {
"code": "7000.1000",
"reason": "Internal Processing Error",
"reference": "110.1260"
}
}
}
{
"result": {
"status": "error",
"errors": {
"code": "7300.3000",
"reason": "Authorization error"
}
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
A temporary access token that can be used to perform an action on an order.
sid_4980d755d3f64304a0cbf9b0778faff8result
object
required
The transaction status.
Possible values: [error, success, pending]
errors
object
If an error occurred on the request side, an error code is returned in this parameter.
If an error occurred on the request side, an error code is returned in this parameter.
Possible values: <= 11 characters
7000.1000If an error occurred on the request side, then an error reason is returned in this parameter.
Possible values: <= 400 characters
Internal Processing ErrorReference value for troubleshooting
Possible values: <= 400 characters
110.1260{
"sessionId": "sid_4980d755d3f64304a0cbf9b0778faff8",
"result": {
"status": "error",
"errors": {
"code": "7000.1000",
"reason": "Internal Processing Error",
"reference": "110.1260"
}
}
}
{
"result": {
"status": "error",
"errors": {
"code": "7000.1000",
"reason": "Internal system error"
}
}
}