mangopay v0.1.0 MangoPay.Reporting.Transaction

Functions for MangoPay reporting.

Link to this section Summary

Functions

Create a reporting

Create a reporting

Get path called

Get path called

Link to this section Functions

Create a reporting.

Examples

params         = %{
  "Tag": "custom meta",
  "CallbackURL": "http://www.my-site.com/callbackURL/",
  "DownloadFormat": "CSV",
  "Sort": "CreationDate:DESC",
  "Preview": false,
  "Filters": {
  "BeforeDate": 1463440221,
  "AfterDate": 1431817821,
  "Type": [ "PAYIN" ],
  "Status": [ "SUCCEEDED" ],
  "Nature": [ "REGULAR" ],
  "MinDebitedFundsAmount": 430,
  "MinDebitedFundsCurrency": "EUR",
  "MaxDebitedFundsAmount": 8790,
  "MaxDebitedFundsCurrency": "EUR",
  "MinFeesAmount": 120,
  "MinFeesCurrency": "EUR",
  "MaxFeesAmount": 450,
  "MaxFeesCurrency": "EUR",
  "AuthorId": "8494514",
  "WalletId": "8494559"
  },
  "Columns": [ "Id", "CreationDate" ]
}
{:ok, reporting} = MangoPay.Reporting.create(params)
Link to this function create!(params)

Create a reporting.

Examples

params         = %{
  "Tag": "custom meta",
  "CallbackURL": "http://www.my-site.com/callbackURL/",
  "DownloadFormat": "CSV",
  "Sort": "CreationDate:DESC",
  "Preview": false,
  "Filters": {
  "BeforeDate": 1463440221,
  "AfterDate": 1431817821,
  "Type": [ "PAYIN" ],
  "Status": [ "SUCCEEDED" ],
  "Nature": [ "REGULAR" ],
  "MinDebitedFundsAmount": 430,
  "MinDebitedFundsCurrency": "EUR",
  "MaxDebitedFundsAmount": 8790,
  "MaxDebitedFundsCurrency": "EUR",
  "MinFeesAmount": 120,
  "MinFeesCurrency": "EUR",
  "MaxFeesAmount": 450,
  "MaxFeesCurrency": "EUR",
  "AuthorId": "8494514",
  "WalletId": "8494559"
  },
  "Columns": [ "Id", "CreationDate" ]
}
reporting = MangoPay.Reporting.create!(params)

Get path called.

Examples

"/users" = MangoPay.User.path()

Get path called.

Examples

"/users/id" = MangoPay.User.path(id)