Skip to main content

Overview

A preset amount withdrawal lets you specify exactly how much the customer will withdraw. The amount is locked — the customer simply confirms and selects a payout method. This is ideal when you’ve pre-approved a withdrawal or are offering fixed cashout tiers.

How It Works

  1. You create a checkout session with type: "withdrawal" and include fixed_amount_cents.
  2. The customer is redirected to the Soap-hosted checkout page with the amount pre-filled and locked.
  3. The customer selects a payout method and confirms.
  4. Upon completion, a webhook is fired and the customer is redirected back to your app.

API Request

curl -X POST 'https://api-sandbox.paywithsoap.com/api/v1/checkouts' \
--header 'Content-Type: application/json' \
--header 'Authorization: YOUR_API_KEY' \
--data '{
    "customer_id": "cus_vi57KegYgcRqcGHqip8q6UZiqtrwMT870",
    "type": "withdrawal",
    "fixed_amount_cents": 10000,
    "experience": "web",
    "return_url": "https://myapp.com/wallet"
}'

Key Parameters

ParameterRequiredDescription
customer_idYesThe customer’s unique identifier
typeYesMust be "withdrawal"
fixed_amount_centsYesThe exact withdrawal amount in cents (e.g. 10000 = $100)
experienceNo"web" or "webview"
return_urlNoWhere to redirect the customer after completion

When to Use

  • Pre-approved withdrawals with a known amount
  • Fixed cashout tiers (25,25, 50, $100, etc.)
  • Placing a hold on balance and then processing a specific withdrawal

← Back to Create Checkout

View the full API reference for creating checkouts.