Jèko
Escrows

Refund escrow (Partner API)

POST
/partner_api/escrows/{id}/refund

Refunds a held escrow to the original payer.

Principal leaves the escrow wallet via the PSP change path. Partner GET /transactions stays empty for this job.

Access: platform key only.

Authorization

ApiKey ApiKeyId
X-API-KEY<token>

In: header

X-API-KEY-ID<token>

In: header

Path Parameters

id*string

Escrow identifier

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/partner_api/escrows/497f6eca-6276-4993-bfeb-53cbbbba6f08/refund"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "storeId": "b8adcdc8-9238-4168-90f8-77b2d14c211c",  "status": "pending",  "holdUntil": "2019-08-24T14:15:22Z",  "amount": {    "amount": 0,    "currency": "string"  },  "createdAt": "2019-08-24T14:15:22Z",  "collect": {    "type": "payment_request",    "status": "pending",    "errorReason": "string",    "reference": "string",    "redirectUrl": "string",    "link": "string",    "amount": {      "amount": 0,      "currency": "string"    },    "fees": {      "amount": 0,      "currency": "string"    },    "paymentMethod": "string",    "counterpartIdentifier": "string"  },  "release": {    "amount": {      "amount": 0,      "currency": "string"    },    "fees": {      "amount": 0,      "currency": "string"    },    "autoRelease": true  },  "refund": {    "status": "pending",    "amount": {      "amount": 0,      "currency": "string"    },    "fees": {      "amount": 0,      "currency": "string"    },    "paymentMethod": "string",    "counterpartIdentifier": "string"  }}