---
title: "get refund · RUAL Documentation"
description: "Reads one refund's status. A refund starts PENDING. A RUAL rabosmartpay block in the refunds group. See its 4 input and 12 output pins and its version history."
canonical: https://docs.rual.nl/block-types/rabosmartpay/rabosmartpayconnection_refunds_get
language: en
---

# get refund

This block is part of the [`rabosmartpay`](https://docs.rual.nl/block-types/rabosmartpay) group and was last modified in core [`v15.0.2`](https://docs.rual.nl/core-versions/150002).

Reads one refund's status. A refund starts `PENDING`.

- flow

- connection `rabosmartpayconnection` required

- transaction id `value` required

- refund id `value` required

- flow

- connection `rabosmartpayconnection`

- refund id `value` Read the refund back with get refund.

- status `value` `PENDING`, then `SUCCEEDED` or `FAILED`.

- amount `number` In cents.

- currency `value`

- transaction id `value` The payment transaction refunded.

- refund transaction id `value`

- refund `object`

- success `condition`

- error `value` Smart Pay's own message, e.g. *merchantOrderId should only contain alphanumeric characters*, or a sentinel for a problem in the wiring.

- error code `value` Smart Pay's code (`5017` validation, `5001` authorization) or a sentinel like `SIGNATURE_MISMATCH`.

| `refund status` |
| --- |

## Version history

Introduced in [`v15.0.2`](https://docs.rual.nl/core-versions/150002).

## Service documentation

- [External API reference](https://docs.developer.rabobank.com/smartpay/reference/integration-guide): This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.

- [Back to `rabosmartpay`](https://docs.rual.nl/block-types/rabosmartpay): Return to the main group to view all sub-groups

- [Back to `refunds`](https://docs.rual.nl/block-types/rabosmartpay?group=refunds): Return to the group to view all blocks within this group
