Transfers/Transfer.swift

stripe-kit · Sources/StripeKit/Connect/Transfers/Transfer.swift · swift · MIT
payments

Data model for Stripe Connect transfers between accounts.

// Source: https://github.com/vapor-community/stripe-kit | License: MIT | Copyright 2020 Andrew Edwards
// Provided via justclaw.it.com; keep this notice with the code.
//
//  Transfer.swift
//  Stripe
//
//  Created by Andrew Edwards on 4/2/18.
//

import Foundation

/// The [Transfer Object](https://stripe.com/docs/api/transfers/object) .
public struct Transfer: Codable {
    /// Unique identifier for the object.
    public var id: String
    /// Amount in cents to be transferred.
    public var amount: Int?
    /// Three-letter ISO currency code, in lowercase. Must be a supported currency.
    public var currency: Currency?
    /// An arbitrary string attached to the object. Often useful for displaying to users.
    public var description: String?
    /// ID of the Stripe account the tr

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key