Convert

A comprehensive testing strategy is crucial to ensure the successful integration of SmartpayGenie into your application. Here are some key testing types:

Currency conversion

Endpoint:

https://api.smartpaygenie.com/currency/convert

Method:

' POST '

Request parameters

Parameter

from_currency

to_currency

amount

Type

String

String

Number

Description

ISO 4217 currency code (e.g., USD)

ISO 4217 currency code (e.g., EUR)

Amount to convert

Required

Yes

Yes

Yes

Note

Currency must be supported by SmartpayGenie. Check our currency section to see our supported list.

Request payload

JSON



    {
       "currency": "USD", 
        "balance": "EUR", 
        "amount": 400.00,
    }
  

Response

200 - OK successful response


    { 
        "converted_amount": 400.00, 
        "to_currency": "EUR" 
    }
  

Supports

If you encounter any issues or have questions, please feel free to contact our dedicated support team.

We are committed to providing you with the best possible experience and support.