List order revert request

GET/order-revert-requests/list

Returns a list of refunds.

Headers

  • x-api-keystringrequired

    Api key provided on integrations tab in Easyflow platform.

  • x-api-secretstringrequired

    Api Secret provided on integrations tab in Easyflow platform.

  • business-idstringrequired

    Business Identifier

Query parameters

  • orderIdstring · uuid

    Returns only the refund requests of this order.

  • orderByFieldstring

    Field to order by. Send it together with orderDirection.

    Possible values:createdAt

  • orderDirectionstring

    Ascending (ASC) or descending (DESC) order. Send it together with orderByField.

    Possible values:ASCDESC

  • createdAt[startsAt]string
  • createdAt[endsAt]string
  • updatedAt[startsAt]string
  • updatedAt[endsAt]string
  • pageintegerrequired

    Page number to access

    Example:1

  • limitintegerrequired

    Number of items to be loaded per page

    Example:10

Responses

200Returns a list of refund requests.

Returns a list of refund requests.

Content typeapplication/jsonobject

  • statusCodeinteger

    Example:200

  • dataobject
    Show child attributesHide child attributes
    • docsarray of objects
      Show child attributesHide child attributes
      • idstring
      • orderIdstring
      • buyerEmailstring
      • paidAtstring
      • productNamestring
      • supportEmailstring
      • valueInCentsinteger
      • requestAtstring
      • createdAtstring
      • updatedAtstring
      • motivestring

        Possible values:no-accessfinancial-commitmentforbidden-accessno-contactnot-as-expectedincomplete-productunable-to-continueduplicityothers

      • descriptionstring
      • statusstring

        Possible values:pendingrequesteddelayedconfirmedcanceledfailedrefunded

      • userIdstring
      • paymentMethodarray of strings

        Possible values:credit-cardpixbank-billetcryptodebit-cardtransfer

      • buyerRevertPixobject
        Show child attributesHide child attributes
        • pixKeystring
        • pixTypestring

          Possible values:DynamicEmailPhoneCPFCNPJ

      • statusHistoryarray of objects
        Show child attributesHide child attributes
        • statusstring

          Possible values:pendingrequesteddelayedconfirmedcanceledfailedrefunded

        • datestring
    • limitinteger
    • currentPageinteger
    • hasNextboolean
    • nextPageintegernullable
    • totalDocsinteger
    • totalPagesinteger
400If the provided parameter is invalid, the API will return the following error response:

If the provided parameter is invalid, the API will return the following error response:

Content typeapplication/jsonobject

  • messagestring

    Invalid param: []

    Example:Invalid param: []

  • errorstring

    Bad Request

    Example:Bad Request

  • statusCodeinteger

    400

    Example:400

  • errorCodestring

    Code that identifies the error. Present only on some errors.

401If the request is unauthorized, the API will return the following error response:

If the request is unauthorized, the API will return the following error response:

Content typeapplication/jsonobject

  • messagestring

    Invalid field

    Example:Unauthorized

  • errorstring

    Unauthorized

    Example:Unauthorized

  • statusCodeinteger

    401

    Example:401

403If the request is forbidden, the API will return the following error response:

If the request is forbidden, the API will return the following error response:

Content typeapplication/jsonobject

  • messagestring

    Forbidden resource

    Example:Forbidden resource

  • errorstring

    Forbidden

    Example:Forbidden

  • statusCodeinteger

    403

    Example:403

500If an unexpected condition occurs and the server cannot process the request, the API will return the following error response. This response has no error field.

If an unexpected condition occurs and the server cannot process the request, the API will return the following error response. This response has no error field.

Content typeapplication/jsonobject

  • statusCodeinteger

    HTTP status code.

    Example:500

  • messagestring

    Explanation of the error.

    Example:Internal Server Error