Developer config API

API request

GET /developers/v1/config

Discover payment methods, currencies, and integration metadata.

curl -X GET "https://api.mainmoney.net/api/v2/developers/v1/config" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

Developer config API

Discover integration capabilities and sandbox test credentials programmatically. Mainmoney is your acquirer — responses never expose underlying payment processors.

GET /developers/v1/config

Auth: Bearer token (sandbox or live app).

Returns a curated, stable shape — no internal gateway IDs or raw secrets.

{
  "environment": "SANDBOX",
  "app": {
    "name": "My storefront",
    "clientId": "mm_test_...",
    "logoUrl": "https://..."
  },
  "merchant": {
    "displayName": "Acme Shop",
    "countryCode": "CD"
  },
  "payments": {
    "methods": ["card", "momo"],
    "card": { "acquirer": "mainmoney", "mode": "test" },
    "currencies": ["CDF", "USD"]
  },
  "webhooks": { "configured": true },
  "documentation": {
    "testing": "/docs/sandbox/testing",
    "testCards": "/docs/sandbox/test-cards",
    "testMomo": "/docs/sandbox/test-momo",
    "config": "/docs/api/config"
  }
}

GET /developers/v1/sandbox/testing-guide

Auth: Bearer token (sandbox apps only).

Returns Mainmoney sandbox test cards and MoMo numbers for enabled operators.

GET /developers/v1/payment-requests

Auth: Bearer token.

Paginated list of payment requests for the authenticated app (page, pageSize).

Business dashboard proxy

When logged into the business dashboard, the same data is available at:

  • GET /business/developer/config?developerAppId=...
  • GET /business/developer/sandbox/testing-guide?developerAppId=...
  • GET /business/developer/payment-requests

API request

GET /developers/v1/sandbox/testing-guide

Fetch Mainmoney sandbox test cards and MoMo numbers (sandbox apps only).

curl -X GET "https://api.mainmoney.net/api/v2/developers/v1/sandbox/testing-guide" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

API request

GET /developers/v1/payment-requests?page=1&pageSize=20

List payment requests for the authenticated app.

curl -X GET "https://api.mainmoney.net/api/v2/developers/v1/payment-requests?page=1&pageSize=20" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $ACCESS_TOKEN"