8Pay
  • Introduction
  • Features
  • Chains
  • Payment flow
  • Sandbox Environment
  • Fees
  • Guides
    • Set up single payments
    • Set up recurring payments
    • Setup automatic buy (DCA) on Dex
  • Integrations
    • Overview
    • Short URLs
    • Buttons
      • One Time
      • Fixed Recurring
      • Variable Recurring
      • On Demand
    • Shopify
    • Woocommerce
    • Streaming Donations
    • JavaScript SDK
  • REST API
    • Overview
    • One Time
      • Payments
      • Transfers
      • Short Urls
    • Wallet to wallet
      • Payments
      • Transfers
    • Fixed Recurring
      • Plans
      • Subscriptions
      • Billings
      • Cancellations
      • Short Urls
      • Transfers
      • Webhook
    • Variable Recurring
      • Plans
      • Subscriptions
      • Billings
      • Cancellation Requests
      • Cancellations
      • Webhook
      • Transfers
      • Short Urls
    • On Demand
      • Plans
      • Subscriptions
      • Allowances
      • Billings
      • Cancellations
      • Webhook
      • Transfers
      • Short Urls
    • Scheduled Payments
      • Schedules
      • Executions
      • Cancellation
      • Transfers
    • Invest (DCA)
      • Strategies
      • Executions
      • Cancellation
    • Webhook Notifications
  • Webhook notifications
    • Overview
    • Events
      • One Time
      • Wallet-to-Wallet
      • Fixed Recurring
      • Variable Recurring
      • On Demand
  • Advanced Features
    • Gas Wallet
    • Autobiller
  • Appendix
    • Categories
    • Tokens
Powered by GitBook
On this page

Was this helpful?

  1. REST API
  2. On Demand

Transfers

Get a list of transfers

GET https://api.8pay.network/v1/:chain/on-demand/transfers

Path Parameters

Name
Type
Description

chain

string

Query Parameters

Name
Type
Description

planId

string

filter by plan

sender

string

filter by sender

receiver

string

filter by receiver

token

string

filter by token

from

number

filter by timestamp (default 0)

to

number

filter by timestamp (default current timestamp)

sort

string

asc or desc (default desc), sort based on timestamp

Headers

Name
Type
Description

Authorization

string

Bearer <api-key>

{
    "data": [
        {
            "description": "CarBook",
            "sender": "0x16F37b6c96C7038f3E4CDd7aAF9c9A8EC49c4EE7",
            "receiver": "0xe42fD8a58A82fDF624A8a94dA03a0e44F9934Dff",
            "amount": "5.5",
            "fee": "0.05",
            "token": "8PAY",
            "planId": "0x57b2059e526841b3dfd964144513359c9fcfd6d91040b6c47f589c1e032b6bf7",
            "subscriptionId": "0xe63ba761797e289076f80a7c0916a31740684806aaf507da85f81ee785fec6ba",
            "category": "Rents",
            "timestamp": 1582051910,
            "transactionHash": "0xfe335ee73fe51583a3549a71084f1e8e1d716b06052c0dd2bc864d15a5bb7555",
            "transactionStatus": "confirmed"
        }
    ],
    "limit": 100,
    "offset": 0,
    "total": 1
}
PreviousWebhookNextShort Urls

Last updated 2 years ago

Was this helpful?

chain identifier