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

Function createPaymentSession

app/core/api/payment-session.js:3–8  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

1const fetchJson = require('./fetch-json')
2
3const createPaymentSession = (options) => {
4 return fetchJson('/db/payments/payment.sessions', {
5 method: 'POST',
6 json: options
7 })
8}
9
10module.exports = {
11 createPaymentSession

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected