Skip to main content
POST
Initiate cross-border collection
Starts a cross-border payment collection request for a supported corridor. For Kenya, this initiates an M-Pesa collection request to the customer’s phone number. For Uganda, this initiates an MTN mobile money collection request. The merchant is credited in NGN after the provider confirms successful payment.

Notes

  • Send customer-facing amounts in normal source-currency units, such as 100 for 100 KES.
  • The NGN amount and exchange rate are locked at initiation.
  • The initial transaction status is usually PROCESSING.
  • On successful provider confirmation, the merchant’s NGN balance is credited instantly and the transaction becomes COMPLETED.
  • Use merchantReference to map the collection back to your order, invoice, or checkout session.

Uganda Example

Authorizations

x-api-key
string
header
required

Merchant API Key (e.g., nexa-prod-... or nexa-test-...)

Headers

x-business-env
enum<string>
default:prod

Target environment selector (live production vs. simulated sandbox).

Available options:
prod,
test

Body

application/json
businessId
string
required
country
string
required
Example:

"UG"

currency
string
required
Example:

"UGX"

amount
number
required
Example:

20000

paymentMethod
string
required
Example:

"MTN"

customer
object
required
reference
string

Optional merchant-supplied unique NexaPay transaction reference.

sourceCurrency
string
Example:

"UGX"

targetCurrency
string
Example:

"NGN"

merchantReference
string
Example:

"ORDER-UG-001"

description
string
Example:

"Uganda order payment"

Response

Collection initiated successfully.

success
boolean
Example:

true

msg
string
collection
object
quote
object
providerResponse
object