Nebeus API

Get rate

Definition [ HTTPS POST ] http://domain.com/retailing/get_currency_rates

Arguments
# Type Required Description
base_currency String Yes
target_currency String Yes
Example request
Example responce

Returns the json with the rate between base_currency and target_currency and the fee for payment via payment gateway.


Payments

Definition [ HTTPS POST ] http://domain.com/retailing/payment/create

Arguments
# Type Required Description
base_amount Number Yes
base_currency String Yes
retail_transaction_id String Yes
wallet_id String Yes
target_amount Number Yes
target_currency String Yes
redirect_url String Yes
Example request
Example responce

Returns the gateway payment form.


Transaction status

Definition [ HTTPS POST ] http://domain.com/retailing/get_transaction_status

Arguments
# Type Required Description
retail_transaction_id String Yes
Example responce

Returns the json with the transaction data: ID, status, hash from the node.