Skip to main content

Simulate Receivement

Simulates the receivement of cryptocurrency (Works only in staging).

Making a Request

The call should be made using the POST method.

URL
  /v1/crypto/receivement
HTTP Request Body
{
"value": 10.50,
"receiver_wallet_address": "TJcLHew3otEuCaBJzqqN82V2Y2Bdqfyx7t",
"sender_wallet_address": "TOSJDFSOsdfswwerwerfIDFJSOFISDF"
}

Attributes Description

ATTRIBUTEDESCRIPTIONTYPE
value
(Required)
Amount to be receivedDECIMAL
greater than 0
receiver_wallet_address
(Required)
Wallet address of the recipient (must be registered via the Generate Wallet endpoint)STRING
sender_wallet_address
(Required)
Wallet address of the senderSTRING

Success

If the operation is successful, a JSON response with the status 202 - Accepted is returned.

Errors

In case of errors, a JSON response is returned with the error attribute specifying the reason for the failure.

HTTP 400 Response Body - Example
  {
"msg": ""
}
HTTP 500 Response Body - Example
  {
"error": "Operation failed! Please try again or contact our support team"
}