Skip to main content

Overview

A preset amount deposit lets you specify exactly how much the customer will deposit. The customer does not enter an amount — it is locked to the value you set. This is ideal when your platform offers predefined deposit tiers (e.g. $25, $50, $100). Every Soap API request is authenticated with a bearer token in the Authorization header:
Create your API key in the Soap Dashboard under the Developer section. It looks like key_... and is shown once, when you create it, so store it in your server’s secret manager right away. See Managing API keys. Requests with a missing, unknown or inactive API key return 401 with {"error": "API key not found.", "code": "invalid_api_key"}. Branch on the status and code rather than the message. Never expose your API key in client-side code — it is server-side only.

How It Works

  1. You create a checkout session with type: "deposit" 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 payment method and confirms.
  4. Upon completion, a webhook is fired and the customer is redirected back to your app.

API Request

Key Parameters

When to Use

  • You offer predefined deposit tiers ($25, $50, $100, etc.)
  • Promotional deposits with a fixed bonus amount
  • Any scenario where you control the deposit amount

← Back to Create Checkout

View the full API reference for creating checkouts.