Skip to content

Instantly share code, notes, and snippets.

@bolaware
Last active February 8, 2019 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bolaware/afa972cbca782bbb942984ddec9f5262 to your computer and use it in GitHub Desktop.
Save bolaware/afa972cbca782bbb942984ddec9f5262 to your computer and use it in GitHub Desktop.
This is a typical json response for a successful and failed transaction that will be passed back to your activity.
{
"status": "Transaction successfully fetched",
"message": "Tx Fetched",
"data": {
"id": 27272462,
"txRef": "ref",
"orderRef": "URF_1549621287102_6793935",
"flwRef": "FLW117494557",
"redirectUrl": "https:\/\/rave-webhook.herokuapp.com\/receivepayment",
"device_fingerprint": "358240051111110",
"settlement_token": null,
"cycle": "one-time",
"amount": 120,
"charged_amount": 120,
"appfee": 1.68,
"merchantfee": 0,
"merchantbearsfee": 1,
"chargeResponseCode": "02",
"raveRef": "RV31549621285692729CEF5F12",
"chargeResponseMessage": "Kindly enter the OTP sent to *******9550 and k*******@aol.com. OR enter the OTP generated on your Hardware Token device.",
"authModelUsed": "GTB_OTP",
"currency": "NGN",
"IP": "41.86.149.34:57327",
"narration": "CARD Transaction ",
"status": "failed",
"modalauditid": "46251589b2a5e08a3a9402b170b3b536",
"vbvrespmessage": "Token Authentication Failed. Incorrect Token Supplied.",
"authurl": "N\/A",
"vbvrespcode": "RR",
"acctvalrespmsg": null,
"acctvalrespcode": null,
"paymentType": "card",
"paymentPlan": null,
"paymentPage": null,
"paymentId": "1130261",
"fraud_status": "ok",
"charge_type": "normal",
"is_live": 0,
"createdAt": "2019-02-08T10:21:27.000Z",
"updatedAt": "2019-02-08T10:21:45.000Z",
"deletedAt": null,
"customerId": 11751463,
"AccountId": 26140,
"customer.id": 11751463,
"customer.phone": null,
"customer.fullName": "Bolaji Kassim",
"customer.customertoken": null,
"customer.email": "kas@email.com",
"customer.createdAt": "2019-02-08T10:21:26.000Z",
"customer.updatedAt": "2019-02-08T10:21:26.000Z",
"customer.deletedAt": null,
"customer.AccountId": 26140,
"meta": [
],
"flwMeta": {
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment