| Fields | Description | Type | Filterable | Required | Readonly |
|---|---|---|---|---|---|
| externalId | Unique record identifiers from a system outside of Payment Gateway | String | Yes | No | No |
| terminal | Terminal Object | Object | No | Yes | Yes |
| terminal.id | Dashboard Terminal ID | Integer | Yes | Yes | Yes |
| parent | Parent Object | Object | No | No | Yes |
| parent.id | Parent ID of a Payment Request | Integer | Yes | No | Yes |
| type | Request type | String | Yes | Yes | Yes |
| card | Card Object | Object | No | No | Yes |
| card.name | Cardholder Name | String | Yes | No | No |
| card.number | Card Number | String | Yes | No | No |
| amount | Amount of the capture | Number | Yes | Yes | No |
| origin | Origin of the transaction (i.e. Website, CRM, etc) | String | Yes | No | No |
| source | Internet, Mail, Phone | ENUM | Yes | Yes | No |
| level | Level 1, 2, 3 | Integer | Yes | Yes | No |
| status | Status Object | Object | No | No | Yes |
| status.status | InProgress, Approved, Error, Decline | ENUM | Yes | No | Yes |
| batch | Batch Object | Object | No | No | Yes |
| batch.id | Batch ID | Integer | Yes | No | Yes |
| updatedOn | Date and Time of last update on the Payment Request | Datetime | Yes | No | Yes |
| createdOn | Date and Time when the Payment Request was created | Datetime | Yes | No | Yes |
terminal.id.Here as an exception you do not need to include the terminal.idin your request. Using this endpoint we will return all your transactions with their correspondingterminal.id.
https://gateway.maverickpayments.com/payment/?filter[terminal.id][eq]=1Authorization: Bearer ********************curl --location --request GET '/payments' \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": 863,
"amount": "2.00",
"origin": "HostedForm",
"type": "Auth",
"level": 1,
"authCode": "TAS364",
"parent": {
"id": null
},
"terminal": {
"id": 24
},
"threeds": {
"id": 39
},
"card": {
"bin": 411111,
"name": "test test",
"number": 1111,
"exp": "2024-11-30",
"verification": {
"cvv": "M",
"address": "N"
},
"networkTransactionId": "000000000173444"
},
"contact": {
"name": "",
"phone": "",
"email": ""
},
"externalId": null,
"isRecurring": "No",
"split": null,
"refunded": true,
"captured": false,
"history": [],
"order": null,
"feeTransaction": null,
"batch": {
"id": null,
"number": null,
"batchedOn": null
},
"ip": {
"address": "50.17.187.84",
"isp": "Amazon.com",
"type": "hosting",
"location": {
"city": "Ashburn",
"state": "VA",
"country": "US",
"zip": "20149"
},
"info": {
"isAnonymous": "Yes",
"isAnonymousVpn": "No",
"isPublicProxy": "No",
"isHostingProvider": "Yes",
"isTorExitNode": "No"
}
},
"status": {
"status": "Decline",
"reason": "Transaction rejected due to: AVS Zip Mismatch, AVS Address Mismatch"
},
"updatedOn": "2023-04-25 14:46:07",
"createdOn": "2023-04-25 14:46:07"
},
{
"id": 862,
"amount": "2.00",
"origin": "HostedForm",
"type": "Capture",
"level": 1,
"authCode": null,
"parent": {
"id": 861
},
"terminal": {
"id": 24
},
"threeds": {
"id": null
},
"card": {
"bin": 401200,
"name": null,
"number": 26,
"exp": "2033-11-30",
"verification": {
"cvv": null,
"address": null
},
"networkTransactionId": null
},
"contact": null,
"externalId": null,
"isRecurring": "No",
"split": null,
"refunded": false,
"captured": false,
"history": [],
"order": null,
"feeTransaction": null,
"batch": {
"id": null,
"number": null,
"batchedOn": null
}
],
"_links": {
"self": {
"href": "https://gateway.zendashboard.com/payments?page=1"
},
"first": {
"href": "https://gateway.zendashboard.com/payments?page=1"
},
"last": {
"href": "https://gateway.zendashboard.com/payments?page=1"
},
"next": {
"href": "https://gateway.zendashboard.com/payments?page=1"
}
},
"_meta": {
"totalCount": 2,
"pageCount": 1,
"currentPage": 1,
"perPage": 30
}
}