Skip to content

Instantly share code, notes, and snippets.

@bothubai bothubai/sample_request.json Secret
Created Dec 20, 2016

Embed
What would you like to do?
Sample Request
{
"timestamp" : 1490001111,
"token": "d2dff7379293216aa1e187dafb765a9aa63c7761",
"products": {
{
"id": "item-116",
"name": "usb cable",
"price_single": "1.99",
"amount": 1,
}
},
"contact": {
"psid": 1120304111229999,
"username": "samplebuyer",
"contact_name": "Mark Smith",
"contact_email": "mark@example.com",
"contact_phone": "+1 22233332",
},
"shipping": {
"country": "US",
"state": "CA",
"city": "oakland",
"street_1": "barringer street 1#",
"street_2": "92478",
"postal_code": "32195",
"shipping_option_id": 1,
},
"summary": {
"price": 32.99,
"tax": 1.00,
"shipping_cost": 1.00,
"sub_total": 34.99,
"currency": "USD",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.