# Failure

The transaction failed to send/receive

URL that end user will be redirected to upon expiration of this invoice.\
Example : `https://yourcompany.com/example_item/10/failed_checkout`.

| Attribute              | Type   | Value                                                             |
| ---------------------- | ------ | ----------------------------------------------------------------- |
| failure\_redirect\_url | String | https://projeq.id/?status=failure\&external\_id=INV0035/VIII/2022 |

{% code title="Request Payload" %}
```
{
  "external_id": "INV0048/VIII/2022",
  "amount": 8500000,
  "description": "Invoice Demo #INV0048",
  "invoice_duration": 86400,
  "success_redirect_url" : "https://projeq.id/?status=success&external_id=INV0035/VIII/2022",
  "failure_redirect_url" : "https://projeq.id/?status=failure&external_id=INV0035/VIII/2022",
  "customer": {
    "given_names": "John",
    "surname": "Doe",
    "email": "johndoe@example.com",
    "mobile_number": "+6287774441111",
    "addresses": [
      {
        "city": "Jakarta Selatan",
        "country": "Indonesia",
        "postal_code": "12345",
        "state": "Daerah Khusus Ibukota Jakarta",
        "street_line1": "Jalan Makan",
        "street_line2": "Kecamatan Kebayoran Baru"
      }
    ]
  }
}
```
{% endcode %}
