Skip to content

Get withdrawal from processing

GET
/v1/external/withdrawal-from-processing/{id}
Server

Get withdrawal from processing

Authorizations

XApiKey

Store API key

TypeAPI Key (header: X-Api-Key)

Parameters

Path Parameters

id*

Withdrawal ID

Typestring
Required

Query Parameters

api_key*

Store API key

Typestring
Required

Responses

OK
application/json
JSON
{
"code": 0,
"data": {
"address_from": "string",
"address_to": "string",
"amount": 0,
"amount_usd": 0,
"created_at": "string",
"currency_id": "string",
"store_id": "string",
"transfer": {
"kind": "string",
"message": "string",
"stage": "string",
"status": "string"
},
"tx_hash": "string"
},
"message": "string"
}

Samples

cURL
curl -X GET \
'https://demo.dv.net/api/v1/external/withdrawal-from-processing/{id}' \
 -H "Content-Type: application/json"
JavaScript
fetch('https://demo.dv.net/api/v1/external/withdrawal-from-processing/{id}', {headers:{'Content-Type':'application/json'}})
  .then(response => response.json())
  .then(data => console.log(data));
PHP
<?php
$url = 'https://demo.dv.net/api/v1/external/withdrawal-from-processing/{id}';
$method = 'GET';
$headers = [
    'Content-Type' => 'application/json',
];

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$response = curl_exec($ch);
curl_close($ch);

echo $response;
?>
Python
import requests

url = 'https://demo.dv.net/api/v1/external/withdrawal-from-processing/{id}'

headers = {
    'Content-Type': 'application/json'
}

response = requests.get(url, headers=headers)
print(response.json())