API reference
Methods
GET /methods
List the payment rails this gateway offers
The machine-readable source of truth for which rails are available and how to invoke each one. Call this first — it is what the hosted checkout builds its picker from, so it is exactly what a customer can choose.
Each entry carries kind (the source.type to send on POST /charges), requires_phone, the currency and country filters, amount bounds, and connector — the implementation behind the rail. A connector named mock_* does NOT move money; in live mode the checkout refuses to offer those, so a rail present in test mode may legitimately be absent in live.
Responses
- 200 The catalogue, plus the gateway's current mode.
Request
curl -X GET "$KULPAY_URL/methods" \ -H "Authorization: Bearer $KULPAY_KEY"
200 Response application/json
{
"methods": [
{
"connector": "mock_redirect",
"kind": "bank_redirect",
"label": "Bank Redirect",
"max_amount": 50000000,
"method": "bank_redirect",
"min_amount": 0.01,
"subtitle": "Open banking / PSD2"
},
{
"connector": "mock_bank_transfer",
"kind": "bank_transfer",
"label": "Bank Transfer",
"max_amount": 50000000,
"method": "bank_transfer",
"min_amount": 100,
"subtitle": "Direct transfer"
}
],
"mode": "test"
}
KulPay