Get Payment Details
To check the status of a payment using the received reference ID, send a request to the following link. Possible statuses are as follows
OPEN: The payment has not been processed yet.
CANCELED: The payment link has expired.
FILLED: The user has made the requested payment amount.
PARTIALLY_FILLED: The user has made a payment less than the requested amount.
OVER_FILLED: The user has made a payment exceeding the requested amount.
curl --location https://yourdomain.com/api/v1/payment/reference/b233fe9a-2387-4279-aa39-ddea0ab7bba1
{
"amount": "35",
"blockchain_symbol": "ETH",
"cancel_url": "abc",
"created_at": "2024-05-24T10:44:08.469147221Z",
"currency_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"currency_decimals": 6,
"currency_desc": null,
"currency_name": "ethereum",
"currency_symbol": "USDC",
"customer_id": "104755546182221158537",
"deposit_address": "0x8e25fE332188B027aD2119906eD1e3954195ED1a",
"filled_amount": "",
"filled_amount_in_usd": "",
"invoice_id": "1716559699",
"merchant_name": "Merchant Name",
"payment_state": "OPEN",
"reference_id": "2618e325-b533-447c-b203-98cb9c6a8665",
"success_url": "https://www.coinpaymentsuk.com/usdc_check_payment.php"
}
Last updated