Payments and PayPal Transactions
The following shows how to GET payment information for an order:
curl -h "Authorization: Bearer [oauth_token]" https://api.reverb.com/api/my/payments/selling?order_id=12345
{
"total": 2,
"_links": {},
"payments": [
{
"payment_method": "direct_checkout",
"status": "completed",
"amount": {
"amount": "50.00",
"currency": "USD",
"symbol": "$"
},
"amount_item": {
"amount": "50.00",
"currency": "USD",
"symbol": "$"
},
"amount_shipping": {
"amount": "0.00",
"currency": "USD",
"symbol": "$"
},
"created_at": "2013-12-22T16:06:59-06:00",
"updated_at": "2013-12-22T16:06:59-06:00",
"received_at": "2013-12-22T16:06:59-06:00",
"paypal_transaction": null,
"_links": {
"order": {
"href": "https://reverb.com/api/my/orders/selling/1"
},
"self": {
"href": "https://reverb.com/api/my/payments/selling/2"
}
}
},
{
"payment_method": "paypal",
"status": "completed",
"amount": {
"amount": "1195.00",
"currency": "USD",
"symbol": "$"
},
"amount_item": {
"amount": "1195.00",
"currency": "USD",
"symbol": "$"
},
"amount_shipping": {
"amount": "0.00",
"currency": "USD",
"symbol": "$"
},
"created_at": "2013-03-11T23:36:48-05:00",
"updated_at": "2013-03-11T23:36:48-05:00",
"received_at": "2013-03-11T16:32:25-05:00",
"paypal_transaction": {
"transaction_id": "1234FLJDSKFDSF34",
"status": "Completed"
},
"_links": {
"order": {
"href": "https://reverb.com/api/my/orders/selling/3"
},
"self": {
"href": "https://reverb.com/api/my/payments/selling/4"
}
}
}
]
}
Updated over 1 year ago