We are using cookies in our website in order to offer better service to you. You allow us to use cookies by continuing to use our internet website. You can reach the detailed information on cookies from our Privacy Policy and Cookies Policy.
X
Home > Api Products > Bill Payment Refunds

Bill Payment Refunds

Description

​T​​his API validates payment refund requests for the given parameters.


How it ​Works 

Sample Request 

​​
POST {API_HOST} /api/isbank/v1/bill-payment-refund-validations
Headers:
X-Isbank-Client-Id:{{client_id}}
X-Isbank-Client-Secret:{{client_secret}}
Authorization:Bearer {{access_token}}
Body:
collection_id: {{collection_id}}

Sample Request

​​
{
    "collection_id": 5471502​

Bill Payment Refunds​

Description

​This API validates payment refund requests for the given parameters.

How it ​Works 

Sample Request

POST {API_HOST} /api/isbank/v1/bill-payment-refund-validations
Headers:
X-Isbank-Client-Id:{{client_id}}
X-Isbank-Client-Secret:{{client_secret}}
Authorization:Bearer {{access_token}}
Body:
collection_id: {{collection_id}}
validation_token: {{validation_token}}​​

{
    "collection_id" : 5471502,
    "validation_token": "H2107003088061”
}​

Sample Response
Bill Payment Refunds Validations Sample Response
{
    "data": {
        "validation_results": [],
        "result": "Success",
        "validation_token" : "H2106003087120",
        "currency_code": "TRY",
        "amount" : "100.00",
        "overdraft_currency_code" : "UNSPECIFIED",
        "overdraft_amount": "0",
        "counter_party_service_id" : "413",
        "counter_party_service_name" : "Yemeksepeti"
    }
}


Bill Payment Refunds​ Sample Response
{
    "data": {
        "collection_id": 5471502,
        "execution_date": "2021-06-30T10:59:51.7200071+03:00",
        "payment_type": "CP_COLLECTION",
        "sos_used" : "false",
        "currency_code": "TRY",
        "overdraft_currency_code" : "TRY",
        "overdraft_amount" : "100.00",
        "amount" : "100.00",
        "ui_display_template": "DExecute"
    }
}