List cash-ins
curl --request GET \
--url https://sandbox-api.polygon.technology/v0.10/cash-ins \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox-api.polygon.technology/v0.10/cash-ins"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox-api.polygon.technology/v0.10/cash-ins', 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://sandbox-api.polygon.technology/v0.10/cash-ins",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox-api.polygon.technology/v0.10/cash-ins"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox-api.polygon.technology/v0.10/cash-ins")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.polygon.technology/v0.10/cash-ins")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"cash": {
"locationId": "<string>",
"locationReference": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"customerId": "<string>",
"destination": {
"amountGross": "<string>",
"amountNet": "<string>",
"asset": "<string>",
"feesDeducted": {
"developer": "<string>",
"gas": "<string>",
"oms": "<string>",
"total": "<string>"
},
"network": "<string>",
"wallet": {
"blockchainAddress": "<string>",
"externalAccount": "<string>",
"id": "<string>"
}
},
"id": "<string>",
"location": {
"address": "<string>",
"name": "<string>"
},
"source": {
"asset": "<string>",
"amount": "<string>",
"amountGross": "<string>",
"amountNet": "<string>",
"email": "<string>",
"feesDeducted": {
"developer": "<string>",
"gas": "<string>",
"oms": "<string>",
"total": "<string>"
},
"indicatedAmount": "<string>",
"network": "<string>"
},
"updatedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"depositInstructions": {
"code": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"locationAddress": "<string>",
"locationName": "<string>"
},
"developerFees": [
{
"amount": "<string>",
"flatFee": "<string>",
"id": "<string>",
"percentage": "<string>",
"wallet": "<string>"
}
],
"metadata": {},
"object": "cashIn",
"omsFeeSchedule": {
"entries": [
{
"type": "<string>",
"amount": "<string>",
"rate": "<string>"
}
],
"feeCurrency": "<string>"
},
"rates": {
"effectiveRate": "<string>",
"exchangeRate": "<string>",
"pair": "<string>"
},
"sponsorGas": true,
"sponsorGasCost": "<string>",
"transactionId": "<string>"
}
],
"hasMore": true,
"nextCursor": "<string>"
}Cash-In
List cash-ins
Returns a paginated list of cash-ins, optionally filtered by customer,
status, type, date range, or free-text search. Results are ordered
newest-first. Date filters createdAfter and createdBefore are inclusive,
matching GET /transactions.
GET
/
cash-ins
List cash-ins
curl --request GET \
--url https://sandbox-api.polygon.technology/v0.10/cash-ins \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox-api.polygon.technology/v0.10/cash-ins"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox-api.polygon.technology/v0.10/cash-ins', 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://sandbox-api.polygon.technology/v0.10/cash-ins",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox-api.polygon.technology/v0.10/cash-ins"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox-api.polygon.technology/v0.10/cash-ins")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.polygon.technology/v0.10/cash-ins")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"cash": {
"locationId": "<string>",
"locationReference": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"customerId": "<string>",
"destination": {
"amountGross": "<string>",
"amountNet": "<string>",
"asset": "<string>",
"feesDeducted": {
"developer": "<string>",
"gas": "<string>",
"oms": "<string>",
"total": "<string>"
},
"network": "<string>",
"wallet": {
"blockchainAddress": "<string>",
"externalAccount": "<string>",
"id": "<string>"
}
},
"id": "<string>",
"location": {
"address": "<string>",
"name": "<string>"
},
"source": {
"asset": "<string>",
"amount": "<string>",
"amountGross": "<string>",
"amountNet": "<string>",
"email": "<string>",
"feesDeducted": {
"developer": "<string>",
"gas": "<string>",
"oms": "<string>",
"total": "<string>"
},
"indicatedAmount": "<string>",
"network": "<string>"
},
"updatedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"depositInstructions": {
"code": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"locationAddress": "<string>",
"locationName": "<string>"
},
"developerFees": [
{
"amount": "<string>",
"flatFee": "<string>",
"id": "<string>",
"percentage": "<string>",
"wallet": "<string>"
}
],
"metadata": {},
"object": "cashIn",
"omsFeeSchedule": {
"entries": [
{
"type": "<string>",
"amount": "<string>",
"rate": "<string>"
}
],
"feeCurrency": "<string>"
},
"rates": {
"effectiveRate": "<string>",
"exchangeRate": "<string>",
"pair": "<string>"
},
"sponsorGas": true,
"sponsorGasCost": "<string>",
"transactionId": "<string>"
}
],
"hasMore": true,
"nextCursor": "<string>"
}Authorizations
Token from POST /auth/token
Query Parameters
Direction of value across rails: cryptoToCrypto, fiatToCrypto, or cryptoToFiat. Retained for resources not yet on the SourceToDestination shape (deposit address, onramp/cash-in, customer filters).
Available options:
cryptoToCrypto, fiatToCrypto, cryptoToFiat Free-text search. Matches cash-in id, customer id, or customer email.
Alias for search.
Was this page helpful?
⌘I