---
updatedAt: 2026-03-03T17:20:35.000Z
agentTools:
  projectIndex: https://docs.dlocal.com/llms.txt
---

# The Order Object

Detailed reference for the Order object structure and how it's used in payment processing.

Payments can include an `order_id` which is the ID of the payment given by the merchant in their system. Merchants can retrieve payments based on this ID.

| Property        | Type             | Description                                                                                       |
| :-------------- | :--------------- | :------------------------------------------------------------------------------------------------ |
| `order_id`      | String           | ID given by the merchant in their system.                                                         |
| `payment_id`    | String           | The payment ID at dLocal.                                                                         |
| `amount`        | Positive Float   | Transaction amount (in the currency entered in the field `currency`).                             |
| `currency`      | String           | Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in uppercase. |
| `created_date`  | Date (ISO\_8601) | Payment’s creation date.                                                                          |
| `approved_date` | Date (ISO\_8601) | Payment’s approval date.                                                                          |
| `status`        | String           | Payment status.                                                                                   |
| `status_code`   | String           | The payment status code.                                                                          |
| `status_detail` | String           | Payment status detail.                                                                            |

# Example Object

```json
{
    "order_id": "LDMYZ5mtmsCa",
    "payment_id": "D-4-f77392b1-4ff0-477c-749ac9a237b5",
    "currency": "USD",
    "amount": 382.00,
    "created_date": "2018-07-12T15:20:02.000+0000",
    "approved_date": "2018-07-12T15:20:02.000+0000",
    "status": "AUTHORIZED",
    "status_code": "600",
    "status_detail": "The payment was authorized."
}
```