2929
3030 Example Usage:
3131 (post {})"
32- [{:keys []}]
33- (stripe-request :post {:endpoint " /v1/accounts" }))
32+ [{:keys [body ]}]
33+ (stripe-request :post {:endpoint " /v1/accounts" :body body }))
3434
3535(defn create-account-login-links
3636 " Create a login link
4343
4444 Example Usage:
4545 (create-account-login-links {:account-id example-account-id})"
46- [{:keys [account-id]}]
47- (stripe-request :post {:endpoint " /v1/accounts/{account-id}/login_links" :path-params {:account-id account-id}}))
46+ [{:keys [account-id body ]}]
47+ (stripe-request :post {:endpoint " /v1/accounts/{account-id}/login_links" :path-params {:account-id account-id} :body body }))
4848
4949(defn retrieve-account-persons-person
5050 " Retrieve a person
9191
9292 Example Usage:
9393 (update-account-persons-person {:account-id example-account-id :person-id example-person-id})"
94- [{:keys [account-id person-id]}]
95- (stripe-request :post {:endpoint " /v1/accounts/{account-id}/persons/{person-id}" :path-params {:account-id account-id :person-id person-id}}))
94+ [{:keys [account-id person-id body ]}]
95+ (stripe-request :post {:endpoint " /v1/accounts/{account-id}/persons/{person-id}" :path-params {:account-id account-id :person-id person-id} :body body }))
9696
9797(defn retrieve-account-bank-id
9898 " Retrieve an external account
139139
140140 Example Usage:
141141 (post-account-bank-id {:account-id example-account-id :bank-account-id example-bank-account-id})"
142- [{:keys [account-id bank-account-id]}]
143- (stripe-request :post {:endpoint " /v1/accounts/{account-id}/bank_accounts/{bank-account-id}" :path-params {:account-id account-id :bank-account-id bank-account-id}}))
142+ [{:keys [account-id bank-account-id body ]}]
143+ (stripe-request :post {:endpoint " /v1/accounts/{account-id}/bank_accounts/{bank-account-id}" :path-params {:account-id account-id :bank-account-id bank-account-id} :body body }))
144144
145145(defn retrieve-account-people-person
146146 " Retrieve a person
187187
188188 Example Usage:
189189 (update-account-people-person {:account-id example-account-id :people-id example-people-id})"
190- [{:keys [account-id people-id]}]
191- (stripe-request :post {:endpoint " /v1/accounts/{account-id}/people/{people-id}" :path-params {:account-id account-id :people-id people-id}}))
190+ [{:keys [account-id people-id body ]}]
191+ (stripe-request :post {:endpoint " /v1/accounts/{account-id}/people/{people-id}" :path-params {:account-id account-id :people-id people-id} :body body }))
192192
193193(defn list-all-account-people
194194 " List all persons
222222
223223 Example Usage:
224224 (create-account-people {:account-id example-account-id})"
225- [{:keys [account-id]}]
226- (stripe-request :post {:endpoint " /v1/accounts/{account-id}/people" :path-params {:account-id account-id}}))
225+ [{:keys [account-id body ]}]
226+ (stripe-request :post {:endpoint " /v1/accounts/{account-id}/people" :path-params {:account-id account-id} :body body }))
227227
228228(defn retrieve-account
229229 " Retrieve account
267267
268268 Example Usage:
269269 (update-account {:account-id example-account-id})"
270- [{:keys [account-id]}]
271- (stripe-request :post {:endpoint " /v1/accounts/{account-id}" :path-params {:account-id account-id}}))
270+ [{:keys [account-id body ]}]
271+ (stripe-request :post {:endpoint " /v1/accounts/{account-id}" :path-params {:account-id account-id} :body body }))
272272
273273(defn list-all-account-persons
274274 " List all persons
302302
303303 Example Usage:
304304 (create-account-persons {:account-id example-account-id})"
305- [{:keys [account-id]}]
306- (stripe-request :post {:endpoint " /v1/accounts/{account-id}/persons" :path-params {:account-id account-id}}))
305+ [{:keys [account-id body ]}]
306+ (stripe-request :post {:endpoint " /v1/accounts/{account-id}/persons" :path-params {:account-id account-id} :body body }))
307307
308308(defn retrieve-account-capabilities-capability
309309 " Retrieve an Account Capability
335335
336336 Example Usage:
337337 (update-account-capabilities-capability {:account-id example-account-id :capabilitie-id example-capabilitie-id})"
338- [{:keys [account-id capabilitie-id]}]
339- (stripe-request :post {:endpoint " /v1/accounts/{account-id}/capabilities/{capabilitie-id}" :path-params {:account-id account-id :capabilitie-id capabilitie-id}}))
338+ [{:keys [account-id capabilitie-id body ]}]
339+ (stripe-request :post {:endpoint " /v1/accounts/{account-id}/capabilities/{capabilitie-id}" :path-params {:account-id account-id :capabilitie-id capabilitie-id} :body body }))
340340
341341(defn list-all-account-capabilities
342342 " List all account capabilities
366366
367367 Example Usage:
368368 (create-account-bank {:account-id example-account-id})"
369- [{:keys [account-id]}]
370- (stripe-request :post {:endpoint " /v1/accounts/{account-id}/bank_accounts" :path-params {:account-id account-id}}))
369+ [{:keys [account-id body ]}]
370+ (stripe-request :post {:endpoint " /v1/accounts/{account-id}/bank_accounts" :path-params {:account-id account-id} :body body }))
371371
372372(defn list-all-account-external
373373 " List all external accounts
401401
402402 Example Usage:
403403 (create-account-external {:account-id example-account-id})"
404- [{:keys [account-id]}]
405- (stripe-request :post {:endpoint " /v1/accounts/{account-id}/external_accounts" :path-params {:account-id account-id}}))
404+ [{:keys [account-id body ]}]
405+ (stripe-request :post {:endpoint " /v1/accounts/{account-id}/external_accounts" :path-params {:account-id account-id} :body body }))
406406
407407(defn retrieve-account-external-id
408408 " Retrieve an external account
449449
450450 Example Usage:
451451 (post-account-external-id {:account-id example-account-id :external-account-id example-external-account-id})"
452- [{:keys [account-id external-account-id]}]
453- (stripe-request :post {:endpoint " /v1/accounts/{account-id}/external_accounts/{external-account-id}" :path-params {:account-id account-id :external-account-id external-account-id}}))
452+ [{:keys [account-id external-account-id body ]}]
453+ (stripe-request :post {:endpoint " /v1/accounts/{account-id}/external_accounts/{external-account-id}" :path-params {:account-id account-id :external-account-id external-account-id} :body body }))
454454
455455(defn post-account-reject
456456 " Reject an account
463463
464464 Example Usage:
465465 (post-account-reject {:account-id example-account-id})"
466- [{:keys [account-id]}]
467- (stripe-request :post {:endpoint " /v1/accounts/{account-id}/reject" :path-params {:account-id account-id}}))
466+ [{:keys [account-id body ]}]
467+ (stripe-request :post {:endpoint " /v1/accounts/{account-id}/reject" :path-params {:account-id account-id} :body body }))
0 commit comments