Skip to content

feat(connector): Add Connector Specifications#8797

Merged
likhinbopanna merged 49 commits intomainfrom
connector-specifications
Sep 1, 2025
Merged

feat(connector): Add Connector Specifications#8797
likhinbopanna merged 49 commits intomainfrom
connector-specifications

Conversation

@Anurag-05-prog
Copy link
Contributor

@Anurag-05-prog Anurag-05-prog commented Jul 30, 2025

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Closes this issue

Description

Added connector specifications for Archipel, Bankofamerica, Boku, Chargebee, Cryptopay, Cybersource, Datatrans, Nmi, Noon, Payeezy, Payme, Paypal, Plaid, Stripebilling, Trustpay.

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Postman Test

Feature Matrix API:

Request:

curl --location 'http://localhost:8080/feature_matrix' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_3ShwqeYwf04wnKtu5Ovbs9k0gkKeatSRsG4Gqha9ECBNLFM4G4qdlRDxydpa7IMh'

Response:

{
    "connector_count": 109,
    "connectors": [
        {
            "name": "ARCHIPEL",
            "display_name": "Archipel",
            "description": "Full-service processor offering secure payment solutions and innovative banking technologies for businesses of all sizes.",
            "category": "payment_gateway",
            "integration_status": "live",
            "supported_payment_methods": [
                {
                    "payment_method": "card",
                    "payment_method_type": "credit",
                    "payment_method_type_display_name": "Credit Card",
                    "mandates": "supported",
                    "refunds": "supported",
                    "supported_capture_methods": [
                        "automatic",
                        "manual",
                        "sequential_automatic"
                    ],
                    "three_ds": "supported",
                    "no_three_ds": "supported",
                    "supported_card_networks": [
                        "Mastercard",
                        "Visa",
                        "AmericanExpress",
                        "DinersClub",
                        "Discover",
                        "CartesBancaires"
                    ],
                    "supported_countries": null,
                    "supported_currencies": null
                },
                {
                    "payment_method": "card",
                    "payment_method_type": "debit",
                    "payment_method_type_display_name": "Debit Card",
                    "mandates": "supported",
                    "refunds": "supported",
                    "supported_capture_methods": [
                        "automatic",
                        "manual",
                        "sequential_automatic"
                    ],
                    "three_ds": "supported",
                    "no_three_ds": "supported",
                    "supported_card_networks": [
                        "Mastercard",
                        "Visa",
                        "AmericanExpress",
                        "DinersClub",
                        "Discover",
                        "CartesBancaires"
                    ],
                    "supported_countries": null,
                    "supported_currencies": null
                },
                {
                    "payment_method": "wallet",
                    "payment_method_type": "apple_pay",
                    "payment_method_type_display_name": "Apple Pay",
                    "mandates": "not_supported",
                    "refunds": "supported",
                    "supported_capture_methods": [
                        "automatic",
                        "manual",
                        "sequential_automatic"
                    ],
                    "supported_countries": null,
                    "supported_currencies": null
                }
            ],
            "supported_webhook_flows": []
        },
        {
            "name": "BOKU",
            "display_name": "Boku",
            "description": "Boku, Inc. is a mobile payments company that allows businesses to collect online payments through both carrier billing and mobile wallets.",
            "category": "alternative_payment_method",
            "integration_status": "alpha",
            "supported_payment_methods": [
                {
                    "payment_method": "wallet",
                    "payment_method_type": "dana",
                    "payment_method_type_display_name": "DANA",
                    "mandates": "not_supported",
                    "refunds": "supported",
                    "supported_capture_methods": [
                        "automatic",
                        "manual",
                        "sequential_automatic"
                    ],
                    "supported_countries": [
                        "IDN"
                    ],
                    "supported_currencies": [
                        "IDR"
                    ]
                },
                {
                    "payment_method": "wallet",
                    "payment_method_type": "go_pay",
                    "payment_method_type_display_name": "GoPay",
                    "mandates": "not_supported",
                    "refunds": "supported",
                    "supported_capture_methods": [
                        "automatic",
                        "manual",
                        "sequential_automatic"
                    ],
                    "supported_countries": [
                        "IDN"
                    ],
                    "supported_currencies": [
                        "IDR"
                    ]
                },
                {
                    "payment_method": "wallet",
                    "payment_method_type": "kakao_pay",
                    "payment_method_type_display_name": "KakaoPay",
                    "mandates": "not_supported",
                    "refunds": "supported",
                    "supported_capture_methods": [
                        "automatic",
                        "manual",
                        "sequential_automatic"
                    ],
                    "supported_countries": [
                        "KOR"
                    ],
                    "supported_currencies": [
                        "KRW"
                    ]
                },
                {
                    "payment_method": "wallet",
                    "payment_method_type": "momo",
                    "payment_method_type_display_name": "MoMo",
                    "mandates": "not_supported",
                    "refunds": "supported",
                    "supported_capture_methods": [
                        "automatic",
                        "manual",
                        "sequential_automatic"
                    ],
                    "supported_countries": [
                        "VNM"
                    ],
                    "supported_currencies": [
                        "VND"
                    ]
                },
                {
                    "payment_method": "wallet",
                    "payment_method_type": "gcash",
                    "payment_method_type_display_name": "GCash",
                    "mandates": "not_supported",
                    "refunds": "supported",
                    "supported_capture_methods": [
                        "automatic",
                        "manual",
                        "sequential_automatic"
                    ],
                    "supported_countries": [
                        "PHL"
                    ],
                    "supported_currencies": [
                        "PHP"
                    ]
                }
            ],
            "supported_webhook_flows": []
        },
        {
            "name": "CHARGEBEE",
            "display_name": "Chargebee",
            "description": "Chargebee is a Revenue Growth Management (RGM) platform that helps subscription businesses manage subscriptions, billing, revenue recognition, collections, and customer retention, essentially streamlining the entire subscription lifecycle.",
            "category": "revenue_growth_management_platform",
            "integration_status": "alpha",
            "supported_payment_methods": null,
            "supported_webhook_flows": [
                "payments"
            ]
        },
        {
            "name": "CRYPTOPAY",
            "display_name": "Cryptopay",
            "description": "Simple and secure solution to buy and manage crypto. Make quick international transfers, spend your BTC, ETH and other crypto assets.",
            "category": "payment_gateway",
            "integration_status": "live",
            "supported_payment_methods": [
                {
                    "payment_method": "crypto",
                    "payment_method_type": "crypto_currency",
                    "payment_method_type_display_name": "Crypto",
                    "mandates": "not_supported",
                    "refunds": "not_supported",
                    "supported_capture_methods": [
                        "automatic",
                        "sequential_automatic"
                    ],
                    "supported_countries": null,
                    "supported_currencies": null
                }
            ],
            "supported_webhook_flows": [
                "payments"
            ]
        },
        {
            "name": "DATATRANS",
            "display_name": "Datatrans",
            "description": "Datatrans is a payment gateway that facilitates the processing of payments, including hosting smart payment forms and correctly routing payment information.",
            "category": "payment_gateway",
            "integration_status": "live",
            "supported_payment_methods": [
                {
                    "payment_method": "card",
                    "payment_method_type": "debit",
                    "payment_method_type_display_name": "Debit Card",
                    "mandates": "supported",
                    "refunds": "supported",
                    "supported_capture_methods": [
                        "automatic",
                        "manual",
                        "sequential_automatic"
                    ],
                    "three_ds": "supported",
                    "no_three_ds": "supported",
                    "supported_card_networks": [
                        "Visa",
                        "Mastercard",
                        "AmericanExpress",
                        "JCB",
                        "DinersClub",
                        "Discover",
                        "UnionPay",
                        "Maestro",
                        "Interac",
                        "CartesBancaires"
                    ],
                    "supported_countries": [
                        "LIE",
                        "TUR",
                        "HRV",
                        "KAZ",
                        "GRC",
                        "GBR",
                        "DNK",
                        "BEL",
                        "GEO",
                        "CHE",
                        "MLT",
                        "AUT",
                        "LTU",
                        "FRA",
                        "AND",
                        "CZE",
                        "NLD",
                        "VAT",
                        "ALB",
                        "MCO",
                        "ISL",
                        "SVN",
                        "LVA",
                        "BGR",
                        "BLR",
                        "SMR",
                        "HUN",
                        "IRL",
                        "ITA",
                        "DEU",
                        "FIN",
                        "SVK",
                        "MKD",
                        "RUS",
                        "MDA",
                        "UKR",
                        "EST",
                        "LUX",
                        "MNE",
                        "BIH",
                        "SWE",
                        "AZE",
                        "CYP",
                        "POL",
                        "PRT",
                        "ROU",
                        "ESP",
                        "NOR",
                        "ARM"
                    ],
                    "supported_currencies": [
                        "KRW",
                        "ISK",
                        "KMF",
                        "VND",
                        "OMR",
                        "JOD",
                        "VUV",
                        "XOF",
                        "XPF",
                        "DJF",
                        "KWD",
                        "EUR",
                        "TND",
                        "USD",
                        "PYG",
                        "IQD",
                        "LYD",
                        "GBP",
                        "BIF",
                        "RWF",
                        "BHD",
                        "JPY",
                        "UGX",
                        "GNF",
                        "CHF",
                        "XAF"
                    ]
                },
                {
                    "payment_method": "card",
                    "payment_method_type": "credit",
                    "payment_method_type_display_name": "Credit Card",
                    "mandates": "supported",
                    "refunds": "supported",
                    "supported_capture_methods": [
                        "automatic",
                        "manual",
                        "sequential_automatic"
                    ],
                    "three_ds": "supported",
                    "no_three_ds": "supported",
                    "supported_card_networks": [
                        "Visa",
                        "Mastercard",
                        "AmericanExpress",
                        "JCB",
                        "DinersClub",
                        "Discover",
                        "UnionPay",
                        "Maestro",
                        "Interac",
                        "CartesBancaires"
                    ],
                    "supported_countries": [
                        "ROU",
                        "BGR",
                        "BEL",
                        "BLR",
                        "ALB",
                        "GBR",
                        "RUS",
                        "MNE",
                        "ESP",
                        "DNK",
                        "GEO",
                        "LVA",
                        "MCO",
                        "MLT",
                        "HRV",
                        "FIN",
                        "MDA",
                        "KAZ",
                        "BIH",
                        "EST",
                        "GRC",
                        "ISL",
                        "TUR",
                        "POL",
                        "VAT",
                        "AND",
                        "ITA",
                        "SWE",
                        "IRL",
                        "NLD",
                        "AUT",
                        "SMR",
                        "MKD",
                        "UKR",
                        "CZE",
                        "LUX",
                        "NOR",
                        "SVK",
                        "FRA",
                        "HUN",
                        "PRT",
                        "CHE",
                        "LIE",
                        "LTU",
                        "DEU",
                        "ARM",
                        "CYP",
                        "SVN",
                        "AZE"
                    ],
                    "supported_currencies": [
                        "XPF",
                        "VND",
                        "BHD",
                        "BIF",
                        "ISK",
                        "TND",
                        "UGX",
                        "CHF",
                        "EUR",
                        "USD",
                        "VUV",
                        "IQD",
                        "KMF",
                        "GNF",
                        "JOD",
                        "JPY",
                        "KRW",
                        "GBP",
                        "LYD",
                        "OMR",
                        "PYG",
                        "RWF",
                        "KWD",
                        "XAF",
                        "XOF",
                        "DJF"
                    ]
                }
            ],
            "supported_webhook_flows": []
        },
        {
            "name": "PLAID",
            "display_name": "Plaid",
            "description": "Plaid is a data network that helps millions connect their financial accounts to apps like Venmo, SoFi, and Betterment. It powers tools used by Fortune 500 companies, major banks, and leading fintechs to enable easier, smarter financial lives.",
            "category": "authentication_provider",
            "integration_status": "beta",
            "supported_payment_methods": [
                {
                    "payment_method": "open_banking",
                    "payment_method_type": "open_banking_pis",
                    "payment_method_type_display_name": "Open Banking PIS",
                    "mandates": "not_supported",
                    "refunds": "not_supported",
                    "supported_capture_methods": [
                        "automatic",
                        "sequential_automatic"
                    ],
                    "supported_countries": null,
                    "supported_currencies": [
                        "GBP",
                        "EUR"
                    ]
                }
            ],
            "supported_webhook_flows": []
        }
    ]
}

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

