Addresses
Get a payment
GET
id*stringThe payment.
application/json- response
object?stringid?stringaddress_id?stringcheckout_id?string|nullstatus?stringValue in
"detected""confirmed""forwarded""below_minimum""failed""wrong_asset"asset?stringnetwork?stringamount?stringfee?string|nullnetwork_fee?string|nullamount_forwarded?string|nulltx_hash?stringforward_tx_hashes?array<string>confirmations?integerrequired_confirmations?integermetadata?Up to 20 string values of at most 256 characters, echoed on the object and in every event.
detected_at?stringFormat
date-timeconfirmed_at?|Format
date-timecurl -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"}Recover a payment sent on the wrong network POST
A customer sent a token to `deposit_address` on another network of the same key family (USDC on Ethereum to an address created for `bsc`). The transfer is checked on chain and credited to the address's own destination, minus the usual fee. Refused when a destination is a contract wallet that does not exist on the payment's network. 5 per IP per hour.
Create a checkout POST
A hosted payment page; send the customer to its `url`. `success_token` is returned here only.