Skip to main content
POST
/
order
/
{order_id}
/
refund-action
Confirm refund action for an order in refund_required state
curl --request POST \
  --url https://api.privataswap.com/partner/v1/order/{order_id}/refund-action \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{}'
{
  "error": {
    "message": "<string>",
    "request_id": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.privataswap.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Partner API key issued in the dashboard. Use pk_live_... in production, pk_test_... against sandbox.

Path Parameters

order_id
string
required

Body

application/json
action
enum<string>
required
Available options:
refund_to_address,
convert_to_stable
stable_target
enum<string> | null

Required when action=convert_to_stable.

Available options:
USDT-TRC20,
USDT-ERC20,
USDC-ERC20,
USDC-SOL,
null

Response

Accepted