Skip to content

Conversation

Anurag-05-prog
Copy link
Contributor

Type of Change

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

Closes this issue

Description

Added coingate, paystack connector specifications

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

Request:

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

Response:

{
    "connector_count": 2,
    "connectors": [
        {
            "name": "COINGATE",
            "display_name": "Coingate",
            "description": "CoinGate's online payment solution makes it easy for businesses to accept Bitcoin, Ethereum, stablecoins and other cryptocurrencies for payments on any website.",
            "category": "alternative_payment_method",
            "supported_payment_methods": [
                {
                    "payment_method": "crypto",
                    "payment_method_type": "crypto_currency",
                    "payment_method_type_display_name": "Crypto",
                    "mandates": "not_supported",
                    "refunds": "supported",
                    "supported_capture_methods": [
                        "automatic",
                        "sequential_automatic"
                    ],
                    "supported_countries": [
                        "POL",
                        "CRI",
                        "ARG",
                        "FRA",
                        "DEU",
                        "HKG",
                        "SVN",
                        "ESP",
                        "SRB",
                        "ISR",
                        "MLT",
                        "JPN",
                        "CHL",
                        "UKR",
                        "ALB",
                        "LUX",
                        "ITA",
                        "HUN",
                        "IRL",
                        "KOR",
                        "CHE",
                        "CZE",
                        "FIN",
                        "AUS",
                        "COL",
                        "SVK",
                        "HRV",
                        "LCA",
                        "EGY",
                        "GRC",
                        "MDA",
                        "CYP",
                        "PER",
                        "GRD",
                        "LVA",
                        "PRT",
                        "ROU",
                        "DNK",
                        "QAT",
                        "AND",
                        "NLD",
                        "LTU",
                        "SGP",
                        "SAU",
                        "AUT",
                        "BRA",
                        "NZL",
                        "ISL",
                        "NOR",
                        "BGR",
                        "MEX",
                        "BEL",
                        "BIH",
                        "DOM",
                        "GBR",
                        "SWE",
                        "EST",
                        "IND",
                        "SLV"
                    ],
                    "supported_currencies": [
                        "GBP",
                        "EUR",
                        "USD"
                    ]
                }
            ],
            "supported_webhook_flows": [
                "payments"
            ]
        },
        {
            "name": "PAYSTACK",
            "display_name": "Paystack",
            "description": "Paystack is a Nigerian financial technology company that provides online and offline payment solutions to businesses across Africa.",
            "category": "payment_gateway",
            "supported_payment_methods": [
                {
                    "payment_method": "bank_redirect",
                    "payment_method_type": "eft",
                    "payment_method_type_display_name": "EFT",
                    "mandates": "not_supported",
                    "refunds": "supported",
                    "supported_capture_methods": [
                        "automatic",
                        "sequential_automatic"
                    ],
                    "supported_countries": [
                        "ZAF",
                        "CIV",
                        "NGA",
                        "KEN",
                        "GHA"
                    ],
                    "supported_currencies": [
                        "GHS",
                        "USD",
                        "KES",
                        "NGN",
                        "ZAR"
                    ]
                }
            ],
            "supported_webhook_flows": [
                "payments",
                "refunds"
            ]
        }
    ]
}

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 May 9, 2025
@Anurag-05-prog Anurag-05-prog requested review from a team as code owners May 9, 2025 11:30
Copy link

semanticdiff-com bot commented May 9, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  crates/hyperswitch_connectors/src/connectors/coingate.rs  16% smaller
  crates/hyperswitch_connectors/src/connectors/paystack.rs  15% smaller
  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
  loadtest/config/development.toml Unsupported file format

@Anurag-05-prog Anurag-05-prog linked an issue May 9, 2025 that may be closed by this pull request
2 tasks
AkshayaFoiger
AkshayaFoiger previously approved these changes May 9, 2025
ShankarSinghC
ShankarSinghC previously approved these changes May 11, 2025
@Gnanasundari24 Gnanasundari24 added this pull request to the merge queue May 15, 2025
Merged via the queue into main with commit 6aeaf04 May 15, 2025
14 of 20 checks passed
@Gnanasundari24 Gnanasundari24 deleted the feat-matrix branch May 15, 2025 11:57
iemyashasvi pushed a commit that referenced this pull request May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE]: Add coingate, paystack connector specifications
5 participants