跳到正文

Acme API v2024-06 is live — see the changelog for what changed.

Dashboard

Create a refund

POSThttps://api.acme.dev/v1/refunds

认证

AuthorizationBearer

Use your secret key, e.g. sk_live_….

请求

该接口需要一个对象。
paymentstring必填

ID of the payment to refund.

amountinteger可选

Amount in cents. Defaults to the full amount.

reasonenum可选
可选值:

响应

The refund.
idstring可选
statusenum可选
可选值: