GET
/
requests
/
{requestId}
curl --request GET \
  --url https://api.pipevest.com/v1/requests/{requestId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Signature: <signature>' \
  --header 'Signature-Input: <signature-input>' \
  --header 'X-Client-Id: <x-client-id>'
{
  "data": {
    "requestId": 123456,
    "instrumentId": 123456,
    "customerId": 123456,
    "symbol": "APPL",
    "requestType": "PURCHASE",
    "status": "PENDING",
    "currency": "ZK",
    "isRecurring": false,
    "schedule": "ONCE",
    "purchaseAmount": 1550,
    "createdAt": 1234567890,
    "updatedAt": 1234567890
  },
  "code": 200,
  "message": "Success"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Signature
string
required

Base64 encoded signed hash of the http message request components.

Learn how signatures work

Example:

"sig1=:OTEyMjY4...A5NTNDMEQ=:"

Signature-Input
string
required

An ordered list of components that make up the signature base. It is used to recompute and verify the Signature

Learn how signatures work

Example:

"sig1=(\"Content-Type\" \"Content-Digest\" \"Content-Length\" \"Authorization\" \"X-Client-Id\" \"X-Idempotency-Key\" \"@method\" \"@target-uri\" \"@path\" \"@query\");keyid=\"staging-pipevest-ed25519\";created=1732893484;expires=1732893584"

X-Client-Id
string
required

Unique identifier assigned to the client

Example:

"client-id"

Path Parameters

requestId
integer
required

the request id

Response

200
application/json

Deails of a customer instrument request

The response is of type object.