Skip to main content
POST
/
v3.0
/
{ClientId}
/
payins
/
intents
/
{IntentId}
/
refunds
{   
    "ExternalData": {
        "ExternalProcessingDate": 1769431976,
        "ExternalProviderReference": "refund-stripe-23bdabed-7ba8-488e-822a-ba7d8c8da0d1",
        "ExternalMerchantReference": "order-33419af2-e770-43b8-82ac-512963313811",
        "ExternalProviderName": "Stripe",
        "ExternalProviderPaymentMethod": "MASTERCARD"
    }
}
{
    "Id": "int_019bfa5d-33a7-7cd5-9178-627425ff32ee",
    "Amount": 20000,
    "AvailableAmountToSplit": 0,
    "UnfundedAmount": 0,
    "Currency": "EUR",
    "PlatformFeesAmount": 0,
    "Status": "REFUNDED",
    "NextActions": "REVERSE_REFUND",
    "ExternalData": {
        "ExternalProcessingDate": 1769431976,
        "ExternalProviderReference": "refund-stripe-23bdabed-7ba8-488e-822a-ba7d8c8da0d1",
        "ExternalMerchantReference": "order-33419af2-e770-43b8-82ac-512963313811",
        "ExternalProviderName": "Stripe",
        "ExternalProviderPaymentMethod": "MASTERCARD"
    },
    "Buyer": {
        "Id": "user_m_01KF3087EDXEAK8VPD9DTMZW8N"
    },
    "LineItems": [
        {
            "Id": "int_li_019bfa5d-33ae-723e-b257-ce01863b3ce0",
            "TotalLineItemAmount": 10000,
            "CapturedAmount": 10000,
            "RefundedAmount": 10000,
            "DisputedAmount": 0,
            "SplitAmount": 0,
            "CancelledAmount": 0,
            "UnfundedSellerAmount": 0
        },
        {
            "Id": "int_li_019bfa5d-33ae-723e-b257-ce01863b3ce1",
            "TotalLineItemAmount": 10000,
            "CapturedAmount": 10000,
            "RefundedAmount": 10000,
            "DisputedAmount": 0,
            "SplitAmount": 0,
            "CancelledAmount": 0,
            "UnfundedSellerAmount": 0
        }
    ],
    "CreationDate": 1769431970,
    "ExecutionDate": 1769431976,
    "Refund": {
        "Id": "int_refund_019bfa5d-4ad4-79b2-8dcf-5738147affeb"
    }
}
This endpoint allows you to declare that a captured Intent was subject to a refund, in full or in part.

Path parameters

IntentId
string
required
The unique identifier of the Intent.

Body parameters

The full Amount of the intent is refunded (all line items) but the ExternalData of the third-party refund must be provided.
ExternalData
object
required
Information about the refund processed by the third-party PSP.

Responses

Id
string
The unique identifier of the intent.
Amount
integer
The full amount authorized in the Intent, which must equal the sum of the total amounts of all LineItems.
AvailableAmountToSplit
integer
The remaining amount of the Intent that can be split and transferred to the sellers’ wallets.
UnfundedAmount
integer
The amount needing to be settled to the Platform’s escrow wallet before the Intent Splits can be executed.
Currency
integer
The currency of the intent.
PlatformFees
integer
The amount of fees to be diverted to the platform’s Fees Wallet when the Intent is split. This value can be overridden when the Split is created.The PlatformFees value must the sum of all line item Seller.FeesAmount values.
Status
string
The status of the Intent:
  • AUTHORIZED – The Intent Amount was authorized for acquisition by the PSP.
  • PARTIALLY_CAPTURED – Part of the Intent Amount was captured and is expected in a Settlement.
  • CAPTURED – The full Intent Amount was captured and is expected in a Settlement.
  • CANCELED – Some or all of the Amount was canceled.
  • REFUNDED – Some or all of the Amount was refunded.
  • REFUND_REVERSED – The refund could not be completed and the funds were returned to the platform.
  • DISPUTED – A dispute occurred on some or all of the Amount.
  • DEFENDED – The disputed funds were returned to the platform temporarily until the dispute is resolved.
  • DISPUTED_WON – The dispute was resolved in favor of the platform.
  • DISPUTED_LOST – The dispute was resolved against the platform: funds permanently withdrawn to the buyer.
NextActions
string
The possible next actions on the intent.
ExternalData
object
Information about the refund processed by the third-party PSP.
Buyer
object
Information about the buyer.
LineItems
array (object)
Information about the line items included in the intent action.
CreationDate
string
The date and time at which the Intent was created.
ExecutionDate
Unix timestamp
The date and time at which the Intent moved to AUTHORIZED.
Refund
object
Information about the Refund.
{
    "Id": "int_019bfa5d-33a7-7cd5-9178-627425ff32ee",
    "Amount": 20000,
    "AvailableAmountToSplit": 0,
    "UnfundedAmount": 0,
    "Currency": "EUR",
    "PlatformFeesAmount": 0,
    "Status": "REFUNDED",
    "NextActions": "REVERSE_REFUND",
    "ExternalData": {
        "ExternalProcessingDate": 1769431976,
        "ExternalProviderReference": "refund-stripe-23bdabed-7ba8-488e-822a-ba7d8c8da0d1",
        "ExternalMerchantReference": "order-33419af2-e770-43b8-82ac-512963313811",
        "ExternalProviderName": "Stripe",
        "ExternalProviderPaymentMethod": "MASTERCARD"
    },
    "Buyer": {
        "Id": "user_m_01KF3087EDXEAK8VPD9DTMZW8N"
    },
    "LineItems": [
        {
            "Id": "int_li_019bfa5d-33ae-723e-b257-ce01863b3ce0",
            "TotalLineItemAmount": 10000,
            "CapturedAmount": 10000,
            "RefundedAmount": 10000,
            "DisputedAmount": 0,
            "SplitAmount": 0,
            "CancelledAmount": 0,
            "UnfundedSellerAmount": 0
        },
        {
            "Id": "int_li_019bfa5d-33ae-723e-b257-ce01863b3ce1",
            "TotalLineItemAmount": 10000,
            "CapturedAmount": 10000,
            "RefundedAmount": 10000,
            "DisputedAmount": 0,
            "SplitAmount": 0,
            "CancelledAmount": 0,
            "UnfundedSellerAmount": 0
        }
    ],
    "CreationDate": 1769431970,
    "ExecutionDate": 1769431976,
    "Refund": {
        "Id": "int_refund_019bfa5d-4ad4-79b2-8dcf-5738147affeb"
    }
}
{   
    "ExternalData": {
        "ExternalProcessingDate": 1769431976,
        "ExternalProviderReference": "refund-stripe-23bdabed-7ba8-488e-822a-ba7d8c8da0d1",
        "ExternalMerchantReference": "order-33419af2-e770-43b8-82ac-512963313811",
        "ExternalProviderName": "Stripe",
        "ExternalProviderPaymentMethod": "MASTERCARD"
    }
}