diff --git a/lib/resources/Customers.js b/lib/resources/Customers.js index cc73e5e929..e4537002dc 100644 --- a/lib/resources/Customers.js +++ b/lib/resources/Customers.js @@ -28,6 +28,27 @@ module.exports = StripeResource.extend({ path: '/{customer}/sources/{sourceId}/verify', }), + createBalanceTransaction: stripeMethod({ + method: 'POST', + path: '/{customer}/balance_transactions', + }), + + listBalanceTransactions: stripeMethod({ + method: 'GET', + path: '/{customer}/balance_transactions', + methodType: 'list', + }), + + retrieveBalanceTransaction: stripeMethod({ + method: 'GET', + path: '/{customer}/balance_transactions/{transaction}', + }), + + updateBalanceTransaction: stripeMethod({ + method: 'POST', + path: '/{customer}/balance_transactions/{transaction}', + }), + createSource: stripeMethod({ method: 'POST', path: '/{customer}/sources', @@ -64,25 +85,4 @@ module.exports = StripeResource.extend({ method: 'GET', path: '/{customer}/tax_ids/{id}', }), - - createBalanceTransaction: stripeMethod({ - method: 'POST', - path: '/{customer}/balance_transactions', - }), - - listBalanceTransactions: stripeMethod({ - method: 'GET', - path: '/{customer}/balance_transactions', - methodType: 'list', - }), - - retrieveBalanceTransaction: stripeMethod({ - method: 'GET', - path: '/{customer}/balance_transactions/{id}', - }), - - updateBalanceTransaction: stripeMethod({ - method: 'POST', - path: '/{customer}/balance_transactions/{id}', - }), });