Pre-authorization Adjustments
Use pre-authorization for flexible amount adjustments and extended validity
Pre-authorization Adjustments
Pre-authorization (also known as pre-auth) provides more flexibility than standard authorization for scenarios that require extended validity periods or larger amount adjustments.
What is Pre-authorization?
Pre-authorization is a special type of authorization designed for:
- Extended validity - Longer hold period than standard authorizations
- Incremental authorizations - Add additional amounts over time
- Estimated charges - When final amount is unknown at booking time
Common use cases include hotels, car rentals, and subscription services where the total charge accumulates over time.
Pre-auth vs Standard Authorization
| Feature | Standard Authorization | Pre-authorization |
|---|---|---|
| Validity period | 7-30 days | 30-90 days (varies by scheme) |
| Amount adjustment | Limited to ~15-20% | Unlimited increments |
| Use case | Known amounts | Variable/unknown amounts |
| Network support | Universal | Most major schemes |
Creating a Pre-authorization
Create a pre-authorization by setting capture_mode to manual and authorization_type to pre_auth:
curl -X POST https://api.plexypay.com/v2/payments \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": {
"value": 50000,
"currency": "KZT"
},
"merchant_id": "merchant_abc123",
"capture_mode": "manual",
"authorization_type": "pre_auth",
"payment_method": {
"type": "card",
"token": "pm_card_token_123"
},
"metadata": {
"reservation_id": "RES-12345",
"check_in": "2026-03-25",
"check_out": "2026-03-28"
}
}'Pre-authorization Response
{
"payment_id": "pay_1234567890",
"status": "authorized",
"authorization_type": "pre_auth",
"amount": {
"value": 50000,
"currency": "KZT"
},
"merchant_id": "merchant_abc123",
"authorization": {
"expires_at": "2026-06-25T10:30:00Z",
"validity_days": 90,
"remaining_amount": {
"value": 50000,
"currency": "KZT"
},
"increments_allowed": true
},
"created_at": "2026-03-25T10:30:00Z"
}Incremental Authorization
Add additional amounts to an existing pre-authorization using incremental authorization:
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/incremental-auth \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": {
"value": 10000,
"currency": "KZT"
},
"merchant_id": "merchant_abc123",
"reason": "Extended stay - additional night"
}'Incremental Auth Response
{
"payment_id": "pay_1234567890",
"increment_id": "inc_0987654321",
"status": "authorized",
"incremental_amount": {
"value": 10000,
"currency": "KZT"
},
"total_authorized": {
"value": 60000,
"currency": "KZT"
},
"authorization": {
"expires_at": "2026-06-25T10:30:00Z",
"remaining_amount": {
"value": 60000,
"currency": "KZT"
}
},
"reason": "Extended stay - additional night",
"authorized_at": "2026-03-26T10:30:00Z"
}Extending Authorization Validity
Extend the validity period of an existing pre-authorization:
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/extend-auth \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"merchant_id": "merchant_abc123",
"extend_days": 30,
"reason": "Guest extended reservation"
}'Extend Auth Response
{
"payment_id": "pay_1234567890",
"extension_id": "ext_0987654321",
"status": "authorized",
"authorization": {
"original_expires_at": "2026-06-25T10:30:00Z",
"expires_at": "2026-07-25T10:30:00Z",
"validity_days": 120
},
"reason": "Guest extended reservation",
"extended_at": "2026-03-27T10:30:00Z"
}Extension support varies by card scheme and issuer. Some issuers may decline extension requests if the original authorization is too old.
Complete Pre-auth Workflow
Here's a complete example for a hotel reservation.
Step 1: Create pre-authorization for estimated stay
curl -X POST https://api.plexypay.com/v2/payments \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": { "value": 150000, "currency": "KZT" },
"merchant_id": "merchant_hotel",
"capture_mode": "manual",
"authorization_type": "pre_auth",
"payment_method": { "type": "card", "token": "pm_card_token_123" },
"customer_id": "cust_abc123"
}'Step 2: Add incidental charges during stay
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/incremental-auth \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": { "value": 5000, "currency": "KZT" },
"merchant_id": "merchant_hotel",
"reason": "Room service - dinner"
}'Step 3: Extend stay — add authorization for additional nights
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/incremental-auth \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": { "value": 50000, "currency": "KZT" },
"merchant_id": "merchant_hotel",
"reason": "Extended stay: 1 additional night"
}'Then extend the authorization validity period:
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/extend-auth \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"merchant_id": "merchant_hotel",
"extend_days": 1,
"reason": "Extended stay"
}'Step 4: Capture final amount at checkout
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": 205000, "currency": "KZT" },
"merchant_id": "merchant_hotel"
}'Webhook Events
INCREMENTAL_AUTH
Sent when an incremental authorization succeeds.
{
"event_type": "INCREMENTAL_AUTH",
"event_id": "evt_abc123",
"created_at": "2026-03-26T10:30:00Z",
"data": {
"payment_id": "pay_1234567890",
"increment_id": "inc_0987654321",
"merchant_id": "merchant_abc123",
"incremental_amount": {
"value": 10000,
"currency": "KZT"
},
"total_authorized": {
"value": 60000,
"currency": "KZT"
},
"reason": "Extended stay - additional night",
"authorized_at": "2026-03-26T10:30:00Z"
}
}INCREMENTAL_AUTH_FAILED
Sent when an incremental authorization fails.
{
"event_type": "INCREMENTAL_AUTH_FAILED",
"event_id": "evt_def456",
"created_at": "2026-03-26T10:30:00Z",
"data": {
"payment_id": "pay_1234567890",
"merchant_id": "merchant_abc123",
"requested_amount": {
"value": 50000,
"currency": "KZT"
},
"error": {
"code": "INSUFFICIENT_FUNDS",
"message": "Customer card has insufficient available credit"
}
}
}AUTHORIZATION_EXTENDED
Sent when authorization validity is extended.
{
"event_type": "AUTHORIZATION_EXTENDED",
"event_id": "evt_ghi789",
"created_at": "2026-03-27T10:30:00Z",
"data": {
"payment_id": "pay_1234567890",
"extension_id": "ext_0987654321",
"merchant_id": "merchant_abc123",
"original_expires_at": "2026-06-25T10:30:00Z",
"new_expires_at": "2026-07-25T10:30:00Z",
"extended_at": "2026-03-27T10:30:00Z"
}
}Error Handling
| Error Code | Description | Resolution |
|---|---|---|
PREAUTH_NOT_SUPPORTED | Card doesn't support pre-auth | Use standard authorization |
INCREMENT_NOT_ALLOWED | Issuer declined increment | Create new pre-auth |
EXTENSION_DECLINED | Cannot extend authorization | Capture now or create new auth |
MAX_INCREMENTS_REACHED | Too many increments | Capture and create new pre-auth |
INSUFFICIENT_FUNDS | Customer can't cover increment | Contact customer |
Example Error Handling
Submit an incremental authorization request:
curl -X POST https://api.plexypay.com/v2/payments/pay_1234567890/incremental-auth \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": { "value": 10000, "currency": "KZT" },
"merchant_id": "merchant_hotel",
"reason": "Additional incidental charges"
}'If the response returns INSUFFICIENT_FUNDS, notify staff to contact the guest for an alternative payment method.
If the error is INCREMENT_NOT_ALLOWED or MAX_INCREMENTS_REACHED, capture the current authorization and create a new pre-authorization for the remaining charges.
Capture current authorization:
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"
}'Create new pre-authorization:
curl -X POST https://api.plexypay.com/v2/payments \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": { "value": 10000, "currency": "KZT" },
"merchant_id": "merchant_hotel",
"capture_mode": "manual",
"authorization_type": "pre_auth",
"customer_id": "cust_abc123",
"payment_method": { "type": "card", "token": "pm_card_token_123" }
}'Best Practices
Start with a reasonable estimate. It's easier to capture less than to request multiple increments.
Add incremental authorizations as charges accumulate, not all at once at checkout.
Track expiry dates and remaining amounts to avoid surprises at capture time.
Have a fallback plan when incremental auth fails (e.g., request alternative payment).
Keep detailed records of why each increment was requested for dispute handling.
Don't leave pre-authorizations open longer than necessary after service is complete.
Card Scheme Support
Pre-authorization and incremental auth support varies by card scheme:
| Feature | Visa | Mastercard |
|---|---|---|
| Pre-authorization | Yes | Yes |
| Incremental auth | Yes | Yes |
| Extended validity | Up to 31 days | Up to 30 days |
| Max increments | Unlimited | Unlimited |
Viewing Pre-auths in Plexy Dashboard
Manage pre-authorizations in the Plexy Dashboard:
- Navigate to Payments
- Filter by Type: Pre-authorization
- Click on a payment to view:
- Original authorization amount
- All incremental authorizations
- Current total authorized
- Authorization expiry date
- Extension history
The dashboard provides visual indicators for:
- Authorization health (time remaining)
- Increment history
- Potential issues (approaching expiry, high total)