Skip to main content

Refunds

POST Retrieve Refund Eligibility

This API method is designed to assess the refund eligibility of a specific transaction. Upon receiving a request, it evaluates the parameters of the transaction, to determine whether it qualifies for a refund.

API Endpoint
https://api.uat.anddone.com/secure/refunds/eligibility
API Data Details
URI secure/refunds/eligibility
Method POST
Authorization API Key Authorization
Authorization
x-api-key API key {env_merchantAccessKey}
Request Headers
x-app-key Merchant ID or App Key {env_merchantId}
x-version API version
Origin URL or IP address provided to AndDone as an allowed origin.
Content-Type application/json

Request Parameters

Field Name Data Type Mandatory Field Length Description

Body Request Example (JSON)

    
    

Response Parameters

Body Response Example (JSON) - Transaction Cannot Be Refunded

    
    

Body Response Example - Transaction Eligible for Refund

{"refundEligible":true,"message":null}