Refunds
Create a refund session
Changed onCreate a refund session
post/api/v1/refund-session
Request
- Base URLhttps://core.quidkey.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"merchant_id": "550e8400-e29b-41d4-a716-446655440000",
"id": "JM1YXF4yUe0vmo-FHsgVK3ZC",
"gid": "gid://shopify/RefundSession/JM1YXF4yUe0vmo-FHsgVK3ZC",
"payment_id": "rSOX4QcIGECb4ZEydY8GgMTfO",
"amount": "1.00",
"currency": "GBP",
"merchant_locale": "en",
"proposed_at": "2025-02-21T11:17:05Z",
"test": true
}Response
Success
Changes
- breaking
the
request property's minLength was increased from0to3 - breaking
added the pattern
^[A-Za-z]{3}$to the request 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 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