Skip to Content
Docs
Partial approvals

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:

FlowHow the decision is madeWhere to start
Checkout pageThe customer confirms or cancels on Pay.com's hosted partial approval page.Checkout page and packages
Server-to-serverYour server confirms, lowers the amount, selects a package, or cancels via API.Server-to-server
Authorization holdsYour 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.

payment_method_options

{
  "card": {
    "partial_approval": {
      "accept": true,
      "percentage_threshold": 50,
      "approved_by_default": true
    }
  }
}

Request fields

Pass these fields inside payment_method_options.card.partial_approval:

FieldTypeDescription
acceptbooleanEnables partial approvals for this payment. Set to false to disable partial approvals on a specific payment.
amount_thresholdintegerMinimum approved amount you accept, in minor units. Pay.com cancels approvals below this amount.
percentage_thresholdintegerMinimum approved share of the requested amount you accept, as a percentage. Pay.com cancels approvals below it.
approved_by_defaultbooleanControls 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.
productsarrayPredefined packages to offer for the approved amount. Each item requires amount and title, with optional description, image, and id.
allow_top_upbooleanDisplays 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_amountbooleanRequires 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):

FieldTypeDescription
statusstringpending 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_requestedintegerOriginal requested amount in minor units.
amount_authorizedintegerAmount approved by the issuer in minor units.
amount_chargedintegerAmount captured in minor units (0 after cancellation).
product_idstring or nullIdentifier 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: true or 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.

payment_method_options

{
  "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 id if you omit one, and reports the charged package in payment_method_details.card.partial_approval.product_id.
  • Automatic threshold: When amount_threshold isn't set, the smallest package's amount acts 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:

  1. Create a linked authentication session with the charge ID and your return_url.
  2. Redirect the customer to the session's url.
  3. After the customer chooses, Pay.com redirects them to your return_url. Check the charge status or wait for charge.succeeded or charge.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
      }
    }
  }
}

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:

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.

  1. 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
ObjectWaiting for actionAfter confirmation or captureAfter cancellation
Chargerequires_partial_approval_actionsucceeded_partiallyfailed (partial_approval_canceled)
Payment sessionrequires_partial_approval_actioncompleted_partiallyopen (customer can try again)
Holdrequires_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).

BrandCard numberCVVExpiration
Visa4050453601459870AnyAny future date
Mastercard5200828282828210AnyAny future date

Next steps

Was this page helpful?