Payment Links
Create a new payment link (Partner or Merchant authentication)
Changed onCreate a new payment link (Partner or Merchant authentication)
post/api/v1/payment-links
Request
- Base URLhttps://core.quidkey.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"order": {
"amount": 1000,
"currency": "GBP",
"payment_reference": "Invoice #123",
"order_id": "ORD-123456",
"locale": "en",
"test_transaction": true
},
"redirect_urls": {
"success_url": "https://example.com/payment/success",
"failure_url": "https://example.com/payment/failure"
}
}Response
Created
Example response
{
"success": true,
"data": {
"payment_link_url": "https://core.quidkey.com/payment-link/a1b2c3d4e5f6..."
}
}Changes
- breaking
the
/request property's minLength was increased from0to3 - breaking
added the pattern
^[A-Za-z]{3}$to the request property/ - breaking
added the pattern property
^(.*)$to therequest property - breaking
the
/response's property type changed fromstringto no type for status - warning
the
/request property's maxLength was set to3 - warning
removed the optional property
/from the response with the status - info
added the new optional request property
/ - info
added the new optional request property
- info
the
request property default valueenwas added - info
added the optional property
/to the response with the status - info
added
subschema #1subschema #2to the/response propertyallOflist for the response status
- breaking
- info
endpoint added
- info