GET https://api.mediaos.com/payments/{payment_id}
Response Parameters
Paramater Description Data Type
advertiser_id Reference to advertiser object. Integer
amount Amount in home currency. String
contract_id Reference to contract object. Integer
count Int
currency String
currency_exchange_rate Multiplier to convert amount from home currency to display currency Float
date_created Date
date_refunded Date
entered_by_user_id Integer
id Unique id of payment object. Integer
line.amount Amount applied to an invoice String
line.currency_variance Difference lost or gained as a result of the currency conversion. String
line.date_applied Date money was applied to the invoice. Date
line.id Unique id of payment to invoice object. Integer
line.invoice_id Reference to invoice object. String
line.payment_id Reference to payment object. String
notes String
type Payment Type ('Cash', 'Check', 'Other') Enum
Example Response
{
  "id":"1",
  "advertiser_id":"2",
  "entered_by_user_id":"1",
  "contract_id":null,
  "currency":null,
  "currency_exchange_rate":null,
  "type":"Credit",
  "amount":"1170",
  "date_created":"2013-11-21 12:46:41",
  "date_refunded":null,
  "notes":null,
  "line":{
    "id":"1",
    "payment_id":"1",
    "invoice_id":"1",
    "amount":"1170",
    "currency_variance":"0",
    "date_applied":"2013-11-21 00:00:00"
  }
}