Authorization Adjustment
Learn how to increase or decrease the authorized amount before capture
Authorization Adjustment
Authorization adjustment allows you to modify the authorized amount before capture. This is useful when the final transaction amount differs from the initial authorization.
Use Cases
Authorization adjustments are common in industries where the final amount isn't known at authorization time:
| Industry | Scenario |
|---|---|
| Hospitality | Room service, minibar, incidentals added to hotel bill |
| Restaurants | Tips added after initial authorization |
| Car Rental | Additional days, fuel charges, damage fees |
| Gas Stations | Final pump amount differs from pre-authorization |
| E-commerce | Shipping costs calculated after checkout |
Adjustment Types
Increase Authorization
Increase the authorized amount when additional charges apply:
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/adjustments \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": {
"value": 15000,
"currency": "KZT"
},
"merchant_id": "merchant_abc123",
"reason": "Additional charges for room service"
}'Decrease Authorization
Decrease the authorized amount when the final charge is less than expected:
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/adjustments \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": {
"value": 8000,
"currency": "KZT"
},
"merchant_id": "merchant_abc123",
"reason": "Early checkout"
}'Decreasing an authorization is essentially a partial cancellation. The released funds become available to the customer immediately.
API Endpoint
POST https://api.plexypay.com/v2/payments/{payment_id}/adjustmentsRequest Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
amount | object | Yes | New total authorized amount |
amount.value | integer | Yes | Amount in smallest currency unit |
amount.currency | string | Yes | Three-letter ISO currency code |
merchant_id | string | Yes | Your merchant identifier |
reason | string | No | Reason for the adjustment |
reference | string | No | Your internal reference |
idempotency_key | string | No | Unique key to prevent duplicates |
Response
{
"payment_id": "pay_1234567890",
"adjustment_id": "adj_0987654321",
"status": "adjusted",
"merchant_id": "merchant_abc123",
"original_amount": {
"value": 10000,
"currency": "KZT"
},
"authorized_amount": {
"value": 15000,
"currency": "KZT"
},
"adjustment_type": "increase",
"reason": "Additional charges for room service",
"adjusted_at": "2026-03-25T10:30:00Z"
}Adjustment Limits
Increase Limits
Card networks impose limits on how much you can increase an authorization:
| Card Scheme | Maximum Increase |
|---|---|
| Visa | 15% above original (20% for hospitality) |
| Mastercard | 15% above original (20% for certain MCCs) |
Attempting to increase beyond these limits may result in a decline. For larger increases, consider using pre-authorization with incremental auth.
Decrease Limits
There's no minimum for decreasing - you can reduce the authorization to any amount, including releasing it entirely (equivalent to a cancel).
Multiple Adjustments
You can perform multiple adjustments on a single authorization.
Day 1 — guest orders room service (original authorization: 10000 KZT):
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/adjustments \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": { "value": 12000, "currency": "KZT" },
"merchant_id": "merchant_abc123",
"reason": "Room service - Day 1"
}'Day 2 — guest extends stay:
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/adjustments \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": { "value": 17000, "currency": "KZT" },
"merchant_id": "merchant_abc123",
"reason": "Extended stay"
}'Checkout — final capture:
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/captures \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": { "value": 17000, "currency": "KZT" },
"merchant_id": "merchant_abc123"
}'Webhook Events
AUTHORIZATION_ADJUSTED
Sent when an authorization is successfully adjusted.
{
"event_type": "AUTHORIZATION_ADJUSTED",
"event_id": "evt_abc123",
"created_at": "2026-03-25T10:30:00Z",
"data": {
"payment_id": "pay_1234567890",
"adjustment_id": "adj_0987654321",
"merchant_id": "merchant_abc123",
"original_amount": {
"value": 10000,
"currency": "KZT"
},
"new_amount": {
"value": 15000,
"currency": "KZT"
},
"adjustment_type": "increase",
"reason": "Additional charges for room service",
"adjusted_at": "2026-03-25T10:30:00Z"
}
}AUTHORIZATION_ADJUSTMENT_FAILED
Sent when an adjustment attempt fails.
{
"event_type": "AUTHORIZATION_ADJUSTMENT_FAILED",
"event_id": "evt_def456",
"created_at": "2026-03-25T10:30:00Z",
"data": {
"payment_id": "pay_1234567890",
"merchant_id": "merchant_abc123",
"requested_amount": {
"value": 25000,
"currency": "KZT"
},
"error": {
"code": "ADJUSTMENT_LIMIT_EXCEEDED",
"message": "Requested amount exceeds maximum adjustment limit"
}
}
}Error Handling
| Error Code | Description | Resolution |
|---|---|---|
PAYMENT_NOT_FOUND | Payment ID doesn't exist | Verify payment_id |
INVALID_PAYMENT_STATE | Payment not authorized | Can only adjust authorized payments |
ADJUSTMENT_LIMIT_EXCEEDED | Amount exceeds card network limit | Use incremental authorization instead |
AUTHORIZATION_EXPIRED | Authorization has expired | Create new payment |
ADJUSTMENT_NOT_SUPPORTED | Payment method doesn't support adjustment | Capture current auth, create new payment |
INSUFFICIENT_FUNDS | Customer doesn't have funds for increase | Capture original amount or reduce |
Example Error Handling
Submit an adjustment request:
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/adjustments \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": { "value": 15000, "currency": "KZT" },
"merchant_id": "merchant_abc123"
}'If the response returns ADJUSTMENT_LIMIT_EXCEEDED, use incremental authorization via POST /v2/payments/{id}/incremental-auth instead.
If the error is INSUFFICIENT_FUNDS, capture the currently authorized amount without adjustment:
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/captures \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"merchant_id": "merchant_abc123"
}'If the error is AUTHORIZATION_EXPIRED, retrieve the payment to get the customer details and create a new payment.
Industry-Specific Examples
Hotel Checkout
Adjust the authorization to the final amount (room charge + all incidentals):
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/adjustments \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": { "value": 17000, "currency": "KZT" },
"merchant_id": "merchant_hotel",
"reason": "Checkout for reservation RES-12345"
}'Then capture the adjusted amount:
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/captures \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"merchant_id": "merchant_hotel",
"reference": "RES-12345"
}'Restaurant with Tips
First retrieve the payment to get the original authorized amount:
curl -X GET https://api.plexypay.com/v2/payments/pay_1234567890 \
-H "x-api-key: YOUR_API_KEY"Adjust the authorization to the total including tip:
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/adjustments \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": { "value": 11500, "currency": "KZT" },
"merchant_id": "merchant_restaurant",
"reason": "Tip added for order ORD-456"
}'Then capture with tip:
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/captures \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"merchant_id": "merchant_restaurant",
"reference": "ORD-456"
}'Best Practices
At initial authorization, consider authorizing for the expected maximum (including potential tips, add-ons, etc.) then adjust down if needed.
Don't wait until just before capture to adjust. Make adjustments as charges are known.
Always include a reason for adjustments to maintain clear records.
Be prepared to use incremental authorization if standard adjustment limits are exceeded.
Unusual adjustment patterns can indicate fraud. Monitor and set alerts.
Viewing Adjustments in Plexy Dashboard
View adjustment history in the Plexy Dashboard:
- Navigate to Payments
- Click on an authorized payment
- View the Modifications tab
The dashboard shows:
- All adjustment attempts
- Original vs adjusted amounts
- Adjustment reasons
- Success/failure status