• Dashboard
  • Dashboard
Expand All Collapse All
  • Welcome
  • Introduction
  • API Access Key and Authentication
  • Nairagram Response Codes
  • Test Data
    • Test Bank Account Numbers
    • Test Data for Mobile Wallet Transfer
  • Implementing Nairagram Services
    • Bank Account Transfer Services
      • Submitting a transfer via Nairagram Payout API
      • Submitting a transfer via dashboard
      • Cancel Pending Request
    • Mobile Wallet Transfer
      • Submit Mobile Wallet Transaction
    • Cash Pick-up
      • Submit Cash Pick Up Transaction
      • Get Cash Pick-up locations
    • Client Support
      • Get Wallet by Country
      • Bank List
      • Operator Wallet Code
      • Cash Pick-up Locations
      • Webhook/Call back
      • Get Beneficiary Name
      • Get Bank List
      • Get Security Questions
      • Get Currency Rate
      • Get Country List
      • Get Balance
      • Get Transaction Status
  • User Acceptance Complete Testing (UAT)

Get Currency Rate

111 views 0 Updated on September 14, 2023

Use the getCurrencyRate endpoint to get the partner or wholesale rates at a specific time where the rates are rounded to 2 decimal places. These rates are based on the source country (US, GB, CA, etc.) and vary based on market rates and timing. In addition to this API, emails are received by the key personnel at your partner company.

Syntax

POST https://nairagrambasket.com/api/getCurrencyRate

Input Parameters

The following table lists the parameters that you need to provide in the getCurrencyRate request.

FieldValue FormatRequired/OptionalDescription
usernameyourmail@mail.com Required Input the valid email address that you submitted to your Partner Company.
passwordyourPassword Required Input your secure password.
secretKeyyourSecretKey Required Input the API key provided to you by your Partner Company.
source_currencyUSD(country code) RequiredInput the country code of the source country.
The default country code is the USD.
destination_currencyNGN(country code) RequiredInput the country code of the destination country.

Sample Request

curl --location --request POST 'https://nairagrambasket.com/api/getCurrencyRate' \
--form 'username="yourmail@mail.com"' \
--form 'password="yourPassword"' \
--form 'secretKey="yourSecretKey"' \
--form 'source_currency="USD"' \
--form 'destination_currency="NGN"'

Sample Response

Successful

Code: 200
    Message: " Success"
    Content: {
         source_country: "###",
         destination_country: "####",
         bb_rates: "####"
    }

Was this helpful?

Yes  No

Didn't find your answer? Contact Us

Previously
Get Security Questions
Up Next
Get Country List
Recent Topics
  • Get Currency Rate
  • Submit Cash Pick Up Transaction
  • Submit Mobile Wallet Transaction
  • Webhook/Call back
  • Submitting a transfer via Nairagram Payout API
Popular Topics
  • Submitting a transfer via dashboard
  • Welcome
  • Client Support
  • Get Security Questions
  • Get Wallet by Country
©2022 - Nairagram Ltd. All rights reserved.