Argent wallet

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

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

Redirect URL parameters

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

Buy URL

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

Sell URL

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

Supported Assets

This can be used in the asset field

  1. USDC

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

More assets to work with argent coming.

ENDPOINT

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

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 πŸ‡¬πŸ‡­

MinimumMaximum

14 GHS

4,697 GHS

1 (cUSD, USDT, USDT)

300 (cUSD, USDC, USDT)

Kenya πŸ‡°πŸ‡ͺ

MinimumMaximum

130 KES

38,627 KES

1 (cUSD, USDT, USDT)

300 (cUSD, USDC, USDT)

Uganda πŸ‡ΊπŸ‡¬

MinimumMaximum

3,500 UGX

1,114,650 UGX

1 (cUSD, USDT, USDT)

300 (cUSD, USDC, USDT)

Tanzania πŸ‡ΉπŸ‡Ώ

MinimumMaximum

1,200 TZS

815,016 TZS

1 (cUSD, USDT, USDT)

300 (cUSD, USDC, USDT)

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

CountryValue

πŸ‡¬πŸ‡­ Ghana

ghs

πŸ‡°πŸ‡ͺ Kenya

kes

πŸ‡ΊπŸ‡¬ Uganda

ugx

πŸ‡ΉπŸ‡Ώ Tanzania

tzs

Last updated