> For the complete documentation index, see [llms.txt](https://pivot-payment.gitbook.io/pivot-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pivot-payment.gitbook.io/pivot-docs/api-references/api-lists/payments/object/redirect-object.md).

# Redirect Object

```json
{
  "redirectUrl": {
    "successReturnUrl": "https://merchant.com/success",
    "failureReturnUrl": "https://merchant.com/failure",
    "expirationReturnUrl": "https://merchant.com/expired"
  }
}
```

**Detail Redirect Object**

<table><thead><tr><th width="230.53125">Parameter</th><th width="109.078125">Data Type</th><th width="128.2646484375">Character Limit</th><th width="124.23828125">Requirement</th><th width="195.501953125">Description</th></tr></thead><tbody><tr><td>successReturnUrl</td><td>String</td><td>1-255</td><td>C</td><td>Redirect URL when the payment / charge is success</td></tr><tr><td>failureReturnUrl</td><td>String</td><td>1-255</td><td>C</td><td>Failure URL when the payment / charge is failed</td></tr><tr><td>expirationReturnUrl</td><td>String</td><td>1-255</td><td>C</td><td>Redirect URL when the payment is expired</td></tr></tbody></table>
