IPCola
  1. deposit
IPCola
  • User
    • user
      • send email VCode
      • get user info
      • user login
      • user register
      • get captcha
      • user reset password
    • balance
      • get user balance
    • deposit
      • deposit
        GET
      • coinbase(deprecated)
        GET
      • query deposit record
        POST
      • stripe(deprecated)
        GET
  • Rotation proxy
    • account
      • create new account
      • delete account
      • query account
      • update account
    • ip whitelist
      • add ip whitelist
      • delete ip whitelist
      • query ip whitelist
      • update ip whitelist
    • api proxy list
      • get proxy list for ip whitelist auth
    • price
      • query pay as you go price
      • query traffic package price
    • traffic package
      • buy traffic package
      • query traffic package
    • distribution
      • query rotation proxy distribution
    • proxy traffic
      • query daily traffic data
  • Static proxy
    • static direct proxy
      • buy static direct proxy
      • buy traffic
      • query static direct proxy
      • offline ip refund static direct proxy
      • online ip refund static direct proxy
      • renew
      • set ip whitelist
      • replace ip
    • static indirect proxy
      • buy static indirect proxy
      • buy traffic
      • query static transfer proxy
      • offline ip refund static transfer proxy
      • online ip refund static transfer proxy
      • renew
      • replace ip
    • distribution
      • query static indirect connect proxy distribution
      • query static direct connect proxy distribution
    • price
      • query static direct residential proxy price
      • query static direct datacenter proxy price
      • query static transfer residential proxy price
      • query static transfer datacenter proxy price
  • Common
    • public ip
      • get public ip
    • proxy address
      • query proxy address
  1. deposit

query deposit record

POST
/api/deposit/query
deposit
the amount in deposit record: amount / 1e12 => $, ex. 12000000000000 (12 zero) = $12.00

Request

Header Params
Authorization
string 
optional
Default:
Bearer {{AUTH_TOKEN}}
Body Params application/json
filter
object 
required
query condition
credit_type
string 
required
always "user_dollar"
start_date
string 
required
start date, format: 2023-01-10
end_date
string 
required
end date, format: 2023-02-10
limit
integer 
required
query quantity for pagination
offset
integer 
required
query offset for pagination
Example
{
  "filter": {
    "credit_type": "user_dollar",
    "end_date": "2023-06-30",
    "start_date": "2023-06-01"
  },
  "limit": 10,
  "offset": 0
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.ipcola.com/api/deposit/query' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "filter": {
        "credit_type": "user_dollar",
        "end_date": "2023-06-30",
        "start_date": "2023-06-01"
    },
    "limit": 10,
    "offset": 0
}'

Responses

🟢200result
application/json
Body
data
array [object {10}] 
optional
query result
amount
integer 
optional
amount / 1e12 => ,ex.12000000000000(12zero)=12.00
created_unixtime
integer 
optional
credit_type
string 
optional
id
integer 
optional
log
string 
optional
operator_id
integer 
optional
payment_id
integer 
optional
payment_type
string 
optional
for third-part payment
tag
string 
optional
user_id
integer 
optional
meta_message
string 
optional
success or other error msg
meta_status
integer 
optional
1 for success, negative for error
total_count
integer 
optional
total record quantity
Example
{
  "data": [
    {
      "amount": 0,
      "created_unixtime": 0,
      "credit_type": "string",
      "id": 0,
      "log": "string",
      "operator_id": 0,
      "payment_id": 0,
      "payment_type": "string",
      "tag": "string",
      "user_id": 0
    }
  ],
  "meta_message": "string",
  "meta_status": 0,
  "total_count": 0
}
Modified at 2023-06-16 04:17:15
Previous
coinbase(deprecated)
Next
stripe(deprecated)
Built with