Verify Payments
Verify Payments
How to verify payments
From Popup or Mobile SDKs
From the Redirect API
curl https://api.lahza.io/transaction/verify/:reference
-H "Authorization: Bearer YOUR_SECRET_KEY"
-X GET{
"status": true,
"message": "Verification successful",
"data": {
"id": 690075529,
"domain": "test",
"status": "success",
"reference": "XXXXX",
"amount": 10000,
"message": "Approval",
"gateway_response": "Successful",
"paid_at": "2023-01-1T12:30:56.000Z",
"created_at": "2023-01-1T12:26:44.000Z",
"channel": "card",
"currency": "ILS",
"ip_address": "XXXX",
"metadata": "",
"log": {
"start_time": 1589891451,
"time_spent": 6,
"attempts": 1,
"errors": 0,
"success": true,
"mobile": false,
"input": [],
"history": [
{
"type": "action",
"message": "Attempted to pay with card",
"time": 5
},
{
"type": "success",
"message": "Successfully paid with card",
"time": 6
}
]
},
"fees": 100,
"authorization": {
"authorization_code": "AUTH_xxxxxxxxxx",
"bin": "408112",
"last4": "1000",
"exp_month": "12",
"exp_year": "2028",
"channel": "card",
"card_type": "visa DEBIT",
"bank": "Test Bank",
"country_code": "PS",
"brand": "visa",
"reusable": true,
"signature": "SIG_xxxxxxxxxxxxxxx",
"account_name": null
},
"customer": {
"id": 24259516,
"first_name": null,
"last_name": null,
"email": "[email protected]",
"customer_code": "CUS_xxxxxxxxxxx",
"phone": null,
"metadata": null,
"risk_action": "default"
}
}
}Charge returning Users
Last updated