Payments Module

v2.0.1
Module

Comprehensive payment processing system for secure financial transactions. Provides multiple payment gateways, global currency support, and advanced security features for e-commerce and subscription businesses.

Required Module
for E-commerce Store, Marketplace, and Hotel entities
3

Required For

9

Payment Providers

7

Payment Methods

🔒

PCI Compliant

Module Purpose & Benefits

The Payments module enables secure financial transactions with comprehensive support for multiple payment processors, currencies, and payment methods. It provides enterprise-grade security features and compliance with financial regulations.

Multiple Payment Processors

Integration with popular payment gateways like Stripe, PayPal, Square, and digital wallets

Global Currency Support

Accept payments in multiple currencies with automatic conversion and local payment methods

Advanced Payment Features

Recurring billing, split payments, partial refunds, and saved payment methods

Security & Compliance

PCI DSS compliance, SSL encryption, tokenization, and fraud protection

Payment Method Diversity

Support for credit/debit cards, digital wallets, bank transfers, and buy-now-pay-later options

Fraud Protection

Advanced fraud detection algorithms and risk assessment tools

Required For
Entities that must include the payments module
Required
EcommerceStore

Required for online retail transactions

Essential for processing customer purchases and order payments

Required
Marketplace

Required for multi-vendor transaction management

Handle payments between buyers, sellers, and platform commission

Required
Hotel

Required for reservation and booking payments

Process booking deposits, full payments, and cancellation refunds

Recommended For
Entities that benefit from payment capabilities
Recommended
Restaurant

Online ordering and delivery payments

Process food orders, tips, and delivery payments

Recommended
EducationPlatform

Course payments and subscription billing

Handle course enrollments, subscriptions, and educational content purchases

Recommended
FitnessPlatform

Membership and personal training payments

Process gym memberships, personal training sessions, and class bookings

Recommended
StreamingPlatform

Subscription and content purchase payments

Handle subscription billing and pay-per-view content purchases

Recommended
GenerativeAIPlatform

API usage and subscription payments

Process API credits, subscription tiers, and usage-based billing

Payment Providers
Integrated payment processors and gateways
stripe
Stripe

Global payment platform with extensive API and developer tools

paypal
PayPal

Widely trusted digital wallet and payment processor

square
Square

Point-of-sale and online payment solutions

klarna
Klarna

Buy-now-pay-later and flexible payment options

apple_pay
Apple Pay

Secure mobile payments for iOS devices

google_pay
Google Pay

Digital wallet for Android and web payments

Payment Methods
Diverse payment options for customer convenience
credit_card

Visa, Mastercard, American Express, and other major credit cards

debit_card

Direct bank account debits and debit card transactions

bank_transfer

ACH transfers, wire transfers, and direct bank payments

digital_wallet

Apple Pay, Google Pay, PayPal, and other digital wallets

buy_now_pay_later

Klarna, Afterpay, Sezzle, and other installment payment options

crypto

Bitcoin, Ethereum, and other cryptocurrency payments

cash

Cash on delivery, in-store cash payments, and cash equivalents

Security & Compliance
Enterprise-grade security for financial transactions
pci_compliance

PCI DSS compliant payment processing and data handling

ssl_encryption

End-to-end SSL/TLS encryption for all payment communications

tokenization

Secure tokenization of sensitive payment information

fraud_detection

AI-powered fraud detection and risk assessment algorithms

two_factor_auth

Optional 2FA for high-value transactions and account changes

recurring_payments

Secure subscription and recurring billing management

Module Schema
Complete payments module structure and properties
payments.json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Payments Module",
  "description": "Module for payment processing and financial transactions",
  "aimlVersion": "2.0.1",
  "schemaVersion": "2.0.1",
  "type": "object",
  "properties": {
    "version": {
      "type": "string",
      "const": "2.0.1",
      "description": "Module version"
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether payments module is enabled"
    },
    "providers": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": ["stripe", "paypal", "square", "klarna", "apple_pay", "google_pay", "amazon_pay", "visa", "mastercard"]
      },
      "description": "Available payment processors and gateways"
    },
    "currencies": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Z]{3}$"
      },
      "description": "Supported currency codes (ISO 4217)"
    },
    "payment_methods": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": ["credit_card", "debit_card", "bank_transfer", "digital_wallet", "buy_now_pay_later", "crypto", "cash"]
      },
      "description": "Supported payment methods"
    },
    "features": {
      "type": "object",
      "properties": {
        "recurring_payments": { "type": "boolean" },
        "split_payments": { "type": "boolean" },
        "refunds": { "type": "boolean" },
        "partial_refunds": { "type": "boolean" },
        "fraud_protection": { "type": "boolean" },
        "pci_compliance": { "type": "boolean" },
        "save_payment_methods": { "type": "boolean" }
      },
      "description": "Payment processing features"
    },
    "security": {
      "type": "object",
      "properties": {
        "ssl_encryption": { "type": "boolean" },
        "tokenization": { "type": "boolean" },
        "two_factor_auth": { "type": "boolean" },
        "fraud_detection": { "type": "boolean" }
      },
      "description": "Security features for payment processing"
    }
  },
  "required": ["version", "enabled"]
}
Implementation Example
E-commerce marketplace with comprehensive payment configuration
Marketplace with payments module
{
  "modules": {
    "payments": {
      "version": "2.0.1",
      "enabled": true,
      "providers": [
        "stripe",
        "paypal",
        "klarna",
        "apple_pay",
        "google_pay"
      ],
      "currencies": [
        "USD",
        "EUR",
        "GBP",
        "JPY",
        "CAD"
      ],
      "payment_methods": [
        "credit_card",
        "debit_card",
        "digital_wallet",
        "buy_now_pay_later"
      ],
      "features": {
        "recurring_payments": true,
        "split_payments": true,
        "refunds": true,
        "partial_refunds": true,
        "fraud_protection": true,
        "pci_compliance": true,
        "save_payment_methods": true
      },
      "security": {
        "ssl_encryption": true,
        "tokenization": true,
        "two_factor_auth": false,
        "fraud_detection": true
      }
    }
  }
}
Module URL
Direct access to the payments module schema
https://schemas.meta-aiml.org/v2.0.1/templates/module/payments.json

Included in entity schemas via the modules object