Saltar para o conteúdo principal
GET
/
v1
/
payment_links
/
{id}
/
transactions
Get Transactions
curl --request GET \
  --url https://api.blockradar.co/v1/payment_links/{id}/transactions \
  --header 'x-api-key: <api-key>'
{
  "status": true,
  "message": "Transactions fetched successfully",
  "data": [
    {
      "id": "0d7a0b98-943c-48d0-8baa-216c29956050",
      "reference": "bjXPk7d00",
      "senderAddress": "0x451dEFC27B45808078e875556AF06bCFdC697BA4",
      "recipientAddress": "0x9D8dF15628B737CAf63a92Abd8E8bb304210eA94",
      "amount": "100.00",
      "amountUSD": "100.00",
      "status": "SUCCESS",
      "type": "DEPOSIT",
      "confirmed": true,
      "createdAt": "2025-01-15T10:30:00.000Z",
      "updatedAt": "2025-01-15T10:35:00.000Z",
      "asset": {
        "id": "3a18a31a-86ad-44a0-9b9c-cdb69d535c64",
        "name": "USD Coin",
        "symbol": "USDC",
        "decimals": 6
      },
      "blockchain": {
        "id": "28a730d3-211b-40f7-bb8f-dd589dcc738e",
        "name": "base",
        "symbol": "eth",
        "slug": "base"
      },
      "customer": {
        "email": "[email protected]",
        "name": "John Doe"
      }
    }
  ],
  "meta": {
    "page": 1,
    "limit": 10,
    "total": 25,
    "totalPages": 3
  }
}

Autorizações

x-api-key
string
header
obrigatório

Parâmetros de caminho

id
string
obrigatório

The ID of the payment link

Parâmetros de consulta

page
integer
padrão:1

Page number for pagination

limit
integer
padrão:10

Number of results per page

status
enum<string>

Filter by transaction status

Opções disponíveis:
SUCCESS,
PENDING,
FAILED
type
enum<string>

Filter by transaction type

Opções disponíveis:
DEPOSIT
order
enum<string>
padrão:DESC

Sort order for results

Opções disponíveis:
ASC,
DESC

Resposta

Transactions fetched successfully

status
boolean
Exemplo:

true

message
string
Exemplo:

"Transactions fetched successfully"

data
object[]
meta
object