Files
rust-mollie-sdk/docs/EntityRefundResponse.md
T
Zomatree e738db98b9 init
2025-10-20 14:41:17 +01:00

3.7 KiB

EntityRefundResponse

Properties

Name Type Description Notes
resource String Indicates the response contains a refund object. Will always contain the string refund for this endpoint. [readonly]
id String
mode models::Mode
description String The description of the refund that may be shown to your customer, depending on the payment method used.
amount models::Amount The amount refunded to your customer with this refund. The amount is allowed to be lower than the original payment amount.
settlement_amount Option<models::AmountNullable> This optional field will contain the approximate amount that will be deducted from your account balance, converted to the currency your account is settled in. The amount is a negative amount. If the refund is not directly processed by Mollie, for example for PayPal refunds, the settlement amount will be zero. Since the field contains an estimated amount during refund processing, it may change over time. For example, while the refund is queued the settlement amount is likely not yet available. To retrieve accurate settlement amounts we recommend using the List balance transactions endpoint instead. [optional][readonly]
metadata Option<models::Metadata>
payment_id Option<String> [optional]
settlement_id Option<String> [optional]
status models::RefundStatus [readonly]
created_at String The entity's date and time of creation, in ISO 8601 format. [readonly]
external_reference Option<models::EntityRefundResponseExternalReference> [optional]
reverse_routing Option<bool> This feature is only available to marketplace operators. With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie merchants, by providing the routing object during payment creation. When creating refunds for these routed payments, by default the full amount is deducted from your balance. If you want to pull back the funds that were routed to the connected merchant(s), you can set this parameter to true when issuing a full refund. For more fine-grained control and for partial refunds, use the routingReversals parameter instead. [optional]
routing_reversals Option<Vecmodels::EntityRefundRoutingReversalsInner> This feature is only available to marketplace operators. When creating refunds for routed payments, by default the full amount is deducted from your balance. If you want to pull back funds from the connected merchant(s), you can use this parameter to specify what amount needs to be reversed from which merchant(s). If you simply want to fully reverse the routed funds, you can also use the reverseRouting parameter instead. [optional]
testmode Option<bool> Whether to create the entity in test mode or live mode. Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting testmode to true. [optional]
_links models::EntityRefundLinks

[Back to Model list] [Back to API list] [Back to README]