Get Started

Sections

Theme switcher

Set Card Limit

Header Parameters

Content-Typestring
X-Requested-Withstring
MidenAuthorizationstring
Referencestring
Signaturestring
UniqueKeystring
Authorizationstring

Path Parameters

cardIdstring

Unique identifier of the card whose spending limits should be updated.

Body Parameters

transactionLimitnumber

Maximum amount the card is allowed to spend in a single transaction.

dailyLimitnumber

Maximum cumulative amount the card is allowed to spend in a day.

monthlyLimitnumber

Maximum cummulative amount the card is allowed to spend in a month.

lifetimeLimitnumber

This is equal to the current balance on a card

Response

200
Object

Response Attributes

dataobject

Updated card details returned after the card limit change is applied.

cardTransactionIdnumber

Card transaction reference associated with the request, if applicable.

amountDebitednumber

Amount debited during the operation, if any. For this operation, this is typically 0.0.

ratenumber

Applied rate for the operation, if applicable. For this request, this is typically 0.0.

balanceBeforeTerminationnumber

Card balance before termination logic was applied, if relevant.

blockedByAdminboolean

Indicates whether the card is currently blocked by an administrator.

cardCustomerIdstring

Unique identifier of the customer who owns the card. Returned on success.

airlinePaymentEnabledboolean

Indicates whether airline payment support is enabled on the card.

isSuccessfulboolean

Indicates whether the limit update request was successful.

responseMessagestring

Human-readable message describing the outcome of the request.

responseCodestring

Application response code. 000 indicates success.

400
Object

Response Attributes

datastring

Always null when the request fails. No card details are returned.

cardTransactionIdnumber

Transaction reference associated with the request. Defaults to 0 when no transaction was created.

amountDebitednumber

Amount debited during the operation. This remains 0.0 since no debit occurs on failure.

ratenumber

Applied rate for the operation, if applicable. Defaults to 0.0 when the request fails.

balanceBeforeTerminationnumber

Card balance before any termination logic would have been applied. Not relevant here and returned as 0.0.

blockedByAdminboolean

Indicates whether the card is blocked by an administrator. Returned as false unless explicitly blocked.

airlinePaymentEnabledboolean

Indicates whether airline payment support is enabled on the card. Included for consistency, even on failure.

isSuccessfulboolean

Indicates the outcome of the request. Always false for failed operations.

responseMessagestring

Human-readable message describing the failure reason (e.g., "Limit Update Failed").

responseCodestring

Application-specific error code representing the failure. (119 = limit update failed).

Was this section helpful?

PATCH

/

Select
1

Response

Status Codes

200

OK

The request was successfully received and processed.

400

Invalid Request Parameter

The request is invalid due to missing or incorrect parameters.

401

Authentication Failed

Authentication failed due to invalid or missing credentials.

403

Authorization Failed

The request is understood but not allowed due to insufficient permissions.

404

Resource Not Found

The requested resource does not exist.

500

Internal Server Error

An unexpected internal server error occurred.

502

Bad Gateway

An upstream service returned an invalid response.

503

Service Unavailable

The service is temporarily unavailable.

Was this section helpful?