mangopay v0.1.0 MangoPay.Reporting.Transaction
Functions for MangoPay reporting.
Link to this section Summary
Link to this section Functions
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" ]
}
{: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)
Link to this function
path()
Get path called.
Examples
"/users" = MangoPay.User.path()
Link to this function
path(id)
Get path called.
Examples
"/users/id" = MangoPay.User.path(id)