Create a new payment link (Partner or Merchant authentication)
Create a new payment link (Partner or Merchant authentication)
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
Changed in 3 of the 8 revisions of this API.526
- ▲
the
order/currencyrequest property's minLength was increased from0to3request-property-min-length-increased
- ▲
added the pattern
^[A-Za-z]{3}$to the request propertyorder/currencyrequest-property-pattern-added
- ▲
added the pattern property
^(.*)$to themetadatarequest propertyrequest-property-pattern-property-added
- ▲
the
error/coderesponse's property type/format changed fromstring/to/for status400response-property-type-changed
- ●
the
order/currencyrequest property's maxLength was set to3request-property-max-length-set
- ●
removed the optional property
error/errorsfrom the response with the400statusresponse-optional-property-removed
- ○
added the new optional request property
order/test_transactionnew-optional-request-property
- ○
added the new optional request property
redirect_urlsnew-optional-request-property
- ○
the
localerequest property default valueenwas addedrequest-property-default-value-added
- ○
added the optional property
error/metadatato the response with the400statusresponse-optional-property-added
- ○
added
subschema #1subschema #2to theerror/coderesponse propertyallOflist for the response status400response-property-all-of-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 367 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