class Stripe::TreasuryApi

Defined in:

stripe/api/treasury_api.cr

Constant Summary

GET_TREASURY_CREDIT_REVERSALS_CREDIT_REVERSAL_MAX_LENGTH_FOR_CREDIT_REVERSAL = 5000
GET_TREASURY_CREDIT_REVERSALS_MAX_LENGTH_FOR_ENDING_BEFORE = 5000
GET_TREASURY_CREDIT_REVERSALS_MAX_LENGTH_FOR_RECEIVED_CREDIT = 5000
GET_TREASURY_CREDIT_REVERSALS_MAX_LENGTH_FOR_STARTING_AFTER = 5000
GET_TREASURY_CREDIT_REVERSALS_VALID_VALUES_FOR_STATUS = String.static_array("canceled", "posted", "processing")
GET_TREASURY_DEBIT_REVERSALS_DEBIT_REVERSAL_MAX_LENGTH_FOR_DEBIT_REVERSAL = 5000
GET_TREASURY_DEBIT_REVERSALS_MAX_LENGTH_FOR_ENDING_BEFORE = 5000
GET_TREASURY_DEBIT_REVERSALS_MAX_LENGTH_FOR_RECEIVED_DEBIT = 5000
GET_TREASURY_DEBIT_REVERSALS_MAX_LENGTH_FOR_STARTING_AFTER = 5000
GET_TREASURY_DEBIT_REVERSALS_VALID_VALUES_FOR_RESOLUTION = String.static_array("lost", "won")
GET_TREASURY_DEBIT_REVERSALS_VALID_VALUES_FOR_STATUS = String.static_array("canceled", "completed", "processing")
GET_TREASURY_FINANCIAL_ACCOUNTS_FINANCIAL_ACCOUNT_FEATURES_MAX_LENGTH_FOR_FINANCIAL_ACCOUNT = 5000
GET_TREASURY_FINANCIAL_ACCOUNTS_FINANCIAL_ACCOUNT_MAX_LENGTH_FOR_FINANCIAL_ACCOUNT = 5000
GET_TREASURY_FINANCIAL_ACCOUNTS_MAX_LENGTH_FOR_ENDING_BEFORE = 5000
GET_TREASURY_FINANCIAL_ACCOUNTS_MAX_LENGTH_FOR_STARTING_AFTER = 5000
GET_TREASURY_INBOUND_TRANSFERS_ID_MAX_LENGTH_FOR_ID = 5000
GET_TREASURY_INBOUND_TRANSFERS_MAX_LENGTH_FOR_ENDING_BEFORE = 5000
GET_TREASURY_INBOUND_TRANSFERS_MAX_LENGTH_FOR_STARTING_AFTER = 5000
GET_TREASURY_INBOUND_TRANSFERS_VALID_VALUES_FOR_STATUS = String.static_array("canceled", "failed", "processing", "succeeded")
GET_TREASURY_OUTBOUND_PAYMENTS_ID_MAX_LENGTH_FOR_ID = 5000
GET_TREASURY_OUTBOUND_PAYMENTS_MAX_LENGTH_FOR_CUSTOMER = 5000
GET_TREASURY_OUTBOUND_PAYMENTS_MAX_LENGTH_FOR_ENDING_BEFORE = 5000
GET_TREASURY_OUTBOUND_PAYMENTS_MAX_LENGTH_FOR_STARTING_AFTER = 5000
GET_TREASURY_OUTBOUND_PAYMENTS_VALID_VALUES_FOR_STATUS = String.static_array("canceled", "failed", "posted", "processing", "returned")
GET_TREASURY_OUTBOUND_TRANSFERS_MAX_LENGTH_FOR_ENDING_BEFORE = 5000
GET_TREASURY_OUTBOUND_TRANSFERS_MAX_LENGTH_FOR_STARTING_AFTER = 5000
GET_TREASURY_OUTBOUND_TRANSFERS_OUTBOUND_TRANSFER_MAX_LENGTH_FOR_OUTBOUND_TRANSFER = 5000
GET_TREASURY_OUTBOUND_TRANSFERS_VALID_VALUES_FOR_STATUS = String.static_array("canceled", "failed", "posted", "processing", "returned")
GET_TREASURY_RECEIVED_CREDITS_ID_MAX_LENGTH_FOR_ID = 5000
GET_TREASURY_RECEIVED_CREDITS_MAX_LENGTH_FOR_ENDING_BEFORE = 5000
GET_TREASURY_RECEIVED_CREDITS_MAX_LENGTH_FOR_STARTING_AFTER = 5000
GET_TREASURY_RECEIVED_CREDITS_VALID_VALUES_FOR_STATUS = String.static_array("failed", "succeeded")
GET_TREASURY_RECEIVED_DEBITS_ID_MAX_LENGTH_FOR_ID = 5000
GET_TREASURY_RECEIVED_DEBITS_MAX_LENGTH_FOR_ENDING_BEFORE = 5000
GET_TREASURY_RECEIVED_DEBITS_MAX_LENGTH_FOR_STARTING_AFTER = 5000
GET_TREASURY_RECEIVED_DEBITS_VALID_VALUES_FOR_STATUS = String.static_array("failed", "succeeded")
GET_TREASURY_TRANSACTION_ENTRIES_ID_MAX_LENGTH_FOR_ID = 5000
GET_TREASURY_TRANSACTION_ENTRIES_MAX_LENGTH_FOR_ENDING_BEFORE = 5000
GET_TREASURY_TRANSACTION_ENTRIES_MAX_LENGTH_FOR_STARTING_AFTER = 5000
GET_TREASURY_TRANSACTION_ENTRIES_MAX_LENGTH_FOR_TRANSACTION = 5000
GET_TREASURY_TRANSACTION_ENTRIES_VALID_VALUES_FOR_ORDER_BY = String.static_array("created", "effective_at")
GET_TREASURY_TRANSACTIONS_ID_MAX_LENGTH_FOR_ID = 5000
GET_TREASURY_TRANSACTIONS_MAX_LENGTH_FOR_ENDING_BEFORE = 5000
GET_TREASURY_TRANSACTIONS_MAX_LENGTH_FOR_STARTING_AFTER = 5000
GET_TREASURY_TRANSACTIONS_VALID_VALUES_FOR_ORDER_BY = String.static_array("created", "posted_at")
GET_TREASURY_TRANSACTIONS_VALID_VALUES_FOR_STATUS = String.static_array("open", "posted", "void")
POST_TREASURY_CREDIT_REVERSALS_MAX_LENGTH_FOR_RECEIVED_CREDIT = 5000
POST_TREASURY_DEBIT_REVERSALS_MAX_LENGTH_FOR_RECEIVED_DEBIT = 5000
POST_TREASURY_FINANCIAL_ACCOUNTS_FINANCIAL_ACCOUNT_FEATURES_MAX_LENGTH_FOR_FINANCIAL_ACCOUNT = 5000
POST_TREASURY_FINANCIAL_ACCOUNTS_FINANCIAL_ACCOUNT_MAX_LENGTH_FOR_FINANCIAL_ACCOUNT = 5000
POST_TREASURY_INBOUND_TRANSFERS_INBOUND_TRANSFER_CANCEL_MAX_LENGTH_FOR_INBOUND_TRANSFER = 5000
POST_TREASURY_INBOUND_TRANSFERS_MAX_LENGTH_FOR_DESCRIPTION = 5000
POST_TREASURY_INBOUND_TRANSFERS_MAX_LENGTH_FOR_ORIGIN_PAYMENT_METHOD = 5000
POST_TREASURY_INBOUND_TRANSFERS_MAX_LENGTH_FOR_STATEMENT_DESCRIPTOR = 10
POST_TREASURY_OUTBOUND_PAYMENTS_ID_CANCEL_MAX_LENGTH_FOR_ID = 5000
POST_TREASURY_OUTBOUND_PAYMENTS_MAX_LENGTH_FOR_CUSTOMER = 5000
POST_TREASURY_OUTBOUND_PAYMENTS_MAX_LENGTH_FOR_DESCRIPTION = 5000
POST_TREASURY_OUTBOUND_PAYMENTS_MAX_LENGTH_FOR_DESTINATION_PAYMENT_METHOD = 5000
POST_TREASURY_OUTBOUND_PAYMENTS_MAX_LENGTH_FOR_STATEMENT_DESCRIPTOR = 5000
POST_TREASURY_OUTBOUND_TRANSFERS_MAX_LENGTH_FOR_DESCRIPTION = 5000
POST_TREASURY_OUTBOUND_TRANSFERS_MAX_LENGTH_FOR_DESTINATION_PAYMENT_METHOD = 5000
POST_TREASURY_OUTBOUND_TRANSFERS_MAX_LENGTH_FOR_STATEMENT_DESCRIPTOR = 5000
POST_TREASURY_OUTBOUND_TRANSFERS_OUTBOUND_TRANSFER_CANCEL_MAX_LENGTH_FOR_OUTBOUND_TRANSFER = 5000

