Skip to main content

Generate new complete refund

POST 

/api/transaction/generate_refund

Generates a new complete refund when the transaction does not have any orders.

Request

Body

required
    description description (string)required

    Description of the return

    merchant_id merchant_id (string)required

    Reference of the store that solicitate the return

    transaction_uuid transaction_uuid (string)required

    Reference of the transaction that should be returned

    client_document client_document (string)required

    Client's document (CPF or CNPJ)

Responses

Successful operation

Schema
    code code (integer)

    Possible values: [201, 422, 404, 408, 500]

    Response code

    status status (string)

    Possible values: [pending, failed]

    Transaction status

    message message (string)

    Message about the request

    transaction_uuid transaction_uuid (string)

    Reference of the transaction that should be returned

    merchant_id merchant_id (string)

    Reference of the store that solicitate the return

Loading...