MB Wallet Developers
API referenceV1Refunds

/v1/refunds

POST/v1/refunds

[checkout_api] propose a refund → pending (never posts; RF-2 owns ledger)

Security: gated; the registry declares no role list for this surface.

Header Parameters

Idempotency-Key*string

Client-supplied idempotency key. Required on every registry-idempotent door.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/refunds" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "payment": "string",    "amount": 0  }'
{  "id": "string",  "object": "refund",  "amount": 0,  "currency": "string",  "status": "string",  "payment": "string",  "created": 0}