@Anurag-05-prog Anurag-05-prog self-assigned this Jul 30, 2025
@Anurag-05-prog Anurag-05-prog requested review from a team as code owners July 30, 2025 07:03
@semanticdiff-com
Copy link

semanticdiff-com bot commented Jul 30, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  api-reference/v1/openapi_spec_v1.json  67% smaller
  api-reference/v2/openapi_spec_v2.json  67% smaller
  crates/hyperswitch_connectors/src/connectors/rapyd.rs  40% smaller
  crates/hyperswitch_connectors/src/connectors/chargebee.rs  18% smaller
  crates/hyperswitch_connectors/src/connectors/stripebilling.rs  17% smaller
  crates/hyperswitch_connectors/src/connectors/payeezy.rs  16% smaller
  crates/hyperswitch_connectors/src/connectors/plaid.rs  15% smaller
  crates/hyperswitch_connectors/src/connectors/cryptopay.rs  15% smaller
  crates/hyperswitch_connectors/src/connectors/shift4.rs  12% smaller
  crates/hyperswitch_connectors/src/connectors/boku.rs  10% smaller
  crates/hyperswitch_connectors/src/connectors/payme.rs  8% smaller
  crates/hyperswitch_connectors/src/connectors/archipel.rs  7% smaller
  crates/hyperswitch_connectors/src/connectors/noon.rs  7% smaller
  crates/hyperswitch_connectors/src/connectors/datatrans.rs  7% smaller
  crates/hyperswitch_connectors/src/connectors/nmi.rs  6% smaller
  crates/hyperswitch_connectors/src/connectors/bankofamerica.rs  6% smaller
  crates/hyperswitch_connectors/src/connectors/cybersource.rs  6% smaller
  crates/hyperswitch_connectors/src/connectors/trustpay.rs  4% smaller
  crates/hyperswitch_connectors/src/connectors/paypal.rs  4% smaller
  config/config.example.toml Unsupported file format
  config/deployments/integration_test.toml Unsupported file format
  config/deployments/production.toml Unsupported file format
  config/deployments/sandbox.toml Unsupported file format
  config/development.toml Unsupported file format
  config/docker_compose.toml Unsupported file format
  crates/common_enums/src/enums.rs  0% smaller
  crates/hyperswitch_connectors/src/connectors/bamboraapac.rs  0% smaller
  crates/hyperswitch_connectors/src/connectors/gocardless.rs  0% smaller
  crates/hyperswitch_connectors/src/connectors/powertranz.rs  0% smaller
  crates/hyperswitch_connectors/src/connectors/worldline.rs  0% smaller
  loadtest/config/development.toml Unsupported file format

Base automatically changed from feature-matrix-stripe to main August 21, 2025 14:54
@Gnanasundari24 Gnanasundari24 dismissed deepanshu-iiitu’s stale review August 21, 2025 14:54

The base branch was changed.

@Anurag-05-prog Anurag-05-prog requested a review from a team as a code owner August 21, 2025 14:54
@Anurag-05-prog Anurag-05-prog removed request for a team and NishantJoshi00 August 24, 2025 03:45
jagan-jaya
jagan-jaya previously approved these changes Aug 26, 2025
jarnura
jarnura previously approved these changes Aug 26, 2025
@likhinbopanna likhinbopanna added this pull request to the merge queue Sep 1, 2025
Merged via the queue into main with commit 861e023 Sep 1, 2025
25 of 29 checks passed
@likhinbopanna likhinbopanna deleted the connector-specifications branch September 1, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

M-api-contract-changes Metadata: This PR involves API contract changes

Projects

None yet

6 participants