{
    "type": "object",
    "properties": {
        "amount": {
            "type": "integer"
        },
        "amount_captured": {
            "type": "integer"
        },
        "amount_refunded": {
            "type": "integer"
        },
        "application_fee": {
            "type": "null"
        },
        "application_fee_amount": {
            "type": "null"
        },
        "captured": {
            "type": "boolean"
        },
        "created": {
            "type": "integer"
        },
        "currency": {
            "type": "string"
        },
        "destination": {
            "type": "null"
        },
        "dispute": {
            "type": "null"
        },
        "disputed": {
            "type": "boolean"
        },
        "failure_balance_transaction": {
            "type": "null"
        },
        "id": {
            "type": "string"
        },
        "livemode": {
            "type": "boolean"
        },
        "metadata": {
            "type": "object",
            "properties": {
                "date_due": {
                    "type": "string"
                },
                "erp_provider_dimension_id": {
                    "type": "string"
                },
                "invoice_id": {
                    "type": "string"
                },
                "period_end": {
                    "type": "string"
                },
                "period_start": {
                    "type": "string"
                },
                "reservation_id": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                }
            }
        },
        "object": {
            "type": "string"
        },
        "on_behalf_of": {
            "type": "null"
        },
        "order": {
            "type": "null"
        },
        "outcome": {
            "type": "object",
            "properties": {
                "network_status": {
                    "type": "string"
                },
                "risk_level": {
                    "type": "string"
                },
                "risk_score": {
                    "type": "integer"
                },
                "seller_message": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                }
            }
        },
        "paid": {
            "type": "boolean"
        },
        "payment_intent": {
            "type": "string"
        },
        "payment_method": {
            "type": "string"
        },
        "payment_method_details": {
            "type": "object",
            "properties": {
                "card": {
                    "type": "object",
                    "properties": {
                        "brand": {
                            "type": "string"
                        },
                        "capture_before": {
                            "type": "integer"
                        },
                        "country": {
                            "type": "string"
                        },
                        "exp_month": {
                            "type": "integer"
                        },
                        "exp_year": {
                            "type": "integer"
                        },
                        "extended_authorization": {
                            "type": "object",
                            "properties": {
                                "status": {
                                    "type": "string"
                                }
                            }
                        },
                        "fingerprint": {
                            "type": "string"
                        },
                        "funding": {
                            "type": "string"
                        },
                        "incremental_authorization": {
                            "type": "object",
                            "properties": {
                                "status": {
                                    "type": "string"
                                }
                            }
                        },
                        "installments": {
                            "type": "null"
                        },
                        "last4": {
                            "type": "string"
                        },
                        "mandate": {
                            "type": "null"
                        },
                        "multicapture": {
                            "type": "object",
                            "properties": {
                                "status": {
                                    "type": "string"
                                }
                            }
                        },
                        "network": {
                            "type": "string"
                        },
                        "network_token": {
                            "type": "object",
                            "properties": {
                                "used": {
                                    "type": "boolean"
                                }
                            }
                        },
                        "network_transaction_id": {
                            "type": "string"
                        },
                        "overcapture": {
                            "type": "object",
                            "properties": {
                                "maximum_amount_capturable": {
                                    "type": "integer"
                                },
                                "status": {
                                    "type": "string"
                                }
                            }
                        },
                        "regulated_status": {
                            "type": "string"
                        },
                        "three_d_secure": {
                            "type": "null"
                        }
                    }
                },
                "type": {
                    "type": "string"
                }
            }
        },
        "refunded": {
            "type": "boolean"
        },
        "refunds": {
            "type": "object",
            "properties": {
                "data": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "properties": {
                            "amount": {
                                "type": "integer"
                            },
                            "balance_transaction": {
                                "type": "string"
                            },
                            "charge": {
                                "type": "string"
                            },
                            "created": {
                                "type": "integer"
                            },
                            "currency": {
                                "type": "string"
                            },
                            "destination_details": {
                                "type": "object",
                                "properties": {
                                    "card": {
                                        "type": "object",
                                        "properties": {
                                            "reference": {
                                                "type": "string"
                                            },
                                            "reference_status": {
                                                "type": "string"
                                            },
                                            "reference_type": {
                                                "type": "string"
                                            },
                                            "type": {
                                                "type": "string"
                                            }
                                        }
                                    },
                                    "type": {
                                        "type": "string"
                                    }
                                }
                            },
                            "id": {
                                "type": "string"
                            },
                            "object": {
                                "type": "string"
                            },
                            "payment_intent": {
                                "type": "string"
                            },
                            "reason": {
                                "type": "null"
                            },
                            "source_transfer_reversal": {
                                "type": "null"
                            },
                            "status": {
                                "type": "string"
                            },
                            "transfer_reversal": {
                                "type": "null"
                            }
                        }
                    }
                },
                "has_more": {
                    "type": "boolean"
                },
                "object": {
                    "type": "string"
                },
                "total_count": {
                    "type": "integer"
                },
                "url": {
                    "type": "string"
                }
            }
        },
        "review": {
            "type": "null"
        },
        "shipping": {
            "type": "null"
        },
        "source": {
            "type": "null"
        },
        "source_transfer": {
            "type": "null"
        },
        "statement_descriptor": {
            "type": "null"
        },
        "statement_descriptor_suffix": {
            "type": "null"
        },
        "status": {
            "type": "string"
        },
        "transfer_data": {
            "type": "null"
        },
        "transfer_group": {
            "type": "null"
        }
    },
    "version": 1
}
