Kite
API Referencex402

Payment requirements for a transfer

GET
/api/x402/transfer/{id}/requirements

Authorization

headerx-kite-signature<token>

Base64url Ed25519 signature of timestamp nonce METHOD path?query sha256(body), sent with x-kite-api-key-id, x-kite-timestamp and x-kite-nonce

Path Parameters

id*string
Formatuuid

Response Body

Response for status 200

application/json
  1. response
scheme*string
network*string
asset*string
Match^0x[0-9a-fA-F]{40}$
amount*string
Match^[0-9]+$
Lengthlength <= 78
payTo*string
Match^0x[0-9a-fA-F]{40}$
maxTimeoutSeconds*integer
extra*
Example Request
curl -X GET 'https://testnet.usekite.site/api/x402/transfer/497f6eca-6276-4993-bfeb-53cbbbba6f08/requirements'
Example Response200
{  "scheme": "exact",  "network": "string",  "asset": "string",  "amount": "string",  "payTo": "string",  "maxTimeoutSeconds": 0,  "extra": {    "name": "string",    "version": "string"  }}