logomoneymotion
Checkoutsessions
background
moneymotion Docs
moneymotion Docs
Create Checkout Session
POST
/checkoutSessions.createCheckoutSession
jsonobject

Response Body

curl -X POST "https://api.moneymotion.io/checkoutSessions.createCheckoutSession" \
  -H "Content-Type: application/json" \
  -d '{
    "json": {
      "description": "string",
      "urls": {
        "success": "string",
        "cancel": "string",
        "failure": "string"
      },
      "userInfo": {
        "email": "user@example.com"
      },
      "lineItems": [
        {
          "name": "string",
          "description": "string",
          "pricePerItemInCents": 0,
          "quantity": 0
        }
      ]
    }
  }'
{
  "result": {
    "data": {
      "json": {
        "checkoutSessionId": "string"
      }
    }
  }
}