{"_id":"59e8f602aa561e00241c4507","category":{"_id":"59e8f600aa561e00241c44b3","version":"59e8f600aa561e00241c44aa","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-15T16:20:51.519Z","from_sync":false,"order":8,"slug":"resources","title":"Resources"},"parentDoc":null,"project":"57336fd5a6a9c40e00e13a0b","user":"560d5913af97231900938124","version":{"_id":"59e8f600aa561e00241c44aa","project":"57336fd5a6a9c40e00e13a0b","__v":1,"createdAt":"2017-10-19T18:59:12.596Z","releaseDate":"2017-10-19T18:59:12.596Z","categories":["59e8f600aa561e00241c44ab","59e8f600aa561e00241c44ac","59e8f600aa561e00241c44ad","59e8f600aa561e00241c44ae","59e8f600aa561e00241c44af","59e8f600aa561e00241c44b0","59e8f600aa561e00241c44b1","59e8f600aa561e00241c44b2","59e8f600aa561e00241c44b3","59e8f600aa561e00241c44b4","59e8f600aa561e00241c44b5"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.23 Release","version_clean":"8976.0.0-Extended","version":"8976-Extended"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-06-24T17:45:36.239Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":57,"body":"###Request\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Required\",\n    \"0-0\": \"`one-time-charge`\",\n    \"0-1\": \"container\",\n    \"h-3\": \"Description\",\n    \"0-3\": \"Container of [one-time-charge](doc:one-time-charge) properties.\",\n    \"1-0\": \"`free-trial`\",\n    \"1-1\": \"container\",\n    \"1-3\": \"Container of [free-trial](doc:free-trial) properties.\",\n    \"h-4\": \"Description\",\n    \"0-2\": \"**Required**\",\n    \"1-2\": \"Optional\",\n    \"2-1\": \"container\",\n    \"3-1\": \"container\",\n    \"2-0\": \"`initial-period`\",\n    \"3-0\": \"`recurring-period`\",\n    \"2-2\": \"Optional\",\n    \"3-2\": \"Optional\",\n    \"2-3\": \"Container of [initial-period](doc:initial-period) properties.\",\n    \"3-3\": \"Container of [recurring-period](doc:recurring-period) properties.\"\n  },\n  \"cols\": 4,\n  \"rows\": 4\n}\n[/block]\n###Response\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"`one-time-charge`\",\n    \"0-1\": \"container\",\n    \"h-3\": \"Description\",\n    \"0-3\": \"Defines the type of transaction. Values can be:\\nAUTH_ONLY\\nAUTH_CAPTURE\\nCAPTURE\\nAUTH_REVERSAL\\nSee Transaction Types\",\n    \"1-0\": \"`free-trial`\",\n    \"1-1\": \"container\",\n    \"1-3\": \"BlueSnap identifier for the transaction.\",\n    \"h-4\": \"Description\",\n    \"0-2\": \"Container of [one-time-charge](doc:one-time-charge) properties.\",\n    \"1-2\": \"Container of [free-trial](doc:free-trial) properties.\",\n    \"2-0\": \"`initial-period`\",\n    \"3-0\": \"`recurring-period`\",\n    \"2-1\": \"container\",\n    \"3-1\": \"container\",\n    \"2-2\": \"Container of [initial-period](doc:initial-period) properties.\",\n    \"3-2\": \"Container of [recurring-period](doc:recurring-period)  properties.\"\n  },\n  \"cols\": 3,\n  \"rows\": 4\n}\n[/block]","excerpt":"","slug":"charge-policy","type":"basic","title":"charge-policy"}

Request

Property Name
Type
Required
Description

one-time-charge

container

Required

Container of one-time-charge properties.

free-trial

container

Optional

Container of free-trial properties.

initial-period

container

Optional

Container of initial-period properties.

recurring-period

container

Optional

Container of recurring-period properties.

Response

Property Name
Type
Description

one-time-charge

container

Container of one-time-charge properties.

free-trial

container

Container of free-trial properties.

initial-period

container

Container of initial-period properties.

recurring-period

container

Container of recurring-period properties.