Skip to content

Get Charges

GET
/charges
curl --request GET \
--url http://pay.caspeco.net/charges \
--header 'Content-Type: application/json' \
--header 'Date: Tue, 15 Nov 2014 08:12:31 GMT' \
--header 'Digest: SHA-256=7oaYBB1oQVPy1BvP2ndYtxdD5EWNynt9lxCHzOdXb1A=' \
--header 'Host: pay.caspeco.net' \
--header 'Location: http://pay.caspeco.net/v1/charges/' \
--data '{ "Merchant": 1, "CreatedFrom": "example", "CreatedTo": "example", "AmountFrom": 1, "AmountTo": 1, "Captured": true, "Credited": true, "PageSize": 1, "Page": 1 }'

Returns a collection of charges given the search.

Location
string
Example
http://pay.caspeco.net/v1/charges/
Host
string

E.g. pay.caspeco.net

Example
pay.caspeco.net
Date
string

E.g. Tue, 15 Nov 2014 08:12:31 GMT

Example
Tue, 15 Nov 2014 08:12:31 GMT
Digest
string

E.g. SHA-256=7oaYBB1oQVPy1BvP2ndYtxdD5EWNynt9lxCHzOdXb1A=

Example
SHA-256=7oaYBB1oQVPy1BvP2ndYtxdD5EWNynt9lxCHzOdXb1A=
Media typeapplication/json
object
Merchant
number
CreatedFrom
datetime
CreatedTo
datetime
AmountFrom
number
AmountTo
number
Captured
boolean
Credited
boolean
PageSize
number
Page
number
Examplegenerated
{
"Merchant": 1,
"CreatedFrom": "example",
"CreatedTo": "example",
"AmountFrom": 1,
"AmountTo": 1,
"Captured": true,
"Credited": true,
"PageSize": 1,
"Page": 1
}

Created