The Order Object

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.

PropertyTypeDescription
order_idStringID given by the merchant in their system.
payment_idStringThe payment ID at dLocal.
amountPositive FloatTransaction amount (in the currency entered in the field currency).
currencyStringThree-letter ISO currency code, in uppercase.
created_dateDate (ISO_8601)Payment’s creation date.
approved_dateDate (ISO_8601)Payment’s approval date.
statusStringPayment status.
status_codeStringThe payment status code.
status_detailStringPayment status detail.

Example Object

{
    "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."
}