Update tenders for a user
ApiScope: payment.user.tender.write
API Scope Level: ServiceSubscriberScope
Path Parameters
departmentUuid string required
dealerAssociateUuid string required
application/json
Request Body required
addedUserTenders object[]
removedUserTenders object[]
Responses
- 200
OK
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
paymentUserTenderDTOList object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string",
"errorDescription": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string",
"warningDescription": "string"
}
],
"paymentUserTenderDTOList": [
{
"paymentUser": {
"id": 0,
"dealerAssociateUUID": "string",
"userUUID": "string",
"dealerDepartmentUUID": "string"
},
"tenderSubType": {
"id": 0,
"subTenderName": "string",
"tenderType": {
"id": 0,
"version": 0,
"tenderName": "string",
"availableOnMobile": true
},
"valid": true
},
"cashLimit": 0
}
]
}
POST /v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes
Request
Request
curl / cURL
curl -L -X POST '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"addedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
],
"removedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
]
}'
python / requests
curl -L -X POST '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"addedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
],
"removedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
]
}'
go / native
curl -L -X POST '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"addedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
],
"removedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
]
}'
nodejs / axios
curl -L -X POST '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"addedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
],
"removedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
]
}'
ruby / Net::HTTP
curl -L -X POST '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"addedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
],
"removedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
]
}'
csharp / RestSharp
curl -L -X POST '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"addedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
],
"removedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
]
}'
php / cURL
curl -L -X POST '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"addedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
],
"removedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
]
}'
java / OkHttp
curl -L -X POST '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"addedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
],
"removedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
]
}'
powershell / RestMethod
curl -L -X POST '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"addedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
],
"removedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
]
}'