This API endpoint is used to initiate a crypto buy transaction for the user.

It takes following parameters for the request:

ParameterDescriptionRequired
from_currencyThe fiat currency used for onramp (currently supported: INR, EUR, GBP)Yes
to_currencyThe crypto token to be purchasedYes
from_amountAmount of fiat whose equivalent crypto needs to be purchasedEither this or to_amount
to_amountAmount of crypto currency to be purchasedEither this or from_amount
payment_methodPayment method used for making fiat depositYes
crypto_wallet_addressWallet address of the user where crypto needs to be depositedYes
networkBlockchain network where the transfer needs to be made (MATIC preferred)Yes
source_idIBAN of sender in case of "sepa_transfer" payment methodYes, for sepa_transfer
Not required for other payment methods
bank_transaction_idUTR of transaction in case of "upi_transfer" and "bank_transfer"

"IBAN_Transaction-Reference" in case of "sepa_transfer"
Yes, for "sepa_transfer", "bank_transfer" and "upi_transfer"
Not required for other payment methods

An additional parameter "id" can be passed if the merchant wants to use their generated id as the transaction id. Otherwise, Saber Money will generate an id for the transaction and pass it in the response.

Language
URL
Click Try It! to start a request and see the response here!