Skip to main content
GET
/
payment
/
intents
/
{paymentIntentId}
/
refunds
/
{refundId}
Retrieve a refund
curl --request GET \
  --url https://api.orqex.com/v1/payment/intents/{paymentIntentId}/refunds/{refundId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "re_abc123",
    "amount": {
      "value": 5000,
      "formatted": "50.00 XOF",
      "short": "50 XOF",
      "currency": "XOF"
    },
    "reason": "<string>",
    "failure_code": "<string>",
    "failure_message": "<string>",
    "metadata": {},
    "completed_at": "<string>",
    "failed_at": "<string>",
    "created_at": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Project secret key, e.g. sk_live_..., sent as Authorization: Bearer sk_....

Path Parameters

paymentIntentId
string
required

Public payment intent id, e.g. TRX....

refundId
string
required

Response

OK

data
object