API ReferencePayment links
Create a quote for a payment link
POST
header
x-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
id*stringFormat
uuidapplication/json- body
chainId*stringFormat
uuidsourceTokenAddress*stringMatch
^0x[0-9a-fA-F]{40}$customerId?stringFormat
uuidreference?stringLength
1 <= length <= 255meta?Response for status 201
application/json- response
id*stringFormat
uuidappId*stringFormat
uuidchainId*stringFormat
uuidpaymentLinkId*|Format
uuidcustomerId*|Format
uuidsourceTokenId*stringFormat
uuidtargetTokenId*stringFormat
uuidsourceUsdAmount*stringsourceAmount*stringMatch
^[0-9]+$Length
length <= 78targetAmount*stringMatch
^[0-9]+$Length
length <= 78targetUsdAmount*stringrate*stringuniswapPoolFeeTier*integer|nullreference*string|nullmeta*|nullexpiresAt*stringFormat
date-timecreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl -X POST 'https://testnet.usekite.site/api/payment-links/497f6eca-6276-4993-bfeb-53cbbbba6f08/pay' \ -H 'Content-Type: application/json' \ -d '{ "chainId": "9e7fb22a-9e5b-420e-8fd7-e3454fcfd5fd", "sourceTokenAddress": "string"}'Example Response201
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "chainId": "9e7fb22a-9e5b-420e-8fd7-e3454fcfd5fd", "paymentLinkId": "65854dcb-f544-4848-b04d-cccad43b01a8", "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac", "sourceTokenId": "dfe833b7-a2d6-4d29-ad49-5503dba9d33b", "targetTokenId": "9e1bf350-d170-4c02-b746-e67c80e89e31", "sourceUsdAmount": "string", "sourceAmount": "string", "targetAmount": "string", "targetUsdAmount": "string", "rate": "string", "uniswapPoolFeeTier": 0, "reference": "string", "meta": {}, "expiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}