Developers
Ask for a refund
POST
Records a Refund Request for one of the caller’s paid Invoices for the operator to handle. It moves no money; follow it with get_refund_status.
Send an Idempotency-Key to make retries safe: the same key with the same body returns the first result, with a different body 409.
header
AuthorizationBearer <token>An API Key the User creates in account settings, sent as Authorization: Bearer <key>. It holds the Scopes chosen at creation.
Idempotency-Key?stringA client key, unique per request.
Length
1 <= length <= 255application/json- body
message*stringLength
10 <= length <= 5000invoiceNo*stringLength
1 <= lengthSuccess.
application/json- response
id*stringkind*stringValue in
"general""refund"status*stringValue in
"open""resolved""declined"invoiceNo*string|nullmessage*stringuserResponse*string|nullcreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl -X POST 'https://ximagesplitter.com/api/v1/support/refund-requests' \
-H 'Content-Type: application/json' \
-d '{
"message": "stringstri",
"invoiceNo": "string"
}'Example response
{
"id": "string",
"kind": "general",
"status": "open",
"invoiceNo": "string",
"message": "string",
"userResponse": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}