Payments & Credits
Pay for lease signatures using the FairePlace credit system, powered by Stripe.
How credits work
- 1 credit = 1 lease signature (includes all signers on that lease)
- Credits are purchased via Stripe Checkout
- Credits never expire
- Credits are scoped to your organization (tenant)
Check your balance
Code
Code
Purchase credits
1. Create a checkout session
Code
Code
2. Redirect to Stripe
Open the checkout_url in the user's browser. Stripe handles the payment form, card validation, and 3D Secure if required.
3. Credits are added automatically
After successful payment, credits are added to your balance immediately. The user is redirected to your success_url.
Pricing
| Package | Credits | Price | Per signature |
|---|---|---|---|
1_credit | 1 | 30.00 EUR | 30.00 EUR |
5_credits | 5 | 140.00 EUR | 28.00 EUR |
10_credits | 10 | 250.00 EUR | 25.00 EUR |
25_credits | 25 | 575.00 EUR | 23.00 EUR |
50_credits | 50 | 1,000.00 EUR | 20.00 EUR |
All prices exclude VAT. VAT is calculated at checkout based on your billing country.
Credit history
View your transaction history:
Code
Code
Stripe webhooks
FairePlace uses Stripe webhooks to process payments reliably. If you need to track payment events in your own system, you can listen for these webhook events.
Webhook endpoint
Configure your webhook endpoint in Stripe Dashboard to receive events at your URL.
Key events
| Event | Description |
|---|---|
checkout.session.completed | Payment successful, credits added to balance |
charge.succeeded | Charge confirmed by the payment provider |
charge.refunded | Refund processed (credits will be deducted) |
Webhook payload example
Code
Verifying webhook signatures
Always verify the Stripe webhook signature to ensure the event is authentic:
Code
Error handling
Insufficient credits when signing
If you try to initiate a signature without credits:
Code
Payment failed
If the Stripe checkout fails, no credits are added. The user can retry by creating a new checkout session.
Related
- Electronic Signatures — How signatures use credits
- Create a Lease End-to-End — Full workflow including payment
- Error Handling — All error codes and troubleshooting