GET
/
v1
/
request
/
{paymentReference}
Get request status
curl --request GET \
  --url https://api.request.network/v1/request/{paymentReference} \
  --header 'x-api-key: <x-api-key>'
{
  "hasBeenPaid": true,
  "paymentReference": "0xb3581f0b0f74cc61",
  "requestId": "01e273ecc29d4b526df3a0f1f05ffc59372af8752c2b678096e49ac270416a7cdb",
  "isListening": false,
  "txHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}

Headers

x-api-key
string
required

API key for authentication

Path Parameters

paymentReference
string
required

The payment reference of the request

Example:

"0xb3581f0b0f74cc61"

Response

Request status retrieved successfully

hasBeenPaid
boolean

Whether the request has been paid or not

paymentReference
string

The payment reference of the request

Example:

"0xb3581f0b0f74cc61"

requestId
string

The request ID of the request

Example:

"01e273ecc29d4b526df3a0f1f05ffc59372af8752c2b678096e49ac270416a7cdb"

isListening
boolean

Whether the request is listening for a payment

txHash
string | null

The transaction hash of the payment