Without specifying any parameters a list of direct card payments is returned. Please be aware that only a limited amount of details for each direct card payment will be provided.
Definition: GET /v1/payments
Request:
GET https://securetest.smart2pay.com/v1/payments
Authorization: Basic MTAxMDpnYWJp
Response:
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"Payments": [
{
"ID": 202245,
"ClientIP": null,
"SkinID": null,
"Created": "20161205094557",
"MerchantTransactionID": "s2ptest_h17",
"OriginatorTransactionID": null,
"Amount": 2000,
"Currency": "EUR",
"CapturedAmount": 2000,
"ReturnURL": null,
"Description": null,
"StatementDescriptor": null,
"MethodID": 6,
"MethodOptionID": null,
"SiteID": 1010,
"NotificationDateTime": null,
"Customer": null,
"BillingAddress": null,
"ShippingAddress": null,
"Articles": null,
"Card": null,
"CreditCardToken": null,
"Status": {
"ID": 11,
"Info": "Captured",
"Reasons": []
},
"MethodTransactionID": null,
"PaymentTokenLifetime": null,
"Capture": null,
"Retry": null,
"RedirectURL": null,
"3DSecure": null
},
{
"ID": 202244,
"ClientIP": null,
"SkinID": null,
"Created": "20161205094546",
"MerchantTransactionID": "s2ptest_h16",
"OriginatorTransactionID": null,
"Amount": 2000,
"Currency": "EUR",
"CapturedAmount": 0,
"ReturnURL": null,
"Description": null,
"StatementDescriptor": null,
"MethodID": 6,
"MethodOptionID": null,
"SiteID": 1010,
"NotificationDateTime": null,
"Customer": null,
"BillingAddress": null,
"ShippingAddress": null,
"Articles": null,
"Card": null,
"CreditCardToken": null,
"Status": {
"ID": 9,
"Info": "Authorized",
"Reasons": []
},
"MethodTransactionID": null,
"PaymentTokenLifetime": null,
"Capture": null,
"Retry": null,
"RedirectURL": null,
"3DSecure": null
},
{
"ID": 202243,
"ClientIP": null,
"SkinID": null,
"Created": "20161205093245",
"MerchantTransactionID": "s2ptest_h13",
"OriginatorTransactionID": null,
"Amount": 2000,
"Currency": "EUR",
"CapturedAmount": 0,
"ReturnURL": "http://demo.smart2pay.com/redirect.php",
"Description": "payment product",
"StatementDescriptor": "bank statement message",
"MethodID": 6,
"MethodOptionID": null,
"SiteID": 1010,
"NotificationDateTime": null,
"Customer": {
"ID": 115,
"MerchantCustomerID": "null",
"Email": "customer@test.com",
"FirstName": "John",
"LastName": "Doe",
"Gender": "1",
"SocialSecurityNumber": "45908-28324",
"Phone": "0744-783322",
"Company": "S2P"
},
"BillingAddress": {
"ID": 253,
"City": "Iasi",
"ZipCode": "7000-49",
"State": "Iasi",
"Street": "Sf Lazar",
"StreetNumber": "37",
"HouseNumber": "5A",
"HouseExtension": "-",
"Country": "RO"
},
"ShippingAddress": {
"ID": 87,
"City": "Iasi",
"ZipCode": "700049",
"State": "Iasi",
"Street": "Sf Lazar",
"StreetNumber": "37",
"HouseNumber": "-",
"HouseExtension": "-",
"Country": "RO"
},
"Articles": null,
"Card": null,
"CreditCardToken": null,
"Status": {
"ID": 1,
"Info": "Open",
"Reasons": []
},
"MethodTransactionID": null,
"PaymentTokenLifetime": null,
"Capture": null,
"Retry": null,
"RedirectURL": null,
"3DSecure": null
},
{
"ID": 202242,
"ClientIP": null,
"SkinID": null,
"Created": "20161205093117",
"MerchantTransactionID": "s2ptest_h12",
"OriginatorTransactionID": null,
"Amount": 2000,
"Currency": "EUR",
"CapturedAmount": 2000,
"ReturnURL": "http://demo.smart2pay.com/redirect.php",
"Description": "payment product",
"StatementDescriptor": "bank statement message",
"MethodID": 6,
"MethodOptionID": null,
"SiteID": 1010,
"NotificationDateTime": null,
"Customer": {
"ID": 115,
"MerchantCustomerID": "null",
"Email": "customer@test.com",
"FirstName": "John",
"LastName": "Doe",
"Gender": "1",
"SocialSecurityNumber": "45908-28324",
"Phone": "0744-783322",
"Company": "S2P"
},
"BillingAddress": {
"ID": 253,
"City": "Iasi",
"ZipCode": "7000-49",
"State": "Iasi",
"Street": "Sf Lazar",
"StreetNumber": "37",
"HouseNumber": "5A",
"HouseExtension": "-",
"Country": "RO"
},
"ShippingAddress": {
"ID": 87,
"City": "Iasi",
"ZipCode": "700049",
"State": "Iasi",
"Street": "Sf Lazar",
"StreetNumber": "37",
"HouseNumber": "-",
"HouseExtension": "-",
"Country": "RO"
},
"Articles": null,
"Card": null,
"CreditCardToken": null,
"Status": {
"ID": 11,
"Info": "Captured",
"Reasons": []
},
"MethodTransactionID": null,
"PaymentTokenLifetime": null,
"Capture": null,
"Retry": null,
"RedirectURL": null,
"3DSecure": null
},
{
"ID": 202240,
"ClientIP": null,
"SkinID": null,
"Created": "20161205092303",
"MerchantTransactionID": "s2ptest_h11",
"OriginatorTransactionID": null,
"Amount": 2000,
"Currency": "EUR",
"CapturedAmount": 1000,
"ReturnURL": null,
"Description": null,
"StatementDescriptor": null,
"MethodID": 6,
"MethodOptionID": null,
"SiteID": 1010,
"NotificationDateTime": null,
"Customer": null,
"BillingAddress": null,
"ShippingAddress": null,
"Articles": null,
"Card": null,
"CreditCardToken": null,
"Status": {
"ID": 35,
"Info": "PartiallyCaptured",
"Reasons": []
},
"MethodTransactionID": null,
"PaymentTokenLifetime": null,
"Capture": null,
"Retry": null,
"RedirectURL": null,
"3DSecure": null
}
]
}