跳到正文

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

Dashboard

Retrieve a payment

GEThttps://api.acme.dev/v1/payments/:payment_id

认证

AuthorizationBearer

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

路径参数

payment_idstring必填

The ID of the payment.

响应

The payment.
idstring可选
objectenum可选
可选值:
amountinteger可选
currencystring可选
statusenum可选

Lifecycle state of the payment.

可选值:
customerobject可选
idstring可选
emailemail可选
namestring可选
addressobject可选
line1string可选
citystring可选
countrystring可选
created_atdatetime可选
refundslist of objects可选
idstring可选
amountinteger可选

错误