Opera Minipay

OneRamp can be integrated in minipay wallet using redirect, which is the easiest and fastest way to use the widget without leaving your minipay wallet.

Append the required parameters to the URL as a string, as specified in the object below.

Redirect URL parameters

{
  "asset": "cusd",
  "provider": "safaricom",
  "amount": 130,
  "currency": "kes"
}

Buy URL

https://minipay.oneramp.io/?asset=cusd&provider=safaricom&amount=130&currency=kes

Sell URL

https://minipay.oneramp.io/sell?asset=cusd&provider=safaricom&amount=1&currency=kes

Supported Assets

This can be used in the asset field

  1. cUSD

  2. USDC

  3. USDT

This can also be accessed using the /assets/:network endpoint .

ENDPOINT

https://api.oneramp.io/assets/celo

Supported Providers

This can be used in the provider

Ghana πŸ‡¬πŸ‡­

  • Vodafone

  • MTN

  • Airtel

Kenya πŸ‡°πŸ‡ͺ

  • Safaricom

  • Airtel

Uganda πŸ‡ΊπŸ‡¬

  • MTN

  • Airtel

Tanzania πŸ‡ΉπŸ‡Ώ

  • Vodacom

  • Tigo

These can also be accessed using the /providers/:country endpoint

ENDPOINT URL

https://api.oneramp.io/providers/kenya

Country names: kenya, uganda, tanzania, ghana

Minimum and maximum amount per country

This is used in the amount field

Ghana πŸ‡¬πŸ‡­

Kenya πŸ‡°πŸ‡ͺ

Uganda πŸ‡ΊπŸ‡¬

Tanzania πŸ‡ΉπŸ‡Ώ

These can also be accessed using the /amounts/:country endpoint

ENDPOINT URL

https://api.oneramp.io/amounts/kenya

Country names: kenya, uganda, tanzania, ghana

Currency

This can be used in the currency field

Last updated