Payments / Index
Name | Payments Index |
|---|---|
Description | List all payments for an order. |
Type | GET |
URL | /v9/payments |
Long Description
Parameters
Name | Description | Value Type | Required |
|---|---|---|---|
order_id | The order ID containing the payments to list | integer | Required |
Examples
Request | Response |
|---|---|
/v9/payments?order_id=75155 |
|
| {
"current_page":1,
"total_entries":1,
"payments":[
{
"avs_response_code":"",
"type":"cash",
"is_refund":false,
"avs_street_address_response":"",
"url":"/payments/14806",
"state":"completed",
"avs_postal_code_response_code":"",
"avs_postal_code_response":"",
"credit_memo_id":null,
"cvv_response":"",
"avs_street_address_response_code":"",
"refunded_from_id":null,
"updated_at":"2013-07-12T15:33:37Z",
"created_at":"2013-07-12T15:33:37Z",
"performed_by":null,
"payment_for_credit_memo_id":null,
"cvv_response_code":"",
"check_number":null,
"avs_response":"",
"amount":"15.0",
"credit_card":null,
"id":14806,
"order_link_id":75155
}
],
"per_page":100
} |