MCPcopy Create free account
hub / github.com/codecombat/codecombat / executeBillingAgreement

Function executeBillingAgreement

app/core/api/users.js:82–88  ·  view source on GitHub ↗
({ userID, token }, options)

Source from the content-addressed store, hash-verified

80 },
81
82 executeBillingAgreement ({ userID, token }, options) {
83 if (options == null) { options = {} }
84 return fetchJson(this.url(userID, 'paypal/execute-billing-agreement'), _.assign({}, options, {
85 method: 'POST',
86 json: { token }
87 }))
88 },
89
90 cancelBillingAgreement ({ userID, billingAgreementID }, options) {
91 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected