Stablecoin to USD

Seamlessly enable your users to convert stablecoins into fiat dollars.

This kit allows a user to convert stablecoins into fiat dollars. Transfer stablecoins to and tell us where and via what payment method you to receive USD. All underlying conversions and funds orchestration required to deposit fiat into a customer's bank account is handled via the service.

Ready to allow your users to transfer stablecoins to USD? Here is what you need to get started:

To convert stablecoins to USD, you only need send a POST request (https://dev-api.altra.click/payment/stablecoin-to-usd)

POST https://dev-api.altra.click/payment/stablecoin-to-usd

Request Body

NameTypeDescription

developer_fee

Required

The fee, represented as a dollar denominated string that you wish to reserve for your own account. This is the final amount to take out of what is ultimately received by your customer, not a percentage.

amount*

Required

Amount of the transfer, represented as a dollar denominated string. Examples include "100.25", "0.1", "1.234567", "1.000000000000000001" etc.

source*

The source of the transfer, which could be an external bank account, a bridge account, or a crypto wallet address

account_number*

String

account number of your bank account

on_behalf_of*

String

The id of the customer that you are moving funds on behalf of.

destination*

String

owner of the account Bank Account (e.g. "John Doe")

// Transfer stablecoin to USD
{
    "amount": "string",
    "developer_fee": "string",
    "on_behalf_of": "string",
    "source": {
        "payment_rail": "string",
        "currency": "string",
        "from_address": "string"
    },
    "destination": {
        "payment_rail": "string",
        "currency": "string",
        "external_account_id": "string"
    }
}

Last updated