Müşterilerinize ait ödeme bilgilerini, merchantSubscriberId değerini kullanarak sorgulayabileceğiniz bir servistir.
Method: GET
Path: /api/charging-logs/subscriber/m/${merchantSubscriberId}
Sandbox Url: https://sandbox.subscreasy.com/api/charging-logs/subscriber/m/${merchantSubscriberId}
Bu servis, güvenlik açısından, API yetkilendirmesine gerek duyar. API yetkilendirmesi hakkında detay için tıklayınız.
Url'nize page ve size parametrelerini göndererek, sayfalama işlemi yapabilirsiniz.
Curl
curl -X GET \
'https://sandbox.subscreasy.com/api/charging-logs/subscriber/92950353-2b7f-45bd-9f98-884be5a3b18c?page=0&size=2' \
-H 'Accept: application/json' \
-H 'Authorization: Apikey brs-1234567890' \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache'
[
{
"id": 10,
"price": 1200,
"appliedCoupon": null,
"paymentId": null,
"authCode": null,
"errorCode": null,
"errorText": null,
"jobId": -5,
"threeds": null,
"invoiceId": null,
"subscriptionId": -2,
"serviceInstanceId": null,
"subscriberSecureId": "8c42c6f3-cea0-4997-a2e2-fd66fbaf50f1",
"subscriberId": null,
"companyId": -1,
"paymentGateway": null,
"status": "FAIL",
"reason": "START",
"currency": "TL",
"transactionId": null,
"createDate": "2018-02-01T00:00:00+03:00",
"refundDate": null,
"parentId": null,
"offerId": -140,
"savedCardId": null,
"savedCard": null
},
{
"id": 11,
"price": 1200,
"appliedCoupon": null,
"paymentId": null,
"authCode": null,
"errorCode": null,
"errorText": null,
"jobId": -5,
"threeds": null,
"invoiceId": null,
"subscriptionId": -2,
"serviceInstanceId": null,
"subscriberSecureId": "8c42c6f3-cea0-4997-a2e2-fd66fbaf50f1",
"subscriberId": null,
"companyId": -1,
"paymentGateway": null,
"status": "FAIL",
"reason": "START",
"currency": "TL",
"transactionId": null,
"createDate": "2018-02-01T00:00:00+03:00",
"refundDate": null,
"parentId": null,
"offerId": -140,
"savedCardId": null,
"savedCard": null
}
]