Created
April 6, 2018 01:24
-
-
Save leofischer/67753cc43b18255444062e1fea4bf4c0 to your computer and use it in GitHub Desktop.
Example Order with Oxxpay barcode
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
{ | |
"livemode": true, | |
"amount": 27300, | |
"currency": "MXN", | |
"payment_status": "pending_confirmation", | |
"amount_refunded": 0, | |
"customer_info": { | |
"email": "[email protected]", | |
"phone": "55-5555-5555", | |
"name": "Leo Fischer", | |
"object": "customer_info" | |
}, | |
"object": "order", | |
"id": "ord_2iM1ZZ3NP3KwJjZ", | |
"created_at": 1522811579, | |
"updated_at": 1522811814, | |
"line_items": { | |
"object": "list", | |
"has_more": false, | |
"total": 1, | |
"data": [{ | |
"name": "Installment payment", | |
"unit_price": 27300, | |
"quantity": 1, | |
"object": "line_item", | |
"id": "line_item_2iM1ZZ3NP3KwJjZoR", | |
"parent_id": "ord_2iM1ZZ3NP3KwJjZoT", | |
"metadata": {} | |
}] | |
}, | |
"charges": { | |
"object": "list", | |
"has_more": false, | |
"total": 1, | |
"data": [{ | |
"id": "5ac442bbffecf970dc622c", | |
"livemode": true, | |
"created_at": 1522811579, | |
"currency": "MXN", | |
"payment_method": { | |
"service_name": "OxxoPay", | |
"barcode_url": "https://s3.amazonaws.com/cash_payment_barcodes/85000021637721.png", | |
"object": "cash_payment", | |
"type": "oxxo", | |
"expires_at": 1525403578, | |
"store_name": "OXXO", | |
"reference": "85000021637721" | |
}, | |
"object": "charge", | |
"description": "Payment from order", | |
"status": "pending_confirmation", | |
"amount": 27300, | |
"fee": 1014, | |
"customer_id": "", | |
"order_id": "ord_2iM1ZZ3NP3KwJjZ" | |
}] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment