Provision Network Cryptogram
POST/network-tokens/cryptograms
Provision a network cryptogram via Visa or MDES.
Request
- application/json
Body
required
Processing entityId provided by Nuvei.
80aef199-b89a-4d59-ba0c-f2cd3c25d5cdpaymentOption
object
required
paymentToken
object
1eaf1356-a9a2-4a16-a0c1-290ba2265257Td.
Possible values: [ECOM, AFT]
Responses
- 201
- 400
- 401
- 403
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
paymentOption
object
networkToken
object
Possible values: <= 29 characters
Possible values: <= 40 characters
Possible values: <= 64 characters
Merchant Reference for a business entity (token, subscription, etc.)
Possible values: <= 50 characters
MREF_6f06168d-ff6e-448b-8401-30051eb6b1afresult
object
required
Possible values: [success, error]
errors
object
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
Unexpected error{
"paymentOption": {
"networkToken": {
"paymentTokenId": "string",
"tokenNumber": "string",
"expirationYear": "string",
"expirationMonth": "string",
"tokenStatus": "string",
"tokenUniqueReference": "string",
"paymentAccountReference": "string",
"tokenAssuranceLevel": "string",
"cryptogram": "string",
"merchantReference": "MREF_6f06168d-ff6e-448b-8401-30051eb6b1af"
}
},
"result": {
"status": "success",
"errors": {
"code": "7000.1000",
"reason": "Unexpected error"
}
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Invalid Value
- Missing Mandatory Field Value
Schema
paymentOption
object
networkToken
object
Possible values: <= 29 characters
Possible values: <= 40 characters
Possible values: <= 64 characters
Merchant Reference for a business entity (token, subscription, etc.)
Possible values: <= 50 characters
MREF_6f06168d-ff6e-448b-8401-30051eb6b1afresult
object
required
Possible values: [success, error]
errors
object
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
Unexpected error{
"paymentOption": {
"networkToken": {
"paymentTokenId": "string",
"tokenNumber": "string",
"expirationYear": "string",
"expirationMonth": "string",
"tokenStatus": "string",
"tokenUniqueReference": "string",
"paymentAccountReference": "string",
"tokenAssuranceLevel": "string",
"cryptogram": "string",
"merchantReference": "MREF_6f06168d-ff6e-448b-8401-30051eb6b1af"
}
},
"result": {
"status": "success",
"errors": {
"code": "7000.1000",
"reason": "Unexpected error"
}
}
}
{
"result": {
"status": "error",
"errors": {
"code": "5000.1000",
"reason": "[paymentOption.card.expirationMonth] must match \"^(0[1-9]|1[0-2])$\""
}
}
}
{
"result": {
"status": "error",
"errors": {
"code": "5000.1000",
"reason": "[processingEntityId] must not be null"
}
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Authorization Error
Schema
paymentOption
object
networkToken
object
Possible values: <= 29 characters
Possible values: <= 40 characters
Possible values: <= 64 characters
Merchant Reference for a business entity (token, subscription, etc.)
Possible values: <= 50 characters
MREF_6f06168d-ff6e-448b-8401-30051eb6b1afresult
object
required
Possible values: [success, error]
errors
object
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
Unexpected error{
"paymentOption": {
"networkToken": {
"paymentTokenId": "string",
"tokenNumber": "string",
"expirationYear": "string",
"expirationMonth": "string",
"tokenStatus": "string",
"tokenUniqueReference": "string",
"paymentAccountReference": "string",
"tokenAssuranceLevel": "string",
"cryptogram": "string",
"merchantReference": "MREF_6f06168d-ff6e-448b-8401-30051eb6b1af"
}
},
"result": {
"status": "success",
"errors": {
"code": "7000.1000",
"reason": "Unexpected error"
}
}
}
{
"result": {
"status": "error",
"errors": {
"code": "7300.3000",
"reason": "Authorization error."
}
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Authorization Error
Schema
paymentOption
object
networkToken
object
Possible values: <= 29 characters
Possible values: <= 40 characters
Possible values: <= 64 characters
Merchant Reference for a business entity (token, subscription, etc.)
Possible values: <= 50 characters
MREF_6f06168d-ff6e-448b-8401-30051eb6b1afresult
object
required
Possible values: [success, error]
errors
object
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
Unexpected error{
"paymentOption": {
"networkToken": {
"paymentTokenId": "string",
"tokenNumber": "string",
"expirationYear": "string",
"expirationMonth": "string",
"tokenStatus": "string",
"tokenUniqueReference": "string",
"paymentAccountReference": "string",
"tokenAssuranceLevel": "string",
"cryptogram": "string",
"merchantReference": "MREF_6f06168d-ff6e-448b-8401-30051eb6b1af"
}
},
"result": {
"status": "success",
"errors": {
"code": "7000.1000",
"reason": "Unexpected error"
}
}
}
Authorization error
{
"result": {
"status": "error",
"errors": {
"code": "7300.3000",
"reason": "Authorization error."
}
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Internal Processing Error
Schema
paymentOption
object
networkToken
object
Possible values: <= 29 characters
Possible values: <= 40 characters
Possible values: <= 64 characters
Merchant Reference for a business entity (token, subscription, etc.)
Possible values: <= 50 characters
MREF_6f06168d-ff6e-448b-8401-30051eb6b1afresult
object
required
Possible values: [success, error]
errors
object
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
Unexpected error{
"paymentOption": {
"networkToken": {
"paymentTokenId": "string",
"tokenNumber": "string",
"expirationYear": "string",
"expirationMonth": "string",
"tokenStatus": "string",
"tokenUniqueReference": "string",
"paymentAccountReference": "string",
"tokenAssuranceLevel": "string",
"cryptogram": "string",
"merchantReference": "MREF_6f06168d-ff6e-448b-8401-30051eb6b1af"
}
},
"result": {
"status": "success",
"errors": {
"code": "7000.1000",
"reason": "Unexpected error"
}
}
}
Internal processing error
{
"result": {
"status": "error",
"errors": {
"code": "7000.1000",
"reason": "Internal Processing Error."
}
}
}