Payments and PayPal Transactions
GET payment information for an order
curl -XGET \
-H "Content-Type: application/hal+json"
-H "Accept: application/hal+json"
-H "Accept-Version: 3.0"
-H "Authorization: Bearer [personal_token]"
https://api.reverb.com/api/my/payments/selling?order_id=12345
Response example:
{
"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"
}
}
}
]
}
Types of payment methods
To see the eligible types of payment methods:
curl -XGET \
-H "Content-Type: application/hal+json"
-H "Accept: application/hal+json"
-H "Accept-Version: 3.0"
-H "Authorization: Bearer [personal_token]"
https://api.reverb.com/api/payment_methods
Updated over 1 year ago