Checkouts

Get a checkout

GET
/v2/checkouts/{id}

Path Parameters

id*string

Response Body

The checkout and the payments counted towards it.

application/json
  1. response
object?string
id?string
type?string
Value in"payment""donation"
status?string
Value in"open""paid""expired""disabled"
url?string
amount?string|null
suggested_amount?string|null
currency?string|null
amount_paid?string|null
amount_due?string|null
is_partial?boolean
assets?array<>
redirect_url?string|null
description?string|null
merchant_name?string|null
logo_url?string|null
tolerance_percent?string
metadata?

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

expires_at?|
Formatdate-time
paid_at?|
Formatdate-time
created_at?string
Formatdate-time
payments?array<>
Example Request
curl -X GET 'https://api.noncepay.app/v2/checkouts/string'
Example Response
{  "object": "checkout",  "id": "string",  "type": "payment",  "status": "open",  "url": "string",  "amount": "string",  "suggested_amount": "string",  "currency": "string",  "amount_paid": "string",  "amount_due": "string",  "is_partial": true,  "assets": [    {      "asset": "string",      "network": "ethereum"    }  ],  "redirect_url": "string",  "description": "string",  "merchant_name": "string",  "logo_url": "string",  "tolerance_percent": "string",  "metadata": {    "property1": "string",    "property2": "string"  },  "expires_at": "2019-08-24T14:15:22Z",  "paid_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "payments": [    {      "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"    }  ]}