{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"charge-price","type":"basic","slug":"charge-price","excerpt":"","body":"###Request\nN/A\n\n###Response\n[block:parameters]\n{\n \"data\": {\n \"h-0\": \"Property Name\",\n \"h-1\": \"Type\",\n \"h-2\": \"Description\",\n \"2-0\": \"`currency`\",\n \"2-1\": \"*string*\",\n \"2-2\": \"Currency code (ISO 4217). See [Currency codes](/docs/currency-codes).\",\n \"0-0\": \"`charge-type`\",\n \"0-2\": \"Charge type:\\n * **initial**: Relevant for both one-time and subscription-based SKUs, and means that the given amount will be charged only for this current order.\\n * **recurring**: Relevant for subscription-based SKUs, and means that the given amount will be charged only in future charges.\",\n \"0-1\": \"*string*\",\n \"1-0\": \"`value`\",\n \"1-1\": \"*decimal*\",\n \"1-2\": \"\",\n \"3-0\": \"`formatted-price`\",\n \"4-0\": \"`tax-included`\",\n \"3-1\": \"container\",\n \"4-1\": \"*boolean*\",\n \"3-2\": \"Container of formatted-price properties.\",\n \"4-2\": \"\"\n },\n \"cols\": 3,\n \"rows\": 5\n}\n[/block]","updates":[],"order":17,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"61a5033cd3c4d201e7b58409","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Resources","slug":"resources","order":8,"from_sync":false,"reference":false,"_id":"61a5033cd3c4d201e7b583c2","version":"61a5033cd3c4d201e7b5848b","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2015-10-15T16:20:51.519Z","__v":0},"project":"57336fd5a6a9c40e00e13a0b","user":"560d5913af97231900938124","parentDoc":null,"version":{"version":"8976-Extended","version_clean":"8976.0.0-Extended","codename":"3.40 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["61a5033cd3c4d201e7b583ba","61a5033cd3c4d201e7b583bb","61a5033cd3c4d201e7b583bc","61a5033cd3c4d201e7b583bd","61a5033cd3c4d201e7b583be","61a5033cd3c4d201e7b583bf","61a5033cd3c4d201e7b583c0","61a5033cd3c4d201e7b583c1","61a5033cd3c4d201e7b583c2","61a5033cd3c4d201e7b583c3","61a5033cd3c4d201e7b583c4"],"_id":"61a5033cd3c4d201e7b5848b","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"6040037678d626005641a154","createdAt":"2018-04-24T15:33:45.744Z","releaseDate":"2018-04-24T15:33:45.744Z"},"createdAt":"2016-06-24T17:52:48.597Z","githubsync":"","__v":0}
charge-price
Property Name
Type
Description
charge-type
string
Charge type:
- initial: Relevant for both one-time and subscription-based SKUs, and means that the given amount will be charged only for this current order.
- recurring: Relevant for subscription-based SKUs, and means that the given amount will be charged only in future charges.
value
decimal
formatted-price
container
Container of formatted-price properties.
tax-included
boolean