gets the latest payment request status
get/payment_requests/{id}
Request
- Base URL//api.cryptoqr.net/scanner/v1 (relative, and the document’s source URL is not known)
- AuthAPI key in header X-API-Key
Path parameters
idstring required
Payment request ID provided during /scan POST request (e.g. paymentRequestID-6c54-4b01-90e6-d701748f0851)
Response
payment request status has been successfully retrieved
Example response
{
"id": "paymentRequest-6c54-4b01-90e6-d701748f0851",
"created_at": "2023-03-08T13:37:00Z",
"amount_cents": 100,
"currency": "ZAR",
"payment_methods": {
"lightning": "lnbc901..."
},
"expiry_time": "2023-03-08T13:37:00Z",
"merchant_name": "Pick n Pay",
"merchant_code": "pnp",
"order_description": "Groceries"
}Changes
No recorded changes to this operation across all 1 revision of this API.