Cancel a cashout
curl --request DELETE \
--url https://api-stg.pandablue.com/v3/cashout/cancel \
--header 'Content-Type: <content-type>' \
--header 'Payload-Signature: <payload-signature>' \
--data '
{
"login": "<string>",
"pass": "<string>",
"cashout_id": 123,
"external_id": "<string>"
}
'import requests
url = "https://api-stg.pandablue.com/v3/cashout/cancel"
payload = {
"login": "<string>",
"pass": "<string>",
"cashout_id": 123,
"external_id": "<string>"
}
headers = {
"Content-Type": "<content-type>",
"Payload-Signature": "<payload-signature>"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'Content-Type': '<content-type>', 'Payload-Signature': '<payload-signature>'},
body: JSON.stringify({login: '<string>', pass: '<string>', cashout_id: 123, external_id: '<string>'})
};
fetch('https://api-stg.pandablue.com/v3/cashout/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-stg.pandablue.com/v3/cashout/cancel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_POSTFIELDS => json_encode([
'login' => '<string>',
'pass' => '<string>',
'cashout_id' => 123,
'external_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: <content-type>",
"Payload-Signature: <payload-signature>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-stg.pandablue.com/v3/cashout/cancel"
payload := strings.NewReader("{\n \"login\": \"<string>\",\n \"pass\": \"<string>\",\n \"cashout_id\": 123,\n \"external_id\": \"<string>\"\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("Payload-Signature", "<payload-signature>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api-stg.pandablue.com/v3/cashout/cancel")
.header("Content-Type", "<content-type>")
.header("Payload-Signature", "<payload-signature>")
.body("{\n \"login\": \"<string>\",\n \"pass\": \"<string>\",\n \"cashout_id\": 123,\n \"external_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-stg.pandablue.com/v3/cashout/cancel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Content-Type"] = '<content-type>'
request["Payload-Signature"] = '<payload-signature>'
request.body = "{\n \"login\": \"<string>\",\n \"pass\": \"<string>\",\n \"cashout_id\": 123,\n \"external_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"cashout_status": 123,
"cashout_status_description": "<string>"
}{
"code": 123,
"message": "<string>"
}Manage cashouts
Cancel a cashout
This API allows you to cancel a cashout request. Only for cashouts in PENDING state.
DELETE
/
cashout
/
cancel
Cancel a cashout
curl --request DELETE \
--url https://api-stg.pandablue.com/v3/cashout/cancel \
--header 'Content-Type: <content-type>' \
--header 'Payload-Signature: <payload-signature>' \
--data '
{
"login": "<string>",
"pass": "<string>",
"cashout_id": 123,
"external_id": "<string>"
}
'import requests
url = "https://api-stg.pandablue.com/v3/cashout/cancel"
payload = {
"login": "<string>",
"pass": "<string>",
"cashout_id": 123,
"external_id": "<string>"
}
headers = {
"Content-Type": "<content-type>",
"Payload-Signature": "<payload-signature>"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'Content-Type': '<content-type>', 'Payload-Signature': '<payload-signature>'},
body: JSON.stringify({login: '<string>', pass: '<string>', cashout_id: 123, external_id: '<string>'})
};
fetch('https://api-stg.pandablue.com/v3/cashout/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-stg.pandablue.com/v3/cashout/cancel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_POSTFIELDS => json_encode([
'login' => '<string>',
'pass' => '<string>',
'cashout_id' => 123,
'external_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: <content-type>",
"Payload-Signature: <payload-signature>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-stg.pandablue.com/v3/cashout/cancel"
payload := strings.NewReader("{\n \"login\": \"<string>\",\n \"pass\": \"<string>\",\n \"cashout_id\": 123,\n \"external_id\": \"<string>\"\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("Payload-Signature", "<payload-signature>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api-stg.pandablue.com/v3/cashout/cancel")
.header("Content-Type", "<content-type>")
.header("Payload-Signature", "<payload-signature>")
.body("{\n \"login\": \"<string>\",\n \"pass\": \"<string>\",\n \"cashout_id\": 123,\n \"external_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-stg.pandablue.com/v3/cashout/cancel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Content-Type"] = '<content-type>'
request["Payload-Signature"] = '<payload-signature>'
request.body = "{\n \"login\": \"<string>\",\n \"pass\": \"<string>\",\n \"cashout_id\": 123,\n \"external_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"cashout_status": 123,
"cashout_status_description": "<string>"
}{
"code": 123,
"message": "<string>"
}Headers
Body
application/json