Addresses

Get a payment

GET
/v2/payments/{id}

Path Parameters

id*string

Response Body

The payment.

application/json
  1. response
object?string
id?string
address_id?string
checkout_id?string|null
status?string
Value in"detected""confirmed""forwarded""below_minimum""failed""wrong_asset"
asset?string
network?string
amount?string
fee?string|null
network_fee?string|null
amount_forwarded?string|null
tx_hash?string
forward_tx_hashes?array<string>
confirmations?integer
required_confirmations?integer
metadata?

Up to 20 string values of at most 256 characters, echoed on the object and in every event.

detected_at?string
Formatdate-time
confirmed_at?|
Formatdate-time
Example Request
curl -X GET 'https://api.noncepay.app/v2/payments/string'
Example Response
{  "object": "payment",  "id": "string",  "address_id": "string",  "checkout_id": "string",  "status": "detected",  "asset": "string",  "network": "string",  "amount": "string",  "fee": "string",  "network_fee": "string",  "amount_forwarded": "string",  "tx_hash": "string",  "forward_tx_hashes": [    "string"  ],  "confirmations": 0,  "required_confirmations": 0,  "metadata": {    "property1": "string",    "property2": "string"  },  "detected_at": "2019-08-24T14:15:22Z",  "confirmed_at": "2019-08-24T14:15:22Z"}