Partial approvals
Accept card payments approved for less than the requested amount with options, packages, hosted checkout, and holds.
A partial approval occurs when a card issuer approves a payment for less than the requested amount. For example, a customer submits a $10.00 USD payment with $8.00 USD available on their card, and the issuer approves $8.00 USD instead of declining. With partial approvals enabled, you can complete the payment for the approved amount or cancel it.
Who confirms or cancels the approved amount depends on your integration flow:
| Flow | How the decision is made | Where to start |
|---|---|---|
| Checkout page | The customer confirms or cancels on Pay.com's hosted partial approval page. | Checkout page and packages |
| Server-to-server | Your server confirms, lowers the amount, selects a package, or cancels via API. | Server-to-server |
| Authorization holds | Your server captures up to the approved amount or cancels the hold. | Partial approvals on holds |
If no decision is made within 5 minutes on a charge or payment session,
approved_by_default determines the outcome. Holds have no 5-minute timeout
because they wait for capture or cancellation.
Options
Configure partial approval behavior in
payment_method_options.card.partial_approval on a charge, payment session, or
hold. Amounts are in minor units, matching the payment's amount.
{
"card": {
"partial_approval": {
"accept": true,
"percentage_threshold": 50,
"approved_by_default": true
}
}
}Request fields
Pass these fields inside payment_method_options.card.partial_approval:
| Field | Type | Description |
|---|---|---|
accept | boolean | Enables partial approvals for this payment. Set to false to disable partial approvals on a specific payment. |
amount_threshold | integer | Minimum approved amount you accept, in minor units. Pay.com cancels approvals below this amount. |
percentage_threshold | integer | Minimum approved share of the requested amount you accept, as a percentage. Pay.com cancels approvals below it. |
approved_by_default | boolean | Controls timeout behavior on charges and payment sessions (doesn't apply to holds). true (or omitted) confirms the approved amount when time expires, while false cancels the payment. |
products | array | Predefined packages to offer for the approved amount. Each item requires amount and title, with optional description, image, and id. |
allow_top_up | boolean | Displays Amount left to pay and an Add money button on Pay.com's partial approval page. The add-money screen doesn't collect a payment, so the customer completes the flow with Proceed with or Cancel. |
require_full_amount | boolean | Requires the full amount. |
Without amount_threshold, Pay.com uses the smallest amount in products as
the minimum threshold. The decision window is 5 minutes unless your account
manager configures a different timeout.
Partial approval options aren't part of the defaults managed via
PATCH /v1/merchants/current/payment_method_options
(see Merchant defaults).
Contact your account manager to configure account-level defaults. Fields sent
on a payment request take precedence over account defaults.
Response fields
Charges, payment sessions, and holds return partial approval details in
payment_method_details.card.partial_approval (or null when the payment
wasn't partially approved):
| Field | Type | Description |
|---|---|---|
status | string | pending while waiting for a decision, accepted after confirmation, canceled after cancellation, or rejected when the issuer declined for insufficient funds instead of partially approving. |
amount_requested | integer | Original requested amount in minor units. |
amount_authorized | integer | Amount approved by the issuer in minor units. |
amount_charged | integer | Amount captured in minor units (0 after cancellation). |
product_id | string or null | Identifier of the charged package from products, or null. |
Checkout page and packages
When Pay.com enables the hosted partial approval page for your account, the customer decides whether to proceed with the approved amount. The page opens inside checkout with Pay.com.js, or through a linked authentication session when using server-side charges.
The page displays:
- A title saying the payment was partially approved, with the approved amount out of the original amount.
- Amount approved, plus Total amount when no package fits.
- Proceed with (with the approved amount) to confirm the payment.
- Cancel to void the authorization and release funds.
- A notice of the 5-minute window indicating whether the payment confirms (
approved_by_default: trueor omitted) or cancels (approved_by_default: false) if the timer expires.
After the customer decides, checkout receives the result. A confirmed payment
session transitions to completed_partially. A canceled payment session
returns to open while its payment attempt fails with
partial_approval_canceled, allowing the customer to pay with another method.
Offer packages
Pass products inside payment_method_options.card.partial_approval to offer
smaller tiers that fit the approved amount instead of charging an arbitrary
partial balance. Each package requires amount (in minor units, so 500 is
$5.00 USD) and title.
{
"card": {
"partial_approval": {
"accept": true,
"products": [
{ "id": "plan_basic", "title": "Basic", "description": "100 credits", "amount": 500 },
{ "id": "plan_plus", "title": "Plus", "description": "250 credits", "amount": 1000 }
]
}
}
}When a partial approval occurs, Pay.com offers the largest package that fits within the approved amount, with the package's title, its description, and the amount returned to the customer. Choosing Proceed with charges that package's amount and releases the remainder.
- Package IDs: Pay.com generates an
idif you omit one, and reports the charged package inpayment_method_details.card.partial_approval.product_id. - Automatic threshold: When
amount_thresholdisn't set, the smallest package'samountacts as the minimum threshold, and lower approvals are canceled. - Timeout: If the decision window expires with
approved_by_default: true(or omitted), Pay.com charges the largest package that fits.
Hosted page with API charges
If you create charges from your server and your account uses the hosted partial
approval page (rather than server-to-server partial approval), a partially
approved charge returns status: "requires_authentication". Show the page as
you show a 3D Secure challenge in
Create a charge with 3DS:
- Create a linked authentication session with the charge ID and your
return_url. - Redirect the customer to the session's
url. - After the customer chooses, Pay.com redirects them to your
return_url. Check the charge status or wait forcharge.succeededorcharge.failed.
If server-to-server partial approval is enabled instead, the charge returns
requires_partial_approval_action so your server can confirm or cancel it
directly. See Server-to-server.
Partial approvals on holds
A hold that you create with
POST /v1/holds and
payment_method_options.card.partial_approval.accept: true authorizes directly
for whatever amount the issuer approves. There is no separate confirm step and
no 5-minute timeout.
This request authorizes a $50.00 USD hold (5000 in minor units) that the
issuer partially approves for $40.00 USD (4000):
{
"amount": 5000,
"currency": "usd",
"source": "pm_card_685125127054035968",
"payment_method_options": {
"card": {
"partial_approval": {
"accept": true
}
}
}
}{
"id": "hld_686511724072799233",
"resource": "hold",
"amount": 4000,
"amount_capturable": 4000,
"captured": false,
"currency": "usd",
"payment_method_details": {
"card": {
"partial_approval": {
"status": "pending",
"amount_requested": 5000,
"amount_authorized": 4000
}
}
},
"status": "requires_capture"
}When partially approved, both amount and amount_capturable reflect the
approved amount. The amount you requested and the amount the issuer authorized
are in payment_method_details.card.partial_approval. Decide how to finalize
the hold with standard hold endpoints:
- Capture: Call
POST /v1/holds/{id}/capturefor up toamount_capturable. You can't capture more than the approved amount. - Cancel: Call
POST /v1/holds/{id}/cancelto release the approved amount.
Pay.com sends hold.requires_capture when the issuer authorizes the hold, for
the full amount or less. Check amount in the event payload to verify the
approved amount. See Hold and capture for partial
captures and cancellation, and Webhooks to set
up an endpoint.
Statuses
Each resource tracks partial approvals through its status field and
payment_method_details.card.partial_approval.
- Issuer approves lower amount
- Charge or payment session (server-to-server)
- requires_partial_approval_action, Waits for decision (default 5 min)
- succeeded_partially / completed_partially, Confirmed or approved by default
- failed / open, Canceled or canceled by default
- Hold
- requires_capture, Authorized for approved amount (no 5-minute timeout)
- succeeded, Captured up to amount_capturable
- canceled, Canceled or expired
| Object | Waiting for action | After confirmation or capture | After cancellation |
|---|---|---|---|
| Charge | requires_partial_approval_action | succeeded_partially | failed (partial_approval_canceled) |
| Payment session | requires_partial_approval_action | completed_partially | open (customer can try again) |
| Hold | requires_capture (for the approved amount) | succeeded (after capture) | canceled |
Charges and payment sessions wait in requires_partial_approval_action only
with server-to-server partial approval. With the hosted partial approval page,
an API charge returns requires_authentication instead. See
Hosted page with API charges.
When you request partial approval and the issuer declines for insufficient
funds instead, partial_approval.status is rejected and its amounts are 0.
3D Secure, wallets, and merchant-initiated payments
3D Secure runs before authorization. After 3D Secure succeeds, Pay.com sends the authorization and applies partial approval handling if the issuer approves a lower amount.
Whether the issuer receives a partial approval indicator depends on your processor. Some processors don't send it on Google Pay payments or subsequent merchant-initiated payments. Partial approval never turns a decline into an approval. It applies only when the issuer approves a lower amount.
Testing
Use these sandbox test cards to trigger partial approvals. Both approve 80% of
the requested amount (for example, 1000 for $10.00 USD approves 800 for
$8.00 USD).
| Brand | Card number | CVV | Expiration |
|---|---|---|---|
| Visa | 4050453601459870 | Any | Any future date |
| Mastercard | 5200828282828210 | Any | Any future date |
Next steps
- Handle partial approvals from your server: Confirm, lower, select a package, or cancel partial approvals via API.
- Hold and capture: Capture, partially capture, or cancel holds.
- Payment method options: Browse all card and payment method options.