Initialize hosted collections with automatic routing or a manual gateway override.
gateway_code, RouteX will try that gateway first. If you omit it, RouteX routes automatically.
| Field | Required | Description |
|---|---|---|
reference | Yes | Unique merchant reference for this checkout. |
amount | Yes | Amount in customer-facing currency units. For example, send 2500 for NGN 2,500. |
currency | Yes | Currency code. This MVP supports NGN. |
customer.email | Yes | Customer email address. |
customer.name | No | Optional customer display name. |
gateway_code | No | Optional gateway override. Use pstk, fltw, kora, or isw. |
redirect_url | No | Optional customer return URL after payment. |
notification_url | No | Optional merchant webhook URL for normalized RouteX events. |
narration | No | Optional checkout narration. |
mode | No | Optional checkout channel hint. |
metadata | No | Optional metadata object. |
gateway_code is optional.gateway_code is omitted, RouteX picks the gateway automatically.notification_url, RouteX uses it for merchant webhook delivery after provider confirmation.