Get card's available spend limit
card_token
uuid
required
200 OK
object
available_spend_limit
object
required
annually
integer
The available spend limit (in cents) relative to the annual limit configured on the Card (e.g. 100000 would be a $1,000 limit).
forever
integer
The available spend limit (in cents) relative to the forever limit configured on the Card.
monthly
integer
The available spend limit (in cents) relative to the monthly limit configured on the Card.
spend_limit
object
annually
integer
The configured annual spend limit (in cents) on the Card.
forever
integer
The configured forever spend limit (in cents) on the Card.
monthly
integer
The configured monthly spend limit (in cents) on the Card.
spend_velocity
object
annually
integer
Current annual spend velocity (in cents) on the Card. Present if annual spend limit is set.
forever
integer
Current forever spend velocity (in cents) on the Card. Present if forever spend limit is set.
monthly
integer
Current monthly spend velocity (in cents) on the Card. Present if monthly spend limit is set.
400 A parameter in the query given in the request does not match the valid queries for the endpoint.
`401 | | | | --- | --- | | User has not been authenticated | Invalid or missing API key | | API key is not active | The API key used is no longer active | | Could not find API key | The API key provided is not associated with any user | | Please provide API key in Authorization header | The Authorization header is not in the request | | Please provide API key in the form Authorization: [api-key] | The Authorization header is not formatted properly | | Insufficient privileges. Issuing API key required | Write access requires an Issuing API key. Reach out at lithic.com/contact | | Insufficient privileges to create virtual cards. | Creating virtual cards requires an additional privilege |
404 The specified resource was not found.
429 Client has exceeded the number of allowed requests in a given time period. | | | | --- | --- | | Rate limited, too many requests per second | User has exceeded their per second rate limit | | Rate limited, reached daily limit | User has exceeded their daily rate limit | | Rate limited, too many keys tried | One IP has queried too many different API keys |
xxxxxxxxxx
curl --request GET \
--url https://sandbox.lithic.com/v1/cards/card_token/spend_limits \
--header 'accept: application/json'
xxxxxxxxxx
{
"available_spend_limit": {
"annually": 200000,
"forever": 300000,
"monthly": 200000
},
"spend_limit": {
"annually": 500000,
"forever": 500000,
"monthly": 500000
},
"spend_velocity": {
"annually": 300000,
"forever": 200000,
"monthly": 300000
}
}