Amount Converter

You must have the Authorization to use this API

Amount converter

POST {{baseUrl}}/wp-json/rimplenet-wallet-addon/v1/amount-converter

Request Body

Name
Type
Description

amount_to_convert*

int

Enter the amount to be converted

conversion_rate*

int

Conversion rate

wallet_from*

String

Wallet address of user

{
    "status_code": 200,
    "status": true,
    "message": "Amount conversion",
    "data": {
        "converted_amount": 3000
    },
    "submitted": {
        "rate": 600,
        "amount": "5",
        "wallet_to": "usd",
        "wallet_from": "ngn"
    }
}

To view request params, click on the arrow (>) at the right-hand side of the endpoint URL to expand or collapse

{
    "status_code": 200,
    "status": true,
    "message": "Amount conversion",
    "data": {
        "converted_amount": 3000
    },
    "submitted": {
        "rate": 600,
        "amount": "5",
        "wallet_to": "usd",
        "wallet_from": "ngn"
    }
}

Amount Converter Multi Live

Amount Converter Multi Live

POST {{baseUrl}}/wp-json/rimplenet-wallet-addon/v1/amount-converter-multi

Request Body

Name
Type
Description

conversions

String

wallet_to

String

{
    "status_code": 200,
    "status": true,
    "message": "Amount Conversion",
    "data": {
        "converted_amount": {
            "usd": 32000,
            "btc": 630,
            "eth": 2700
        }
    },
    "submitted": {
        "rate": {
            "usd": {
                "amount": 40,
                "rate": 800
            },
            "btc": {
                "amount": 90,
                "rate": 7
            },
            "eth": {
                "amount": 4,
                "rate": 675
            }
        },
        "wallet_to": "ngn"
    }
}

To view request params, click on the arrow (>) at the right-hand side of the endpoint URL to expand or collapse

{
    "status_code": 200,
    "status": true,
    "message": "Amount Conversion",
    "data": {
        "converted_amount": {
            "usd": 32000,
            "btc": 630,
            "eth": 2700
        }
    },
    "submitted": {
        "rate": {
            "usd": {
                "amount": 40,
                "rate": 800
            },
            "btc": {
                "amount": 90,
                "rate": 7
            },
            "eth": {
                "amount": 4,
                "rate": 675
            }
        },
        "wallet_to": "ngn"
    }
}

Last updated