From 7fb5896d24f5ef46f1cdff8f9c12240f27048853 Mon Sep 17 00:00:00 2001 From: Anthony Castelli Date: Wed, 12 Jul 2017 07:14:49 -0700 Subject: [PATCH] refund: Make the inAccount option ommitable from the method --- Sources/API/Routes/RefundRoutes.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/API/Routes/RefundRoutes.swift b/Sources/API/Routes/RefundRoutes.swift index 4fe6f46..5cf56e0 100644 --- a/Sources/API/Routes/RefundRoutes.swift +++ b/Sources/API/Routes/RefundRoutes.swift @@ -62,7 +62,7 @@ public final class RefundRoutes { - returns: A StripeRequest<> item which you can then use to convert to the corresponding node */ - public func createRefund(charge: String, amount: Int?, reason: RefundReason?, refundApplicationFee: Bool?, reverseTransfer: Bool?, metadata: Node? = nil, inConnectAccount account: String?) throws -> StripeRequest { + public func createRefund(charge: String, amount: Int?, reason: RefundReason?, refundApplicationFee: Bool?, reverseTransfer: Bool?, metadata: Node? = nil, inConnectAccount account: String? = nil) throws -> StripeRequest { var body = Node([:]) body["charge"] = Node(charge)