Update Localization
POST/payment/localization/:merchantKey
Upload custom localization data for some or all supported languages.
Request
Path Parameters
Possible values: <= 36 characters
Merchant identifier.
- application/json
Body
required
Possible values: <= 36 characters
Merchant identifier.
Possible values: <= 255 characters
The merchant's name.
Possible values: <= 24 characters
The time when the merchant's strings were updated last time.
Possible values: <= 24 characters
The time when the user has downloaded the file.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Successful response
- application/json
- Schema
- Example (from schema)
- Example
Schema
Possible values: <= 36 characters
Merchant identifier.
Information regarding processing status.
{
"merchantKey": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "string"
}
{
"merchantKey": "23016498-3dd9-4be3-a76f-6454894564",
"message": "The culture configuration has been successfully updated"
}
Bad Request
For error handling, please refer to this section.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Error message.
culturesEnabled
object
Missing keys in the cultures configuration.
property name*
object
{
"message": "string",
"culturesEnabled": {}
}
{
"message": "Some keys are missing. Refer to the list below.",
"culturesEnabled": {
"en-US": {
"button_cancel": "CANCEL",
"button_confirm": "CONFIRM"
},
"en-de": {
"button_cancel": "CANCEL"
}
}
}
Unauthenticated
For error handling, please refer to this section.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- MOD1
- MOD2
Array [
]
errorDetails
object
message
object
oneOf
string
string
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "You are not authenticated to perform this request.",
"code": "unauthorized"
}
]
}
Forbidden
For error handling, please refer to this section.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- MOD1
- MOD2
Array [
]
errorDetails
object
message
object
oneOf
string
string
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "You do not have permissions to perform this request.",
"code": "forbidden"
}
]
}
Not Found
For error handling, please refer to this section.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- MOD1
- MOD2
Array [
]
errorDetails
object
message
object
oneOf
string
string
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "Resource not found.",
"code": "not_found"
}
]
}
Internal Server Error
For error handling, please refer to this section.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- MOD1
- MOD2
Array [
]
errorDetails
object
message
object
oneOf
string
string
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "Internal server error."
}
]
}