Ödeme Sorgulama İsteği
Ödeme get methodu ile sorgu isteği örneği
Prod Url | : | https://api.hepsipay.com/paymentorders/<Payment_Order_Id> |
Test Url | : | https://apientgr.hepsipay.com/paymentorders/<Payment_Order_Id> |
HTTP Method | : | Get |
Headers | : | Content-Type: application/json Authorization: Bearer <Access Token> |
Ödeme get methodu ile JSON sorgu cevabı örneği
{
"PaymentOrderDto": {
"Id": "e3876eea-54f0-4bdb-8cb2-a6fa008a0ffc",
"StartDate": "2017-02-16T00:00:00",
"CardHolderName": "Ahmet Mehmet",
"CardNumber": "428220*****8015",
"Amount": 10.95,
"OrderCreatedDate": "2017-01-13T08:22:40",
"FrequencyType": 2,
"Frequency": 3,
"ProcessedFrequencyCount": 0,
"TotalFrequencyCount": 2,
"PaymentOrderStatus": 2,
"Description": "Kira Ödemesi"
},
"Success": true,
"MessageCode": "0000",
"Message": "Başarılı",
"UserMessage": "İşleminiz başarıyla gerçekleşmiştir."
}
Ödeme post methodu ile sorgu isteği örneği
Prod Url | : | https://api.hepsipay.com/paymentorders/getpaymentorderlist |
Test Url | : | https://apientgr.hepsipay.com/paymentorders/getpaymentorderlist |
HTTP Method | : | Post |
Headers | : | Content-Type: application/json Authorization: Bearer <Access Token> |
Ödeme post methodu ile JSON sorgu isteği örneği
{
"ApiKey": " eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoxLCJBcGlLZXkiOiI4NjRjYWJlMjk4Nzk0MTc1OGE2NjNlOTgzNjRjNjVmMSJ9.arVhSLZglydFDIUKz-UlNQrMMM7bQdNlSXM8o0dzGWE",
"PaymentOrderId": null,
"Amount": null,
"FirstSixCharOfPan": "428220",
"LastFourCharOfPan": "8015",
"CardHolderName": "Ahmet Mehmet",
"OrderCreatedDateStart": "2017-01-11 09:59:39.000",
"OrderCreatedDateEnd": "2017-01-13 23:22:40.000",
"Description": null,
"OrderStartedDateStart": "2017-01-31 00:00:00.000",
"OrderStartedDateEnd": "2017-02-16 00:00:00.000",
"FrequencyType": 2,
"PaymentOrderStatus": 0,
"PagerInputDto": {
"PageIndex": 1,
"PageSize": 10
}
}
Ödeme post methodu ile JSON sorgu cevabı örneği
{
"PaymentOrders": [
{
"Id": "5717014a-0d67-4a05-b8e6-a6fa008a1001",
"StartDate": "2017-02-17T00:00:00",
"CardHolderName": null,
"CardNumber": null,
"Amount": 0,
"OrderCreatedDate": "2017-01-13T08:22:40",
"FrequencyType": 2,
"Frequency": 1,
"ProcessedFrequencyCount": 0,
"TotalFrequencyCount": 5,
"PaymentOrderStatus": 0,
"Description": null
},
{
"Id": "e3876eea-54f0-4bdb-8cb2-a6fa008a0ffc",
"StartDate": "2017-02-16T00:00:00",
"CardHolderName": null,
"CardNumber": null,
"Amount": 0,
"OrderCreatedDate": "2017-01-13T08:22:40",
"FrequencyType": 2,
"Frequency": 3,
"ProcessedFrequencyCount": 0,
"TotalFrequencyCount": 2,
"PaymentOrderStatus": 0,
"Description": null
},
{
"Id": "f3d4ed90-ed4d-4097-bb04-a6fa0089fcd1",
"StartDate": "2017-02-17T00:00:00",
"CardHolderName": null,
"CardNumber": null,
"Amount": 0,
"OrderCreatedDate": "2017-01-13T08:22:23",
"FrequencyType": 2,
"Frequency": 1,
"ProcessedFrequencyCount": 0,
"TotalFrequencyCount": 5,
"PaymentOrderStatus": 0,
"Description": null
},
{
"Id": "2795f1a1-1ae1-45ef-8982-a6fa0089eab7",
"StartDate": "2017-02-16T00:00:00",
"CardHolderName": null,
"CardNumber": null,
"Amount": 0,
"OrderCreatedDate": "2017-01-13T08:22:08",
"FrequencyType": 2,
"Frequency": 3,
"ProcessedFrequencyCount": 0,
"TotalFrequencyCount": 2,
"PaymentOrderStatus": 0,
"Description": null
}
],
"MerchantIds": null,
"IsRecurringPaymentOrdered": false,
"PagerState": {
"HasNextPage": false,
"HasPreviousPage": false,
"PageIndex": 1,
"PageSize": 10,
"TotalCount": 4,
"TotalPages": 1
},
"Success": true,
"MessageCode": "0000",
"Message": "Başarılı",
"UserMessage": "İşleminiz başarıyla gerçekleşmiştir."
}