跳转到内容

Query payment

请求

安全
InfiniHmac
查询
payment_idstring, (string)

Payment ID

标头
Datestring

GMT server time (e.g. Tue, 21 Jan 2025 12:00:00 GMT). Required for every request.

Authorizationstring

HMAC-SHA256 Signature header. See the Authentication guide.

curl -i -X GET \
  -u '<username>:<password>' \
  'https://developer.infini.money/_mock/zh/apis/acquiring/payment?payment_id=string' \
  -H 'Authorization: string' \
  -H 'Date: string'

响应

正文application/json
payment_idstring, (string)
merchant_idstring, (string)
payment_methodinteger, (int)
payment_addressstring, (string)
networkstring, (string)
due_amountobject(github.com.shopspring.decimal.Decimal)
pay_currencystring, (string)
amount_confirmedobject(github.com.shopspring.decimal.Decimal)
amount_confirmingobject(github.com.shopspring.decimal.Decimal)
quoted_token_price_usdcobject(github.com.shopspring.decimal.Decimal)
statusstring, (string)
expires_atinteger, (int64)
metadatastring, (string)
created_atinteger, (int64)
updated_atinteger, (int64)
transactionsArray of objects(github.com.infini-money.infini-services-go.app.infini-payment-service.api.payment.v1.PaymentTransaction)

Related transactions

amount_statusstring, (string)
exception_tagArray of strings, (string)
crypto_amountobject(github.com.shopspring.decimal.Decimal)
channel_feeobject(github.com.shopspring.decimal.Decimal)
order_currencystring, (string)

Order currency

due_amount_fiatobject(github.com.shopspring.decimal.Decimal)
amount_confirmed_fiatobject(github.com.shopspring.decimal.Decimal)
amount_confirming_fiatobject(github.com.shopspring.decimal.Decimal)
order_amountobject(github.com.shopspring.decimal.Decimal)
响应
{ "payment_id": "string", "merchant_id": "string", "payment_method": 0, "payment_address": "string", "network": "string", "due_amount": {}, "pay_currency": "string", "amount_confirmed": {}, "amount_confirming": {}, "quoted_token_price_usdc": {}, "status": "string", "expires_at": 0, "metadata": "string", "created_at": 0, "updated_at": 0, "transactions": [ { … } ], "amount_status": "string", "exception_tag": [ "string" ], "crypto_amount": {}, "channel_fee": {}, "order_currency": "string", "due_amount_fiat": {}, "amount_confirmed_fiat": {}, "amount_confirming_fiat": {}, "order_amount": {} }