reports that a QR code has been scanned by the partner app, obtain payment instructions specific to the wallet
post/scan
Request body
Example request
{
"scan_id": "scanId-6c54-4b01-90e6-d701748f0851",
"transaction_id": "transactionId-6c54-4b01-90e6-d701748f0851",
"time": "2023-03-08T13:37:00Z",
"device_id": "deviceId-6c54-4b01-90e6-d701748f0851",
"user_id": "userId-6c54-4b01-90e6-d701748f0851",
"scan_data": "00020126530023za.co.electrum.picknpay0122fom7Ku0aQ9SvG+svh4xVPQ530371054041.23630428E5",
"allowed_payment_methods": [
"lightning"
],
"payment_currencies": [
"BTC"
],
"payment_reference": "customer123",
"requested_payment_amount": {
"currency": "BTC",
"denomination": "sats",
"amount": 123.45
}
}Response
scan has been successfully processed
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"
}