Update Expected Spend Amount
POSThttps://api.immersve.com/api/accounts/:cardholderId/expected-spend-amount
Update the expected spend amount for the given cardholder.
Request
Path Parameters
cardholderId stringrequired
The ID of the cardholder.
- application/json
Body
required
expectedSpendAmount string
The expected spend amount for the cardholder in USD cents.
Responses
- 200
- 403
Expected spend amount updated successfully.
- application/json
- Schema
- Example (from schema)
Schema
cardholderId string
The ID of the cardholder.
expectedSpendAmount string
The updated expected spend amount.
{
"cardholderId": "057aa15913a57f50577234c8426534c0",
"expectedSpendAmount": "200000"
}
User is not allowed to perform the action with the reason stated in the errorCode
FORBIDDEN Insufficient permissions to perform the action.
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://api.immersve.com/api/accounts/:cardholderId/expected-spend-amount' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"expectedSpendAmount": "string"
}'
ResponseClear