Constructors

Instance Method Summary

Constructor Detail

def self.new(api_client : Stripe::ApiClient = ApiClient.default) #

[View source]

Instance Method Detail

def api_client : ApiClient #

[View source]
def api_client=(api_client : ApiClient) #

[View source]
def build_api_request_for_get_treasury_credit_reversals(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, received_credit : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_credit_reversals_credit_reversal(*, credit_reversal : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_debit_reversals(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, resolution : String | Nil = nil, status : String | Nil = nil, received_debit : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_debit_reversals_debit_reversal(*, debit_reversal : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_financial_accounts(*, limit : Int64 | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_financial_accounts_financial_account(*, financial_account : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_financial_accounts_financial_account_features(*, financial_account : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_inbound_transfers(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_inbound_transfers_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_outbound_payments(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, customer : String | Nil = nil, status : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_outbound_payments_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_outbound_transfers(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_outbound_transfers_outbound_transfer(*, outbound_transfer : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_received_credits(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, linked_flows : Stripe::LinkedFlowsParam | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_received_credits_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_received_debits(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_received_debits_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_transaction_entries(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, transaction : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil, order_by : String | Nil = nil, effective_at : Stripe::GetAccountsCreatedParameter | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_transaction_entries_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_transactions(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, status_transitions : Stripe::StatusTransitionTimestampSpecs | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil, order_by : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_get_treasury_transactions_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_post_treasury_credit_reversals(*, received_credit : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_post_treasury_debit_reversals(*, received_debit : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_post_treasury_financial_accounts(*, supported_currencies : Array(String) | Nil = nil, expand : Array(String) | Nil = nil, features : Stripe::FeatureAccess | Nil = nil, metadata : Hash(String, String) | Nil = nil, platform_restrictions : Stripe::PlatformRestrictions | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_post_treasury_financial_accounts_financial_account(*, financial_account : String | Nil = nil, expand : Array(String) | Nil = nil, features : Stripe::FeatureAccess | Nil = nil, metadata : Hash(String, String) | Nil = nil, platform_restrictions : Stripe::PlatformRestrictions | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_post_treasury_financial_accounts_financial_account_features(*, financial_account : String | Nil = nil, card_issuing : Stripe::Access | Nil = nil, deposit_insurance : Stripe::Access | Nil = nil, expand : Array(String) | Nil = nil, financial_addresses : Stripe::FinancialAddresses | Nil = nil, inbound_transfers : Stripe::InboundTransfers | Nil = nil, intra_stripe_flows : Stripe::Access | Nil = nil, outbound_payments : Stripe::OutboundPayments | Nil = nil, outbound_transfers : Stripe::OutboundTransfers | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_post_treasury_inbound_transfers(*, amount : Int64 | Nil = nil, currency : String | Nil = nil, financial_account : String | Nil = nil, origin_payment_method : String | Nil = nil, description : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, statement_descriptor : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_post_treasury_inbound_transfers_inbound_transfer_cancel(*, inbound_transfer : String | Nil = nil, expand : Array(String) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_post_treasury_outbound_payments(*, amount : Int64 | Nil = nil, currency : String | Nil = nil, financial_account : String | Nil = nil, customer : String | Nil = nil, description : String | Nil = nil, destination_payment_method : String | Nil = nil, destination_payment_method_data : Stripe::PaymentMethodData | Nil = nil, destination_payment_method_options : Stripe::PaymentMethodOptions | Nil = nil, end_user_details : Stripe::EndUserDetailsParams | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, statement_descriptor : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_post_treasury_outbound_payments_id_cancel(*, id : String | Nil = nil, expand : Array(String) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_post_treasury_outbound_transfers(*, amount : Int64 | Nil = nil, currency : String | Nil = nil, financial_account : String | Nil = nil, description : String | Nil = nil, destination_payment_method : String | Nil = nil, destination_payment_method_options : Stripe::PaymentMethodOptions | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, statement_descriptor : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_post_treasury_outbound_transfers_outbound_transfer_cancel(*, outbound_transfer : String | Nil = nil, expand : Array(String) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def client_side_validation?(*args, **options) #

[View source]
def client_side_validation?(*args, **options, &) #

[View source]
def debugging?(*args, **options) #

[View source]
def debugging?(*args, **options, &) #

[View source]
def get_treasury_credit_reversals(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, received_credit : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryReceivedCreditsResourceCreditReversalList #

Returns a list of CreditReversals.

@required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return CreditReversals for a given status. @optional @param received_credit [String?] Only return CreditReversals for the ReceivedCredit ID. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryReceivedCreditsResourceCreditReversalList]

[View source]
def get_treasury_credit_reversals(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, received_credit : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Returns a list of CreditReversals.</p> @required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return CreditReversals for a given status. @optional @param received_credit [String?] Only return CreditReversals for the ReceivedCredit ID. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_credit_reversals_credit_reversal(*, credit_reversal : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryCreditReversal #

Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list

@required @param credit_reversal [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryCreditReversal]

[View source]
def get_treasury_credit_reversals_credit_reversal(*, credit_reversal : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list</p> @required @param credit_reversal [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_credit_reversals_credit_reversal_with_http_info(*, credit_reversal : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryCreditReversal, Int32, Hash(String, Array(String) | String)) #

<p>Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list</p> @required @param credit_reversal [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryCreditReversal, Integer, Hash)] Stripe::TreasuryCreditReversal, response status code and response headers


[View source]
def get_treasury_credit_reversals_with_http_info(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, received_credit : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryReceivedCreditsResourceCreditReversalList, Int32, Hash(String, Array(String) | String)) #

<p>Returns a list of CreditReversals.</p> @required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return CreditReversals for a given status. @optional @param received_credit [String?] Only return CreditReversals for the ReceivedCredit ID. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryReceivedCreditsResourceCreditReversalList, Integer, Hash)] Stripe::TreasuryReceivedCreditsResourceCreditReversalList, response status code and response headers


[View source]
def get_treasury_debit_reversals(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, resolution : String | Nil = nil, status : String | Nil = nil, received_debit : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryReceivedDebitsResourceDebitReversalList #

Returns a list of DebitReversals.

@required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param resolution [String?] Only return DebitReversals for a given resolution. @optional @param status [String?] Only return DebitReversals for a given status. @optional @param received_debit [String?] Only return DebitReversals for the ReceivedDebit ID. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryReceivedDebitsResourceDebitReversalList]

[View source]
def get_treasury_debit_reversals(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, resolution : String | Nil = nil, status : String | Nil = nil, received_debit : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Returns a list of DebitReversals.</p> @required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param resolution [String?] Only return DebitReversals for a given resolution. @optional @param status [String?] Only return DebitReversals for a given status. @optional @param received_debit [String?] Only return DebitReversals for the ReceivedDebit ID. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_debit_reversals_debit_reversal(*, debit_reversal : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryDebitReversal #

Retrieves a DebitReversal object.

@required @param debit_reversal [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryDebitReversal]

[View source]
def get_treasury_debit_reversals_debit_reversal(*, debit_reversal : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Retrieves a DebitReversal object.</p> @required @param debit_reversal [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_debit_reversals_debit_reversal_with_http_info(*, debit_reversal : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryDebitReversal, Int32, Hash(String, Array(String) | String)) #

<p>Retrieves a DebitReversal object.</p> @required @param debit_reversal [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryDebitReversal, Integer, Hash)] Stripe::TreasuryDebitReversal, response status code and response headers


[View source]
def get_treasury_debit_reversals_with_http_info(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, resolution : String | Nil = nil, status : String | Nil = nil, received_debit : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryReceivedDebitsResourceDebitReversalList, Int32, Hash(String, Array(String) | String)) #

<p>Returns a list of DebitReversals.</p> @required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param resolution [String?] Only return DebitReversals for a given resolution. @optional @param status [String?] Only return DebitReversals for a given status. @optional @param received_debit [String?] Only return DebitReversals for the ReceivedDebit ID. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryReceivedDebitsResourceDebitReversalList, Integer, Hash)] Stripe::TreasuryReceivedDebitsResourceDebitReversalList, response status code and response headers


[View source]
def get_treasury_financial_accounts(*, limit : Int64 | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryFinancialAccountsResourceFinancialAccountList #

Returns a list of FinancialAccounts.

@optional @param limit [Int32?] A limit ranging from 1 to 100 (defaults to 10). @optional @param ending_before [String?] An object ID cursor for use in pagination. @optional @param starting_after [String?] An object ID cursor for use in pagination. @optional @param created [Stripe::GetAccountsCreatedParameter?] Only return FinancialAccounts that were created during the given date interval. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryFinancialAccountsResourceFinancialAccountList]

[View source]
def get_treasury_financial_accounts(*, limit : Int64 | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Returns a list of FinancialAccounts.</p> @optional @param limit [Int32?] A limit ranging from 1 to 100 (defaults to 10). @optional @param ending_before [String?] An object ID cursor for use in pagination. @optional @param starting_after [String?] An object ID cursor for use in pagination. @optional @param created [Stripe::GetAccountsCreatedParameter?] Only return FinancialAccounts that were created during the given date interval. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_financial_accounts_financial_account(*, financial_account : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryFinancialAccount #

Retrieves the details of a FinancialAccount.

@required @param financial_account [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryFinancialAccount]

[View source]
def get_treasury_financial_accounts_financial_account(*, financial_account : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Retrieves the details of a FinancialAccount.</p> @required @param financial_account [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_financial_accounts_financial_account_features(*, financial_account : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryFinancialAccountFeatures #

Retrieves Features information associated with the FinancialAccount.

@required @param financial_account [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryFinancialAccountFeatures]

[View source]
def get_treasury_financial_accounts_financial_account_features(*, financial_account : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Retrieves Features information associated with the FinancialAccount.</p> @required @param financial_account [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_financial_accounts_financial_account_features_with_http_info(*, financial_account : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryFinancialAccountFeatures, Int32, Hash(String, Array(String) | String)) #

<p>Retrieves Features information associated with the FinancialAccount.</p> @required @param financial_account [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryFinancialAccountFeatures, Integer, Hash)] Stripe::TreasuryFinancialAccountFeatures, response status code and response headers


[View source]
def get_treasury_financial_accounts_financial_account_with_http_info(*, financial_account : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryFinancialAccount, Int32, Hash(String, Array(String) | String)) #

<p>Retrieves the details of a FinancialAccount.</p> @required @param financial_account [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryFinancialAccount, Integer, Hash)] Stripe::TreasuryFinancialAccount, response status code and response headers


[View source]
def get_treasury_financial_accounts_with_http_info(*, limit : Int64 | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryFinancialAccountsResourceFinancialAccountList, Int32, Hash(String, Array(String) | String)) #

<p>Returns a list of FinancialAccounts.</p> @optional @param limit [Int32?] A limit ranging from 1 to 100 (defaults to 10). @optional @param ending_before [String?] An object ID cursor for use in pagination. @optional @param starting_after [String?] An object ID cursor for use in pagination. @optional @param created [Stripe::GetAccountsCreatedParameter?] Only return FinancialAccounts that were created during the given date interval. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryFinancialAccountsResourceFinancialAccountList, Integer, Hash)] Stripe::TreasuryFinancialAccountsResourceFinancialAccountList, response status code and response headers


[View source]
def get_treasury_inbound_transfers(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryInboundTransfersResourceInboundTransferList #

Returns a list of InboundTransfers sent from the specified FinancialAccount.

@required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return InboundTransfers that have the given status: `processing`, `succeeded`, `failed` or `canceled`. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryInboundTransfersResourceInboundTransferList]

[View source]
def get_treasury_inbound_transfers(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Returns a list of InboundTransfers sent from the specified FinancialAccount.</p> @required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return InboundTransfers that have the given status: processing, succeeded, failed or canceled. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_inbound_transfers_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryInboundTransfer #

Retrieves the details of an existing InboundTransfer.

@required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryInboundTransfer]

[View source]
def get_treasury_inbound_transfers_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Retrieves the details of an existing InboundTransfer.</p> @required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_inbound_transfers_id_with_http_info(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryInboundTransfer, Int32, Hash(String, Array(String) | String)) #

<p>Retrieves the details of an existing InboundTransfer.</p> @required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryInboundTransfer, Integer, Hash)] Stripe::TreasuryInboundTransfer, response status code and response headers


[View source]
def get_treasury_inbound_transfers_with_http_info(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryInboundTransfersResourceInboundTransferList, Int32, Hash(String, Array(String) | String)) #

<p>Returns a list of InboundTransfers sent from the specified FinancialAccount.</p> @required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return InboundTransfers that have the given status: processing, succeeded, failed or canceled. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryInboundTransfersResourceInboundTransferList, Integer, Hash)] Stripe::TreasuryInboundTransfersResourceInboundTransferList, response status code and response headers


[View source]
def get_treasury_outbound_payments(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, customer : String | Nil = nil, status : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryOutboundPaymentsResourceOutboundPaymentList #

Returns a list of OutboundPayments sent from the specified FinancialAccount.

@required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param customer [String?] Only return OutboundPayments sent to this customer. @optional @param status [String?] Only return OutboundPayments that have the given status: `processing`, `failed`, `posted`, `returned`, or `canceled`. @optional @param created [Stripe::GetAccountsCreatedParameter?] Only return OutboundPayments that were created during the given date interval. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryOutboundPaymentsResourceOutboundPaymentList]

[View source]
def get_treasury_outbound_payments(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, customer : String | Nil = nil, status : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Returns a list of OutboundPayments sent from the specified FinancialAccount.</p> @required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param customer [String?] Only return OutboundPayments sent to this customer. @optional @param status [String?] Only return OutboundPayments that have the given status: processing, failed, posted, returned, or canceled. @optional @param created [Stripe::GetAccountsCreatedParameter?] Only return OutboundPayments that were created during the given date interval. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_outbound_payments_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryOutboundPayment #

Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list.

@required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryOutboundPayment]

[View source]
def get_treasury_outbound_payments_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list.</p> @required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_outbound_payments_id_with_http_info(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryOutboundPayment, Int32, Hash(String, Array(String) | String)) #

<p>Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list.</p> @required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryOutboundPayment, Integer, Hash)] Stripe::TreasuryOutboundPayment, response status code and response headers


[View source]
def get_treasury_outbound_payments_with_http_info(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, customer : String | Nil = nil, status : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryOutboundPaymentsResourceOutboundPaymentList, Int32, Hash(String, Array(String) | String)) #

<p>Returns a list of OutboundPayments sent from the specified FinancialAccount.</p> @required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param customer [String?] Only return OutboundPayments sent to this customer. @optional @param status [String?] Only return OutboundPayments that have the given status: processing, failed, posted, returned, or canceled. @optional @param created [Stripe::GetAccountsCreatedParameter?] Only return OutboundPayments that were created during the given date interval. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryOutboundPaymentsResourceOutboundPaymentList, Integer, Hash)] Stripe::TreasuryOutboundPaymentsResourceOutboundPaymentList, response status code and response headers


[View source]
def get_treasury_outbound_transfers(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryOutboundTransfersResourceOutboundTransferList #

Returns a list of OutboundTransfers sent from the specified FinancialAccount.

@required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return OutboundTransfers that have the given status: `processing`, `canceled`, `failed`, `posted`, or `returned`. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryOutboundTransfersResourceOutboundTransferList]

[View source]
def get_treasury_outbound_transfers(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Returns a list of OutboundTransfers sent from the specified FinancialAccount.</p> @required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return OutboundTransfers that have the given status: processing, canceled, failed, posted, or returned. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_outbound_transfers_outbound_transfer(*, outbound_transfer : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryOutboundTransfer #

Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list.

@required @param outbound_transfer [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryOutboundTransfer]

[View source]
def get_treasury_outbound_transfers_outbound_transfer(*, outbound_transfer : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list.</p> @required @param outbound_transfer [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_outbound_transfers_outbound_transfer_with_http_info(*, outbound_transfer : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryOutboundTransfer, Int32, Hash(String, Array(String) | String)) #

<p>Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list.</p> @required @param outbound_transfer [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryOutboundTransfer, Integer, Hash)] Stripe::TreasuryOutboundTransfer, response status code and response headers


[View source]
def get_treasury_outbound_transfers_with_http_info(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryOutboundTransfersResourceOutboundTransferList, Int32, Hash(String, Array(String) | String)) #

<p>Returns a list of OutboundTransfers sent from the specified FinancialAccount.</p> @required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return OutboundTransfers that have the given status: processing, canceled, failed, posted, or returned. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryOutboundTransfersResourceOutboundTransferList, Integer, Hash)] Stripe::TreasuryOutboundTransfersResourceOutboundTransferList, response status code and response headers


[View source]
def get_treasury_received_credits(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, linked_flows : Stripe::LinkedFlowsParam | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryReceivedCreditsResourceReceivedCreditList #

Returns a list of ReceivedCredits.

@required @param financial_account [String?] The FinancialAccount that received the funds. @optional @param ending_before [String?] A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param linked_flows [Stripe::LinkedFlowsParam?] Only return ReceivedCredits described by the flow. @optional @param status [String?] Only return ReceivedCredits that have the given status: `succeeded` or `failed`. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryReceivedCreditsResourceReceivedCreditList]

[View source]
def get_treasury_received_credits(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, linked_flows : Stripe::LinkedFlowsParam | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Returns a list of ReceivedCredits.</p> @required @param financial_account [String?] The FinancialAccount that received the funds. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param linked_flows [Stripe::LinkedFlowsParam?] Only return ReceivedCredits described by the flow. @optional @param status [String?] Only return ReceivedCredits that have the given status: succeeded or failed. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_received_credits_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryReceivedCredit #

Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.

@required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryReceivedCredit]

[View source]
def get_treasury_received_credits_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.</p> @required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_received_credits_id_with_http_info(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryReceivedCredit, Int32, Hash(String, Array(String) | String)) #

<p>Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.</p> @required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryReceivedCredit, Integer, Hash)] Stripe::TreasuryReceivedCredit, response status code and response headers


[View source]
def get_treasury_received_credits_with_http_info(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, linked_flows : Stripe::LinkedFlowsParam | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryReceivedCreditsResourceReceivedCreditList, Int32, Hash(String, Array(String) | String)) #

<p>Returns a list of ReceivedCredits.</p> @required @param financial_account [String?] The FinancialAccount that received the funds. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param linked_flows [Stripe::LinkedFlowsParam?] Only return ReceivedCredits described by the flow. @optional @param status [String?] Only return ReceivedCredits that have the given status: succeeded or failed. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryReceivedCreditsResourceReceivedCreditList, Integer, Hash)] Stripe::TreasuryReceivedCreditsResourceReceivedCreditList, response status code and response headers


[View source]
def get_treasury_received_debits(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryReceivedDebitsResourceReceivedDebitList #

Returns a list of ReceivedDebits.

@required @param financial_account [String?] The FinancialAccount that funds were pulled from. @optional @param ending_before [String?] A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return ReceivedDebits that have the given status: `succeeded` or `failed`. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryReceivedDebitsResourceReceivedDebitList]

[View source]
def get_treasury_received_debits(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Returns a list of ReceivedDebits.</p> @required @param financial_account [String?] The FinancialAccount that funds were pulled from. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return ReceivedDebits that have the given status: succeeded or failed. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_received_debits_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryReceivedDebit #

Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list

@required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryReceivedDebit]

[View source]
def get_treasury_received_debits_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list</p> @required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_received_debits_id_with_http_info(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryReceivedDebit, Int32, Hash(String, Array(String) | String)) #

<p>Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list</p> @required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryReceivedDebit, Integer, Hash)] Stripe::TreasuryReceivedDebit, response status code and response headers


[View source]
def get_treasury_received_debits_with_http_info(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryReceivedDebitsResourceReceivedDebitList, Int32, Hash(String, Array(String) | String)) #

<p>Returns a list of ReceivedDebits.</p> @required @param financial_account [String?] The FinancialAccount that funds were pulled from. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return ReceivedDebits that have the given status: succeeded or failed. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryReceivedDebitsResourceReceivedDebitList, Integer, Hash)] Stripe::TreasuryReceivedDebitsResourceReceivedDebitList, response status code and response headers


[View source]
def get_treasury_transaction_entries(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, transaction : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil, order_by : String | Nil = nil, effective_at : Stripe::GetAccountsCreatedParameter | Nil = nil) : Stripe::TreasuryTransactionsResourceTransactionEntryList #

Retrieves a list of TransactionEntry objects.

@required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param transaction [String?] Only return TransactionEntries associated with this Transaction. @optional @param created [Stripe::GetAccountsCreatedParameter?] Only return TransactionEntries that were created during the given date interval. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @optional @param order_by [String?] The results are in reverse chronological order by `created` or `effective_at`. The default is `created`. @optional @param effective_at [Stripe::GetAccountsCreatedParameter?] @return [Stripe::TreasuryTransactionsResourceTransactionEntryList]

[View source]
def get_treasury_transaction_entries(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, transaction : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil, order_by : String | Nil = nil, effective_at : Stripe::GetAccountsCreatedParameter | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Retrieves a list of TransactionEntry objects.</p> @required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param transaction [String?] Only return TransactionEntries associated with this Transaction. @optional @param created [Stripe::GetAccountsCreatedParameter?] Only return TransactionEntries that were created during the given date interval. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @optional @param order_by [String?] The results are in reverse chronological order by created or effective_at. The default is created. @optional @param effective_at [Stripe::GetAccountsCreatedParameter?] @return nil


[View source]
def get_treasury_transaction_entries_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryTransactionEntry #

Retrieves a TransactionEntry object.

@required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryTransactionEntry]

[View source]
def get_treasury_transaction_entries_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Retrieves a TransactionEntry object.</p> @required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_transaction_entries_id_with_http_info(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryTransactionEntry, Int32, Hash(String, Array(String) | String)) #

<p>Retrieves a TransactionEntry object.</p> @required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryTransactionEntry, Integer, Hash)] Stripe::TreasuryTransactionEntry, response status code and response headers


[View source]
def get_treasury_transaction_entries_with_http_info(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, transaction : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil, order_by : String | Nil = nil, effective_at : Stripe::GetAccountsCreatedParameter | Nil = nil) : Tuple(Stripe::TreasuryTransactionsResourceTransactionEntryList, Int32, Hash(String, Array(String) | String)) #

<p>Retrieves a list of TransactionEntry objects.</p> @required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param transaction [String?] Only return TransactionEntries associated with this Transaction. @optional @param created [Stripe::GetAccountsCreatedParameter?] Only return TransactionEntries that were created during the given date interval. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @optional @param order_by [String?] The results are in reverse chronological order by created or effective_at. The default is created. @optional @param effective_at [Stripe::GetAccountsCreatedParameter?] @return [Tuple(Stripe::TreasuryTransactionsResourceTransactionEntryList, Integer, Hash)] Stripe::TreasuryTransactionsResourceTransactionEntryList, response status code and response headers


[View source]
def get_treasury_transactions(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, status_transitions : Stripe::StatusTransitionTimestampSpecs | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil, order_by : String | Nil = nil) : Stripe::TreasuryTransactionsResourceTransactionList #

Retrieves a list of Transaction objects.

@required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. @optional @param status_transitions [Stripe::StatusTransitionTimestampSpecs?] A filter for the `status_transitions.posted_at` timestamp. When using this filter, `status=posted` and `order_by=posted_at` must also be specified. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return Transactions that have the given status: `open`, `posted`, or `void`. @optional @param created [Stripe::GetAccountsCreatedParameter?] Only return Transactions that were created during the given date interval. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @optional @param order_by [String?] The results are in reverse chronological order by `created` or `posted_at`. The default is `created`. @return [Stripe::TreasuryTransactionsResourceTransactionList]

[View source]
def get_treasury_transactions(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, status_transitions : Stripe::StatusTransitionTimestampSpecs | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil, order_by : String | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Retrieves a list of Transaction objects.</p> @required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param status_transitions [Stripe::StatusTransitionTimestampSpecs?] A filter for the status_transitions.posted_at timestamp. When using this filter, status=posted and order_by=posted_at must also be specified. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return Transactions that have the given status: open, posted, or void. @optional @param created [Stripe::GetAccountsCreatedParameter?] Only return Transactions that were created during the given date interval. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @optional @param order_by [String?] The results are in reverse chronological order by created or posted_at. The default is created. @return nil


[View source]
def get_treasury_transactions_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::TreasuryTransaction #

Retrieves the details of an existing Transaction.

@required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryTransaction]

[View source]
def get_treasury_transactions_id(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Retrieves the details of an existing Transaction.</p> @required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil


[View source]
def get_treasury_transactions_id_with_http_info(*, id : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::TreasuryTransaction, Int32, Hash(String, Array(String) | String)) #

<p>Retrieves the details of an existing Transaction.</p> @required @param id [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryTransaction, Integer, Hash)] Stripe::TreasuryTransaction, response status code and response headers


[View source]
def get_treasury_transactions_with_http_info(*, financial_account : String | Nil = nil, ending_before : String | Nil = nil, starting_after : String | Nil = nil, status_transitions : Stripe::StatusTransitionTimestampSpecs | Nil = nil, limit : Int64 | Nil = nil, status : String | Nil = nil, created : Stripe::GetAccountsCreatedParameter | Nil = nil, expand : Array(Array(String)) | Nil = nil, order_by : String | Nil = nil) : Tuple(Stripe::TreasuryTransactionsResourceTransactionList, Int32, Hash(String, Array(String) | String)) #

<p>Retrieves a list of Transaction objects.</p> @required @param financial_account [String?] Returns objects associated with this FinancialAccount. @optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list. @optional @param status_transitions [Stripe::StatusTransitionTimestampSpecs?] A filter for the status_transitions.posted_at timestamp. When using this filter, status=posted and order_by=posted_at must also be specified. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param status [String?] Only return Transactions that have the given status: open, posted, or void. @optional @param created [Stripe::GetAccountsCreatedParameter?] Only return Transactions that were created during the given date interval. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @optional @param order_by [String?] The results are in reverse chronological order by created or posted_at. The default is created. @return [Tuple(Stripe::TreasuryTransactionsResourceTransactionList, Integer, Hash)] Stripe::TreasuryTransactionsResourceTransactionList, response status code and response headers


[View source]
def post_treasury_credit_reversals(*, received_credit : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil) : Stripe::TreasuryCreditReversal #

Reverses a ReceivedCredit and creates a CreditReversal object.

@required @param received_credit [String?] The ReceivedCredit to reverse. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @return [Stripe::TreasuryCreditReversal]

[View source]
def post_treasury_credit_reversals(*, received_credit : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Reverses a ReceivedCredit and creates a CreditReversal object.</p> @required @param received_credit [String?] The ReceivedCredit to reverse. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @return nil


[View source]
def post_treasury_credit_reversals_with_http_info(*, received_credit : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil) : Tuple(Stripe::TreasuryCreditReversal, Int32, Hash(String, Array(String) | String)) #

<p>Reverses a ReceivedCredit and creates a CreditReversal object.</p> @required @param received_credit [String?] The ReceivedCredit to reverse. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @return [Tuple(Stripe::TreasuryCreditReversal, Integer, Hash)] Stripe::TreasuryCreditReversal, response status code and response headers


[View source]
def post_treasury_debit_reversals(*, received_debit : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil) : Stripe::TreasuryDebitReversal #

Reverses a ReceivedDebit and creates a DebitReversal object.

@required @param received_debit [String?] The ReceivedDebit to reverse. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @return [Stripe::TreasuryDebitReversal]

[View source]
def post_treasury_debit_reversals(*, received_debit : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Reverses a ReceivedDebit and creates a DebitReversal object.</p> @required @param received_debit [String?] The ReceivedDebit to reverse. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @return nil


[View source]
def post_treasury_debit_reversals_with_http_info(*, received_debit : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil) : Tuple(Stripe::TreasuryDebitReversal, Int32, Hash(String, Array(String) | String)) #

<p>Reverses a ReceivedDebit and creates a DebitReversal object.</p> @required @param received_debit [String?] The ReceivedDebit to reverse. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @return [Tuple(Stripe::TreasuryDebitReversal, Integer, Hash)] Stripe::TreasuryDebitReversal, response status code and response headers


[View source]
def post_treasury_financial_accounts(*, supported_currencies : Array(String) | Nil = nil, expand : Array(String) | Nil = nil, features : Stripe::FeatureAccess | Nil = nil, metadata : Hash(String, String) | Nil = nil, platform_restrictions : Stripe::PlatformRestrictions | Nil = nil) : Stripe::TreasuryFinancialAccount #

Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.

@required @param supported_currencies [Array(String)?] The currencies the FinancialAccount can hold a balance in. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param features [Stripe::FeatureAccess?] @optional @param metadata [Hash(String, String)?] @optional @param platform_restrictions [Stripe::PlatformRestrictions?] @return [Stripe::TreasuryFinancialAccount]

[View source]
def post_treasury_financial_accounts(*, supported_currencies : Array(String) | Nil = nil, expand : Array(String) | Nil = nil, features : Stripe::FeatureAccess | Nil = nil, metadata : Hash(String, String) | Nil = nil, platform_restrictions : Stripe::PlatformRestrictions | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.</p> @required @param supported_currencies [Array(String)?] The currencies the FinancialAccount can hold a balance in. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param features [Stripe::FeatureAccess?] @optional @param metadata [Hash(String, String)?] @optional @param platform_restrictions [Stripe::PlatformRestrictions?] @return nil


[View source]
def post_treasury_financial_accounts_financial_account(*, financial_account : String | Nil = nil, expand : Array(String) | Nil = nil, features : Stripe::FeatureAccess | Nil = nil, metadata : Hash(String, String) | Nil = nil, platform_restrictions : Stripe::PlatformRestrictions | Nil = nil) : Stripe::TreasuryFinancialAccount #

Updates the details of a FinancialAccount.

@required @param financial_account [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param features [Stripe::FeatureAccess?] @optional @param metadata [Hash(String, String)?] @optional @param platform_restrictions [Stripe::PlatformRestrictions?] @return [Stripe::TreasuryFinancialAccount]

[View source]
def post_treasury_financial_accounts_financial_account(*, financial_account : String | Nil = nil, expand : Array(String) | Nil = nil, features : Stripe::FeatureAccess | Nil = nil, metadata : Hash(String, String) | Nil = nil, platform_restrictions : Stripe::PlatformRestrictions | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Updates the details of a FinancialAccount.</p> @required @param financial_account [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param features [Stripe::FeatureAccess?] @optional @param metadata [Hash(String, String)?] @optional @param platform_restrictions [Stripe::PlatformRestrictions?] @return nil


[View source]
def post_treasury_financial_accounts_financial_account_features(*, financial_account : String | Nil = nil, card_issuing : Stripe::Access | Nil = nil, deposit_insurance : Stripe::Access | Nil = nil, expand : Array(String) | Nil = nil, financial_addresses : Stripe::FinancialAddresses | Nil = nil, inbound_transfers : Stripe::InboundTransfers | Nil = nil, intra_stripe_flows : Stripe::Access | Nil = nil, outbound_payments : Stripe::OutboundPayments | Nil = nil, outbound_transfers : Stripe::OutboundTransfers | Nil = nil) : Stripe::TreasuryFinancialAccountFeatures #

Updates the Features associated with a FinancialAccount.

@required @param financial_account [String?] @optional @param card_issuing [Stripe::Access?] @optional @param deposit_insurance [Stripe::Access?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param financial_addresses [Stripe::FinancialAddresses?] @optional @param inbound_transfers [Stripe::InboundTransfers?] @optional @param intra_stripe_flows [Stripe::Access?] @optional @param outbound_payments [Stripe::OutboundPayments?] @optional @param outbound_transfers [Stripe::OutboundTransfers?] @return [Stripe::TreasuryFinancialAccountFeatures]

[View source]
def post_treasury_financial_accounts_financial_account_features(*, financial_account : String | Nil = nil, card_issuing : Stripe::Access | Nil = nil, deposit_insurance : Stripe::Access | Nil = nil, expand : Array(String) | Nil = nil, financial_addresses : Stripe::FinancialAddresses | Nil = nil, inbound_transfers : Stripe::InboundTransfers | Nil = nil, intra_stripe_flows : Stripe::Access | Nil = nil, outbound_payments : Stripe::OutboundPayments | Nil = nil, outbound_transfers : Stripe::OutboundTransfers | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Updates the Features associated with a FinancialAccount.</p> @required @param financial_account [String?] @optional @param card_issuing [Stripe::Access?] @optional @param deposit_insurance [Stripe::Access?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param financial_addresses [Stripe::FinancialAddresses?] @optional @param inbound_transfers [Stripe::InboundTransfers?] @optional @param intra_stripe_flows [Stripe::Access?] @optional @param outbound_payments [Stripe::OutboundPayments?] @optional @param outbound_transfers [Stripe::OutboundTransfers?] @return nil


[View source]
def post_treasury_financial_accounts_financial_account_features_with_http_info(*, financial_account : String | Nil = nil, card_issuing : Stripe::Access | Nil = nil, deposit_insurance : Stripe::Access | Nil = nil, expand : Array(String) | Nil = nil, financial_addresses : Stripe::FinancialAddresses | Nil = nil, inbound_transfers : Stripe::InboundTransfers | Nil = nil, intra_stripe_flows : Stripe::Access | Nil = nil, outbound_payments : Stripe::OutboundPayments | Nil = nil, outbound_transfers : Stripe::OutboundTransfers | Nil = nil) : Tuple(Stripe::TreasuryFinancialAccountFeatures, Int32, Hash(String, Array(String) | String)) #

<p>Updates the Features associated with a FinancialAccount.</p> @required @param financial_account [String?] @optional @param card_issuing [Stripe::Access?] @optional @param deposit_insurance [Stripe::Access?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param financial_addresses [Stripe::FinancialAddresses?] @optional @param inbound_transfers [Stripe::InboundTransfers?] @optional @param intra_stripe_flows [Stripe::Access?] @optional @param outbound_payments [Stripe::OutboundPayments?] @optional @param outbound_transfers [Stripe::OutboundTransfers?] @return [Tuple(Stripe::TreasuryFinancialAccountFeatures, Integer, Hash)] Stripe::TreasuryFinancialAccountFeatures, response status code and response headers


[View source]
def post_treasury_financial_accounts_financial_account_with_http_info(*, financial_account : String | Nil = nil, expand : Array(String) | Nil = nil, features : Stripe::FeatureAccess | Nil = nil, metadata : Hash(String, String) | Nil = nil, platform_restrictions : Stripe::PlatformRestrictions | Nil = nil) : Tuple(Stripe::TreasuryFinancialAccount, Int32, Hash(String, Array(String) | String)) #

<p>Updates the details of a FinancialAccount.</p> @required @param financial_account [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param features [Stripe::FeatureAccess?] @optional @param metadata [Hash(String, String)?] @optional @param platform_restrictions [Stripe::PlatformRestrictions?] @return [Tuple(Stripe::TreasuryFinancialAccount, Integer, Hash)] Stripe::TreasuryFinancialAccount, response status code and response headers


[View source]
def post_treasury_financial_accounts_with_http_info(*, supported_currencies : Array(String) | Nil = nil, expand : Array(String) | Nil = nil, features : Stripe::FeatureAccess | Nil = nil, metadata : Hash(String, String) | Nil = nil, platform_restrictions : Stripe::PlatformRestrictions | Nil = nil) : Tuple(Stripe::TreasuryFinancialAccount, Int32, Hash(String, Array(String) | String)) #

<p>Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.</p> @required @param supported_currencies [Array(String)?] The currencies the FinancialAccount can hold a balance in. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param features [Stripe::FeatureAccess?] @optional @param metadata [Hash(String, String)?] @optional @param platform_restrictions [Stripe::PlatformRestrictions?] @return [Tuple(Stripe::TreasuryFinancialAccount, Integer, Hash)] Stripe::TreasuryFinancialAccount, response status code and response headers


[View source]
def post_treasury_inbound_transfers(*, amount : Int64 | Nil = nil, currency : String | Nil = nil, financial_account : String | Nil = nil, origin_payment_method : String | Nil = nil, description : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, statement_descriptor : String | Nil = nil) : Stripe::TreasuryInboundTransfer #

Creates an InboundTransfer.

@required @param amount [Int32?] Amount (in cents) to be transferred. @required @param currency [String?] Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @required @param financial_account [String?] The FinancialAccount to send funds to. @required @param origin_payment_method [String?] The origin payment method to be debited for the InboundTransfer. @optional @param description [String?] An arbitrary string attached to the object. Often useful for displaying to users. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @optional @param statement_descriptor [String?] The complete description that appears on your customers' statements. Maximum 10 characters. @return [Stripe::TreasuryInboundTransfer]

[View source]
def post_treasury_inbound_transfers(*, amount : Int64 | Nil = nil, currency : String | Nil = nil, financial_account : String | Nil = nil, origin_payment_method : String | Nil = nil, description : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, statement_descriptor : String | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Creates an InboundTransfer.</p> @required @param amount [Int32?] Amount (in cents) to be transferred. @required @param currency [String?] Three-letter ISO currency code, in lowercase. Must be a supported currency. @required @param financial_account [String?] The FinancialAccount to send funds to. @required @param origin_payment_method [String?] The origin payment method to be debited for the InboundTransfer. @optional @param description [String?] An arbitrary string attached to the object. Often useful for displaying to users. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @optional @param statement_descriptor [String?] The complete description that appears on your customers' statements. Maximum 10 characters. @return nil


[View source]
def post_treasury_inbound_transfers_inbound_transfer_cancel(*, inbound_transfer : String | Nil = nil, expand : Array(String) | Nil = nil) : Stripe::TreasuryInboundTransfer #

Cancels an InboundTransfer.

@required @param inbound_transfer [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryInboundTransfer]

[View source]
def post_treasury_inbound_transfers_inbound_transfer_cancel(*, inbound_transfer : String | Nil = nil, expand : Array(String) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Cancels an InboundTransfer.</p> @required @param inbound_transfer [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return nil


[View source]
def post_treasury_inbound_transfers_inbound_transfer_cancel_with_http_info(*, inbound_transfer : String | Nil = nil, expand : Array(String) | Nil = nil) : Tuple(Stripe::TreasuryInboundTransfer, Int32, Hash(String, Array(String) | String)) #

<p>Cancels an InboundTransfer.</p> @required @param inbound_transfer [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryInboundTransfer, Integer, Hash)] Stripe::TreasuryInboundTransfer, response status code and response headers


[View source]
def post_treasury_inbound_transfers_with_http_info(*, amount : Int64 | Nil = nil, currency : String | Nil = nil, financial_account : String | Nil = nil, origin_payment_method : String | Nil = nil, description : String | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, statement_descriptor : String | Nil = nil) : Tuple(Stripe::TreasuryInboundTransfer, Int32, Hash(String, Array(String) | String)) #

<p>Creates an InboundTransfer.</p> @required @param amount [Int32?] Amount (in cents) to be transferred. @required @param currency [String?] Three-letter ISO currency code, in lowercase. Must be a supported currency. @required @param financial_account [String?] The FinancialAccount to send funds to. @required @param origin_payment_method [String?] The origin payment method to be debited for the InboundTransfer. @optional @param description [String?] An arbitrary string attached to the object. Often useful for displaying to users. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @optional @param statement_descriptor [String?] The complete description that appears on your customers' statements. Maximum 10 characters. @return [Tuple(Stripe::TreasuryInboundTransfer, Integer, Hash)] Stripe::TreasuryInboundTransfer, response status code and response headers


[View source]
def post_treasury_outbound_payments(*, amount : Int64 | Nil = nil, currency : String | Nil = nil, financial_account : String | Nil = nil, customer : String | Nil = nil, description : String | Nil = nil, destination_payment_method : String | Nil = nil, destination_payment_method_data : Stripe::PaymentMethodData | Nil = nil, destination_payment_method_options : Stripe::PaymentMethodOptions | Nil = nil, end_user_details : Stripe::EndUserDetailsParams | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, statement_descriptor : String | Nil = nil) : Stripe::TreasuryOutboundPayment #

Creates an OutboundPayment.

@required @param amount [Int32?] Amount (in cents) to be transferred. @required @param currency [String?] Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @required @param financial_account [String?] The FinancialAccount to pull funds from. @optional @param customer [String?] ID of the customer to whom the OutboundPayment is sent. Must match the Customer attached to the `destination_payment_method` passed in. @optional @param description [String?] An arbitrary string attached to the object. Often useful for displaying to users. @optional @param destination_payment_method [String?] The PaymentMethod to use as the payment instrument for the OutboundPayment. Exclusive with `destination_payment_method_data`. @optional @param destination_payment_method_data [Stripe::PaymentMethodData?] @optional @param destination_payment_method_options [Stripe::PaymentMethodOptions?] @optional @param end_user_details [Stripe::EndUserDetailsParams?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @optional @param statement_descriptor [String?] The description that appears on the receiving end for this OutboundPayment (for example, bank statement for external bank transfer). Maximum 10 characters for `ach` payments, 140 characters for `us_domestic_wire` payments, or 500 characters for `stripe` network transfers. The default value is \\\"payment\\\". @return [Stripe::TreasuryOutboundPayment]

[View source]
def post_treasury_outbound_payments(*, amount : Int64 | Nil = nil, currency : String | Nil = nil, financial_account : String | Nil = nil, customer : String | Nil = nil, description : String | Nil = nil, destination_payment_method : String | Nil = nil, destination_payment_method_data : Stripe::PaymentMethodData | Nil = nil, destination_payment_method_options : Stripe::PaymentMethodOptions | Nil = nil, end_user_details : Stripe::EndUserDetailsParams | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, statement_descriptor : String | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Creates an OutboundPayment.</p> @required @param amount [Int32?] Amount (in cents) to be transferred. @required @param currency [String?] Three-letter ISO currency code, in lowercase. Must be a supported currency. @required @param financial_account [String?] The FinancialAccount to pull funds from. @optional @param customer [String?] ID of the customer to whom the OutboundPayment is sent. Must match the Customer attached to the destination_payment_method passed in. @optional @param description [String?] An arbitrary string attached to the object. Often useful for displaying to users. @optional @param destination_payment_method [String?] The PaymentMethod to use as the payment instrument for the OutboundPayment. Exclusive with destination_payment_method_data. @optional @param destination_payment_method_data [Stripe::PaymentMethodData?] @optional @param destination_payment_method_options [Stripe::PaymentMethodOptions?] @optional @param end_user_details [Stripe::EndUserDetailsParams?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @optional @param statement_descriptor [String?] The description that appears on the receiving end for this OutboundPayment (for example, bank statement for external bank transfer). Maximum 10 characters for ach payments, 140 characters for us_domestic_wire payments, or 500 characters for stripe network transfers. The default value is \"payment\". @return nil


[View source]
def post_treasury_outbound_payments_id_cancel(*, id : String | Nil = nil, expand : Array(String) | Nil = nil) : Stripe::TreasuryOutboundPayment #

Cancel an OutboundPayment.

@required @param id [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryOutboundPayment]

[View source]
def post_treasury_outbound_payments_id_cancel(*, id : String | Nil = nil, expand : Array(String) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Cancel an OutboundPayment.</p> @required @param id [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return nil


[View source]
def post_treasury_outbound_payments_id_cancel_with_http_info(*, id : String | Nil = nil, expand : Array(String) | Nil = nil) : Tuple(Stripe::TreasuryOutboundPayment, Int32, Hash(String, Array(String) | String)) #

<p>Cancel an OutboundPayment.</p> @required @param id [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryOutboundPayment, Integer, Hash)] Stripe::TreasuryOutboundPayment, response status code and response headers


[View source]
def post_treasury_outbound_payments_with_http_info(*, amount : Int64 | Nil = nil, currency : String | Nil = nil, financial_account : String | Nil = nil, customer : String | Nil = nil, description : String | Nil = nil, destination_payment_method : String | Nil = nil, destination_payment_method_data : Stripe::PaymentMethodData | Nil = nil, destination_payment_method_options : Stripe::PaymentMethodOptions | Nil = nil, end_user_details : Stripe::EndUserDetailsParams | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, statement_descriptor : String | Nil = nil) : Tuple(Stripe::TreasuryOutboundPayment, Int32, Hash(String, Array(String) | String)) #

<p>Creates an OutboundPayment.</p> @required @param amount [Int32?] Amount (in cents) to be transferred. @required @param currency [String?] Three-letter ISO currency code, in lowercase. Must be a supported currency. @required @param financial_account [String?] The FinancialAccount to pull funds from. @optional @param customer [String?] ID of the customer to whom the OutboundPayment is sent. Must match the Customer attached to the destination_payment_method passed in. @optional @param description [String?] An arbitrary string attached to the object. Often useful for displaying to users. @optional @param destination_payment_method [String?] The PaymentMethod to use as the payment instrument for the OutboundPayment. Exclusive with destination_payment_method_data. @optional @param destination_payment_method_data [Stripe::PaymentMethodData?] @optional @param destination_payment_method_options [Stripe::PaymentMethodOptions?] @optional @param end_user_details [Stripe::EndUserDetailsParams?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @optional @param statement_descriptor [String?] The description that appears on the receiving end for this OutboundPayment (for example, bank statement for external bank transfer). Maximum 10 characters for ach payments, 140 characters for us_domestic_wire payments, or 500 characters for stripe network transfers. The default value is \"payment\". @return [Tuple(Stripe::TreasuryOutboundPayment, Integer, Hash)] Stripe::TreasuryOutboundPayment, response status code and response headers


[View source]
def post_treasury_outbound_transfers(*, amount : Int64 | Nil = nil, currency : String | Nil = nil, financial_account : String | Nil = nil, description : String | Nil = nil, destination_payment_method : String | Nil = nil, destination_payment_method_options : Stripe::PaymentMethodOptions | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, statement_descriptor : String | Nil = nil) : Stripe::TreasuryOutboundTransfer #

Creates an OutboundTransfer.

@required @param amount [Int32?] Amount (in cents) to be transferred. @required @param currency [String?] Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). @required @param financial_account [String?] The FinancialAccount to pull funds from. @optional @param description [String?] An arbitrary string attached to the object. Often useful for displaying to users. @optional @param destination_payment_method [String?] The PaymentMethod to use as the payment instrument for the OutboundTransfer. @optional @param destination_payment_method_options [Stripe::PaymentMethodOptions?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @optional @param statement_descriptor [String?] Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for `ach` transfers or 140 characters for `us_domestic_wire` transfers. The default value is \\\"transfer\\\". @return [Stripe::TreasuryOutboundTransfer]

[View source]
def post_treasury_outbound_transfers(*, amount : Int64 | Nil = nil, currency : String | Nil = nil, financial_account : String | Nil = nil, description : String | Nil = nil, destination_payment_method : String | Nil = nil, destination_payment_method_options : Stripe::PaymentMethodOptions | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, statement_descriptor : String | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>Creates an OutboundTransfer.</p> @required @param amount [Int32?] Amount (in cents) to be transferred. @required @param currency [String?] Three-letter ISO currency code, in lowercase. Must be a supported currency. @required @param financial_account [String?] The FinancialAccount to pull funds from. @optional @param description [String?] An arbitrary string attached to the object. Often useful for displaying to users. @optional @param destination_payment_method [String?] The PaymentMethod to use as the payment instrument for the OutboundTransfer. @optional @param destination_payment_method_options [Stripe::PaymentMethodOptions?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @optional @param statement_descriptor [String?] Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for ach transfers or 140 characters for us_domestic_wire transfers. The default value is \"transfer\". @return nil


[View source]
def post_treasury_outbound_transfers_outbound_transfer_cancel(*, outbound_transfer : String | Nil = nil, expand : Array(String) | Nil = nil) : Stripe::TreasuryOutboundTransfer #

An OutboundTransfer can be canceled if the funds have not yet been paid out.

@required @param outbound_transfer [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Stripe::TreasuryOutboundTransfer]

[View source]
def post_treasury_outbound_transfers_outbound_transfer_cancel(*, outbound_transfer : String | Nil = nil, expand : Array(String) | Nil = nil, &block : Crest::Response -> ) : Nil #

<p>An OutboundTransfer can be canceled if the funds have not yet been paid out.</p> @required @param outbound_transfer [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return nil


[View source]
def post_treasury_outbound_transfers_outbound_transfer_cancel_with_http_info(*, outbound_transfer : String | Nil = nil, expand : Array(String) | Nil = nil) : Tuple(Stripe::TreasuryOutboundTransfer, Int32, Hash(String, Array(String) | String)) #

<p>An OutboundTransfer can be canceled if the funds have not yet been paid out.</p> @required @param outbound_transfer [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::TreasuryOutboundTransfer, Integer, Hash)] Stripe::TreasuryOutboundTransfer, response status code and response headers


[View source]
def post_treasury_outbound_transfers_with_http_info(*, amount : Int64 | Nil = nil, currency : String | Nil = nil, financial_account : String | Nil = nil, description : String | Nil = nil, destination_payment_method : String | Nil = nil, destination_payment_method_options : Stripe::PaymentMethodOptions | Nil = nil, expand : Array(String) | Nil = nil, metadata : Hash(String, String) | Nil = nil, statement_descriptor : String | Nil = nil) : Tuple(Stripe::TreasuryOutboundTransfer, Int32, Hash(String, Array(String) | String)) #

<p>Creates an OutboundTransfer.</p> @required @param amount [Int32?] Amount (in cents) to be transferred. @required @param currency [String?] Three-letter ISO currency code, in lowercase. Must be a supported currency. @required @param financial_account [String?] The FinancialAccount to pull funds from. @optional @param description [String?] An arbitrary string attached to the object. Often useful for displaying to users. @optional @param destination_payment_method [String?] The PaymentMethod to use as the payment instrument for the OutboundTransfer. @optional @param destination_payment_method_options [Stripe::PaymentMethodOptions?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param metadata [Hash(String, String)?] @optional @param statement_descriptor [String?] Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for ach transfers or 140 characters for us_domestic_wire transfers. The default value is \"transfer\". @return [Tuple(Stripe::TreasuryOutboundTransfer, Integer, Hash)] Stripe::TreasuryOutboundTransfer, response status code and response headers


[View source]