Developers

Ask for a refund

POST
/support/refund-requests

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.

Authorization

headerAuthorizationBearer <token>

An API Key the User creates in account settings, sent as Authorization: Bearer <key>. It holds the Scopes chosen at creation.

Header Parameters

Idempotency-Key?string

A client key, unique per request.

Length1 <= length <= 255

Request Body

application/json
  1. body
message*string
Length10 <= length <= 5000
invoiceNo*string
Length1 <= length

Response Body

Success.

application/json
  1. response
id*string
kind*string
Value in"general""refund"
status*string
Value in"open""resolved""declined"
invoiceNo*string|null
message*string
userResponse*string|null
createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
Example request
curl -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"
}