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

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