List purchases
Changed onget/purchases
Request
- Base URLhttps://gateway.pmnts-sandbox.io/v1.0
- URLhttps://gateway.pmnts-sandbox.io/v1.0/purchases
- AuthHTTP basic
Query parameters
offsetinteger
Offset to start
limitinteger
Number of purchases in the response
fromstring date
Lower bound for the time at which the purchase was created
tostring date
Upper bound for the time at which the purchase was created
Headers
Content-Typestring
application/json
Response
200
Example response
{
"successful": true,
"response": [
{
"authorization": "512407",
"id": "071-P-P7OX5AF6",
"card_number": "512345XXXXXX2346",
"card_holder": "Matthew Savage",
"card_expiry": "2030-02-28",
"card_token": "fke86c5u",
"card_type": "MasterCard",
"card_category": "Credit",
"card_subcategory": "Standard",
"amount": 10000,
"decimal_amount": 100,
"successful": true,
"message": "Approved",
"reference": "73a34343849d71bca9ab1a11225a3139-1",
"currency": "AUD",
"transaction_id": "071-P-P7OX5AF6",
"settlement_date": "2017-07-03",
"transaction_date": "2017-07-03T12:39:02+10:00",
"response_code": "00",
"captured": true,
"captured_amount": 10000,
"rrn": "071PP7OX5AF6",
"cvv_match": "M"
}
],
"records": 2,
"total_records": 2,
"page": 1,
"total_pages": 1
}Changes
- info
endpoint added
- info