Retrieve a refund


Retrieves the details of a refund that has previously been created. Supply the unique refund ID that was returned from your previous request, and Smartpay will return the corresponding refund information. The same information is returned when creating the refund.

Errors

In addition to the Errors applicable to all API endpoints, the following errors are specific to retrieving an refund:

status code error code description
404 refund.not-found No refund was found meeting the requirements. Make sure to use the right refundId and API key. test objects can only be accessed using test keys and live object with live keys.
Path Params
string
required
Defaults to refund_test_123456789

A valid refund ID

Query Params
string
enum
Defaults to no

Set to all if the references within the response need to be expanded to the full objects

Allowed:
Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json