Retrieve Cashout Status
curl --request POST \
--url https://api-stg.pandablue.com/v3/cashout/status \
--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/status"
payload = {
"login": "<string>",
"pass": "<string>",
"cashout_id": 123,
"external_id": "<string>"
}
headers = {
"Content-Type": "<content-type>",
"Payload-Signature": "<payload-signature>"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
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/status', 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/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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/status"
payload := strings.NewReader("{\n \"login\": \"<string>\",\n \"pass\": \"<string>\",\n \"cashout_id\": 123,\n \"external_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://api-stg.pandablue.com/v3/cashout/status")
.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/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.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": 0,
"cashout_status_description": "<string>",
"rejection_code": 800,
"rejection_reason": "<string>",
"provider_external_reference": "<string>",
"bank": {
"code": "<string>",
"name": "<string>",
"branch": "<string>",
"account": "<string>",
"beneficiary_name": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<string>"
}
}{
"code": 123,
"message": "<string>"
}{
"code": 123,
"message": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<string>"
}
}Manage cashouts
Get a cashout status
This API allows you to retrieve the status of a cashout.
POST
/
v3
/
cashout
/
status
Retrieve Cashout Status
curl --request POST \
--url https://api-stg.pandablue.com/v3/cashout/status \
--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/status"
payload = {
"login": "<string>",
"pass": "<string>",
"cashout_id": 123,
"external_id": "<string>"
}
headers = {
"Content-Type": "<content-type>",
"Payload-Signature": "<payload-signature>"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
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/status', 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/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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/status"
payload := strings.NewReader("{\n \"login\": \"<string>\",\n \"pass\": \"<string>\",\n \"cashout_id\": 123,\n \"external_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://api-stg.pandablue.com/v3/cashout/status")
.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/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.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": 0,
"cashout_status_description": "<string>",
"rejection_code": 800,
"rejection_reason": "<string>",
"provider_external_reference": "<string>",
"bank": {
"code": "<string>",
"name": "<string>",
"branch": "<string>",
"account": "<string>",
"beneficiary_name": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<string>"
}
}{
"code": 123,
"message": "<string>"
}{
"code": 123,
"message": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<string>"
}
}Headers
Body
application/json
Response
The status of the cashout was successfully retrieved.
Status code of the cashout.
- 0: PENDING - The cashout was accepted by eron but it wasn't sent to the bank yet. It can still be Canceled.
- 1: COMPLETED - The money reached the customer's account.
- 2: CANCELLED - The cashout was cancelled by you.
- 3: REJECTED - The cashout was rejected by the bank due to invalid bank account, account closed, etc.
- 4: DELIVERED - The cashout was sent to the bank for processing. At this point it can't be cancelled anymore.
- 5: ON HOLD - Cashout set to on hold by you. It won't be processed until manually changed again to Pending status.
Available options:
0, 1, 2, 3, 4, 5