💳

# Stripe Payment Gateway

Complete guide to integrating Stripe payments with your platform

Need Help?

For additional support, visit our Support Center

S

### Stripe - Global Payment Platform

Trusted by millions of businesses worldwide

#### 🌍 Global Coverage

- • 46+ countries supported
- • 135+ currencies accepted
- • Local payment methods
- • Multi-region processing

#### 💳 Payment Methods

- • Credit & Debit Cards
- • Digital Wallets (Apple Pay, Google Pay)
- • Bank Transfers & ACH
- • Buy Now, Pay Later (BNPL)

#### 🔒 Security & Compliance

- • PCI DSS Level 1 certified
- • Advanced fraud detection
- • 3D Secure authentication
- • Machine learning protection

#### ⚡ Developer Experience

- • Comprehensive APIs
- • Real-time webhooks
- • Test environment
- • Extensive documentation

Pricing

2.9% + 30¢ per successful card charge for US businesses. International rates vary by country.

## 🔑 How to Create Stripe API Keys

1

#### Create Stripe Account

Go to https://dashboard.stripe.com/register and create a new account.

2

#### Access API Keys

In your Stripe Dashboard, click on "Developers" → "API keys".

3

#### Copy Your Keys

Copy both the Publishable key and Secret key for your environment.

## ⚙️ Environment Configuration

`APP_STRIPE_PUBLIC_KEY="pk_test_your_publishable_key" APP_STRIPE_SECRET_KEY="sk_test_your_secret_key"`

## 🔌 API Endpoints

POST `/api/finance/deposit/fiat/stripe/`

Creates a new Stripe payment session

Request Body:

`{ "amount": 100.00, "currency": "USD", "paymentMethod": "card" }`
GET `/api/finance/deposit/fiat/stripe/status`

Checks the status of a Stripe payment

POST `/api/finance/deposit/fiat/stripe/webhook`

Handles Stripe webhook notifications for real-time payment updates

## ✨ Supported Features

### Payment Methods

- Credit & Debit Cards
- Apple Pay & Google Pay
- ACH Direct Debit
- SEPA Direct Debit
- Bancontact
- iDEAL

### Advanced Features

- Real-time Processing
- Webhook Notifications
- Multi-currency Support
- Fraud Protection
- 3D Secure Authentication
- Comprehensive Dashboard

## 🧪 Testing

### Test Card Numbers

Card Number | Brand | Result
--- | --- | ---
4242 4242 4242 4242 | Visa | Success
4000 0000 0000 0002 | Visa | Declined
5555 5555 5555 4444 | Mastercard | Success
3782 8224 6310 005 | American Express | Success

Use any future expiry date and any 3-digit CVC for testing.