Created
November 13, 2019 19:06
-
-
Save bosunski/6f0b961f5b4e091defbbd0847b94f1f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"event": "charge.success", | |
"data": { | |
"id": 84, | |
"domain": "test", | |
"status": "success", | |
"reference": "9cfbae6e-bbf3-5b41-8aef-d72c1a17650g", | |
"amount": 50000, | |
"message": null, | |
"gateway_response": "Approved", | |
"paid_at": "2018-12-20T15:00:06.000Z", | |
"created_at": "2018-12-20T15:00:05.000Z", | |
"channel": "card", | |
"currency": "NGN", | |
"ip_address": null, | |
"metadata": {"order":[{"delivery_address":"Asdfg hvftfhbhb","price":5721,"quantity":1,"user_id":13,"product":{"id":1,"vendor_id":1}},{"delivery_address":"Asdfg hvftfhbhb","price":1779,"quantity":1,"user_id":13,"product":{"id":2,"vendor_id":1}},{"delivery_address":"Asdfg hvftfhbhb","price":4073,"quantity":1,"user_id":13,"product":{"id":5,"vendor_id":1}},{"delivery_address":"Asdfg hvftfhbhb","price":5960,"quantity":1,"user_id":13,"product":{"id":14,"vendor_id":2}},{"delivery_address":"Asdfg hvftfhbhb","price":3049,"quantity":1,"user_id":13,"product":{"id":29,"vendor_id":3}},{"delivery_address":"Asdfg hvftfhbhb","price":9406,"quantity":1,"user_id":13,"product":{"id":25,"vendor_id":3}},{"delivery_address":"Asdfg hvftfhbhb","price":3538,"quantity":1,"user_id":13,"product":{"id":27,"vendor_id":3}},{"delivery_address":"Asdfg hvftfhbhb","price":7378,"quantity":1,"user_id":13,"product":{"id":44,"vendor_id":5}},{"delivery_address":"Asdfg hvftfhbhb","price":7108,"quantity":1,"user_id":13,"product":{"id":32,"vendor_id":4}},{"delivery_address":"Asdfg hvftfhbhb","price":6832,"quantity":1,"user_id":13,"product":{"id":35,"vendor_id":4}},{"delivery_address":"Asdfg hvftfhbhb","price":5031,"quantity":1,"user_id":13,"product":{"id":58,"vendor_id":6}},{"delivery_address":"Asdfg hvftfhbhb","price":7042,"quantity":1,"user_id":13,"product":{"id":60,"vendor_id":6}},{"delivery_address":"Asdfg hvftfhbhb","price":3504,"quantity":1,"user_id":13,"product":{"id":54,"vendor_id":6}},{"delivery_address":"Asdfg hvftfhbhb","price":3870,"quantity":1,"user_id":13,"product":{"id":51,"vendor_id":6}}],"referrer":"http://localhost:8080/cart"}, | |
"log": null, | |
"fees": 750, | |
"fees_split": null, | |
"authorization": { | |
"authorization_code": "AUTH_9246d0h9kl", | |
"bin": "408408", | |
"last4": "4081", | |
"exp_month": "12", | |
"exp_year": "2020", | |
"channel": "card", | |
"card_type": "visa DEBIT", | |
"bank": "Test Bank", | |
"country_code": "NG", | |
"brand": "visa", | |
"reusable": true, | |
"signature": "SIG_iCw3p0rsG7LUiQwlsR3t" | |
}, | |
"customer": { | |
"id": 4670376, | |
"first_name": "Asample", | |
"last_name": "Personpaying", | |
"email": "[email protected]", | |
"customer_code": "CUS_00w4ath3e2ukno4", | |
"phone": "", | |
"metadata": null, | |
"risk_action": "default" | |
}, | |
"plan": { | |
"id": 17, | |
"name": "A s(i/a)mple plan", | |
"plan_code": "PLN_dbam2fwcqkyyfjc", | |
"description": "Sample plan for docs", | |
"amount": 50000, | |
"interval": "hourly", | |
"send_invoices": true, | |
"send_sms": true, | |
"currency": "NGN" | |
}, | |
"subaccount": {}, | |
"paidAt": "2018-12-20T15:00:06.000Z" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment