curl -X GET https://juadah-backend.vercel.app/api/products/payments/66e4fa55-fdac-4ef9-91b5-733b97d1b862 \
-H "Cookie: accessToken=your_access_token"
{
"status": "success",
"data": {
"order_id": "66e4fa55-fdac-4ef9-91b5-733b97d1b862",
"transaction_id": "d4e86f7c-3e4d-4f5e-8c3b-9a2b1c0d8e7f",
"transaction_status": "settlement",
"product_id": 1,
"product_name": "Kue Bolu",
"total_price": "50000",
"completed_at": 1709456789000,
"created_at": 1709456123000
}
}
Retrieves the current status and details of a payment order
curl -X GET https://juadah-backend.vercel.app/api/products/payments/66e4fa55-fdac-4ef9-91b5-733b97d1b862 \
-H "Cookie: accessToken=your_access_token"
{
"status": "success",
"data": {
"order_id": "66e4fa55-fdac-4ef9-91b5-733b97d1b862",
"transaction_id": "d4e86f7c-3e4d-4f5e-8c3b-9a2b1c0d8e7f",
"transaction_status": "settlement",
"product_id": 1,
"product_name": "Kue Bolu",
"total_price": "50000",
"completed_at": 1709456789000,
"created_at": 1709456123000
}
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/zulfikarrosadi/juadah-backend/llms.txt
Use this file to discover all available pages before exploring further.
Show properties
pending - Payment is awaiting completioncapture - Payment has been captured (credit card)settlement - Payment has been settleddeny - Payment was deniedcancel - Payment was cancelledexpire - Payment expiredfailure - Payment failedrefund - Payment was refundedpartial_refund - Payment was partially refundedauthorize - Payment is authorized but not capturednull if not yet completedcurl -X GET https://juadah-backend.vercel.app/api/products/payments/66e4fa55-fdac-4ef9-91b5-733b97d1b862 \
-H "Cookie: accessToken=your_access_token"
{
"status": "success",
"data": {
"order_id": "66e4fa55-fdac-4ef9-91b5-733b97d1b862",
"transaction_id": "d4e86f7c-3e4d-4f5e-8c3b-9a2b1c0d8e7f",
"transaction_status": "settlement",
"product_id": 1,
"product_name": "Kue Bolu",
"total_price": "50000",
"completed_at": 1709456789000,
"created_at": 1709456123000
}
}
order_id must be a valid UUID that was returned from the “Request Order Token” endpointcompleted_at field is only populated when transaction_status is settlement or capturetotal_price is returned as a string to preserve decimal precision