POST
Merchant wallets/merchant-wallets/{merchantId}/qr-paymentCreate QR payment payload
Returns a serialized LuxPay QR payload for the selected merchant wallet.
Access tiermerchantRate limit60/minIdempotencynoneAuthenticationBearerAuth
Source
LuxApi/Modules/LuxPayIdentity/Http/Controllers/Api/MerchantWalletApiController.php::qrPaymentLuxPayProjects @ 146e98baa44eParameters
X-Request-IDheaderClient correlation identifier. LuxPay may generate one when omitted.
Example:req_01J...merchantIdpathMerchant/business identifier.
Example:10101Request body
QrPaymentRequestRequired
wallet_idinteger
JSON example
{
"wallet_id": 1
}Code examples
The displayed sandbox host is a placeholder until an official host is provisioned. Never paste a production token into a public browser.
curl --request POST \
--url 'https://sandbox-api.luxpay.example/v1/merchant-wallets/10101/qr-payment' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"wallet_id": 1
}'Responses
200Successful response.
statusboolean
Example:
truedataobject
{
"status": true,
"data": {
"qr_string": "string"
}
}