Skip to main content
POST
/
orders
/
{id}
/
payments
/
{payment_id}
/
refund
Refund a payment
curl --request POST \
  --url https://api.arcuserp.com/v1/orders/{id}/payments/{payment_id}/refund \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 123,
  "reason": "duplicate"
}
'
{}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

API key issued per entity via Settings > Developers > API Keys. Each key carries scopes (e.g. orders:read, products:write). Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.

Path Parameters

id
string<uuid>
required

Order ID

payment_id
string<uuid>
required

Body

application/json
amount
integer

Refund amount in cents (Stripe-parity). Omit for full refund.

reason
enum<string>
Available options:
duplicate,
fraudulent,
customer_complaint,
other

Response

Refund created

The response is of type object.