API ReferencePayment links
Update a payment link
PATCH
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
title?stringLength
1 <= length <= 200currency?stringLength
2 <= length <= 10amount?stringMatch
^(?:0|[1-9][0-9]{0,19})(?:\.[0-9]{1,18})?$usage?stringValue in
"OneTime""Reusable"lineItems?array<>reference?stringLength
1 <= length <= 255meta?returnUrl?|Match
^https?://Format
uriLength
length <= 2048Response for status 200
application/json- response
id*stringFormat
uuidappId*stringFormat
uuidtitle*stringcurrency*stringamount*stringusage*stringValue in
"OneTime""Reusable"lineItems*array<>|nullreference*string|nullmeta*|nullreturnUrl*string|nullcreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl -X PATCH 'https://testnet.usekite.site/api/payment-links/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response200
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "title": "string", "currency": "string", "amount": "string", "usage": "OneTime", "lineItems": [ { "image": "string", "name": "string", "price": "string", "quantity": 0 } ], "reference": "string", "meta": {}, "returnUrl": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}