{"_id":"56cc58ea8fa8b01b00b81e9d","parentDoc":null,"editedParams2":true,"project":"56cacb1bc675f50b00a4b619","version":{"_id":"56cacb1cc675f50b00a4b61c","project":"56cacb1bc675f50b00a4b619","__v":14,"createdAt":"2016-02-22T08:47:24.528Z","releaseDate":"2016-02-22T08:47:24.528Z","categories":["56cacb1dc675f50b00a4b61d","56cc10aaca43550b0028125a","56cc10b7b4cbcf0b004a5df9","56cc1bb2272aa4130002ccd2","56cc5834b4cbcf0b004a5f8b","56cda18bface161300dae13b","56d51f2873dcd20b00fb87bb","56fbe0610023171700b96105","57658310c176520e00ea9076","5772bdd48c48e00e00503638","577c1dfe87acf617003c3fcd","579525172979790e00771a15","582b4661cdfdc125000c8684","586365cedfe6cc3700a7be63"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1"},"category":{"_id":"56cc5834b4cbcf0b004a5f8b","__v":8,"pages":["56cc58ea8fa8b01b00b81e9d","56cca56cca43550b0028142d","56cca5d9fcf2d013008475a4","56cca610b4cbcf0b004a601c","56cca7eff1ee861500685fd7","56ccaecef1ee861500685fe2","56ccaefdf1ee861500685fe4","56d51f5dde84300b002e4d8d"],"project":"56cacb1bc675f50b00a4b619","version":"56cacb1cc675f50b00a4b61c","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-02-23T13:01:40.439Z","from_sync":false,"order":7,"slug":"wallet-rest-api","title":"Wallet REST API"},"user":"56caca84245b841300806def","__v":2,"editedParams":true,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-23T13:04:42.697Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[{"language":"json","status":200,"name":"","code":"{\n\t\"code\": 200,\n  \"status\": \"sucsess\"\n}"},{"code":"{\n  \"code\": err_code,\n  \"staus\":\"fail\",\n  \"message\": err_message\n}","language":"json","status":400,"name":""}]},"settings":"","examples":{"codes":[]},"method":"put","auth":"required","params":[{"_id":"56cc58ea8fa8b01b00b81ea3","ref":"","in":"body","required":true,"desc":"","default":"","type":"string","name":"customer_id"},{"_id":"56cc58ea8fa8b01b00b81ea2","ref":"","in":"body","required":true,"desc":"","default":"","type":"int","name":"value"},{"_id":"571e71c56597412b008b595b","ref":"","in":"body","required":true,"desc":"","default":"","type":"string","name":"transaction_id"},{"_id":"56d2ac6a1d915a0b00a043b3","ref":"","in":"body","required":false,"desc":"","default":"0","type":"int","name":"transaction_type"},{"_id":"56cc58ea8fa8b01b00b81ea1","ref":"","in":"body","required":false,"desc":"","default":"","type":"string","name":"meta"},{"_id":"56cc58ea8fa8b01b00b81ea0","ref":"","in":"body","required":false,"desc":"","default":"","type":"string","name":"tag"},{"_id":"56cc58ea8fa8b01b00b81e9f","ref":"","in":"body","required":false,"desc":"","default":"","type":"string","name":"expiry"},{"_id":"56cc58ea8fa8b01b00b81e9e","ref":"","in":"body","required":false,"desc":"","default":"0","type":"boolean","name":"hold"}],"url":"/v:version/services/wallet/credits"},"isReference":true,"order":0,"body":"","excerpt":"","slug":"add-credits","type":"endpoint","title":"Add credits"}

putAdd credits


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

customer_id:
required
string
value:
required
integer
transaction_id:
required
string
transaction_type:
integer0
meta:
string
tag:
string
expiry:
string
hold:
boolean0

Result Format


User Information

Try It Out

put
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}