# RefundIntentAction

> The `RefundIntentAction` object.

Source: https://docs.gastrogate.io/docs/api/types/RefundIntentAction

**Kind:** Objects

## Fields

### `type`

[`RefundIntentActionType`](https://docs.gastrogate.io/docs/api/types/RefundIntentActionType.md)

### `statusUrl`

[`String`](https://docs.gastrogate.io/docs/api/types/String.md)

For type "UseIntegratedTerminal" this is an url which will give the current status of the payment request.

When receiving a HTTP GET request, the response will contain a JSON document with a single field "status", which can have one of the following values:

- 'CANCELED'
- 'CREATED'
- 'DECLINED'
- 'ERROR'
- 'PAID'

## How to get it

This type is returned by:

- [`RefundIntent.action`](https://docs.gastrogate.io/docs/api/types/RefundIntent.md#action) (field on [`RefundIntent`](https://docs.gastrogate.io/docs/api/types/RefundIntent.md))
