{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/recurring/subscriptions/charges/resolve?transactionid=:transactionid","auth":"optional","examples":{"codes":[]},"method":"get","results":{"codes":[{"code":"","language":"text"}]},"settings":"57ee593a21ceb20e0061959e","params":[{"name":"transactionid","type":"string","default":"","desc":"transaction ID received in the response from BlueSnap","required":true,"in":"path","ref":"","_id":"579f2b8806ff650e0092b8f3"}]},"next":{"description":"","pages":[]},"title":"Retrieve Specific Charge","type":"endpoint","slug":"retrieve-specific-charge","excerpt":"","body":"[block:html]\n{\n \"html\": \"<script>\\n // hide body textbox of API Explorer\\n $(document).ready(function() {\\n $(\\\"textarea[placeholder='Body Content']\\\").hide(); \\n }); \\n</script>\"\n}\n[/block]\nThe Retrieve Specific Charge request enables you to retrieve details about one existing charge.\n\n<a class=\"btn btn-success\" href=\"#section-api-explorer\" role=\"button\">Try it in the API Explorer</a>\n\n###Request Content\nEnter the transaction ID into the query string of the web service URL, in the format:\n`services/2/recurring/subscriptions/charges/resolve?transactionid={transaction ID}`\n\nFor example:\n`services/2/recurring/subscriptions/charges/resolve?transactionid=1011791571`\n\n###Response Details\nIf successful, the response HTTP status code is 200 OK.\nThe response contains the retrieved **[charge](doc:charge)** object.\n\n<hr>\n\n##Examples\n\n###Request Examples\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"curl -v -X GET https://sandbox.bluesnap.com/services/2/recurring/subscriptions/charges/resolve?transactionid=1012460801 \\\\\\n-H 'Content-Type: application/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\",\n \"language\": \"curl\",\n \"name\": \"Retrieve Specific Charge Request\"\n }\n ]\n}\n[/block]\n###Response Examples\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"{\\n \\\"amount\\\": 100,\\n \\\"vaultedShopperId\\\": 21188039,\\n \\\"chargeInfo\\\": {\\n \\\"fromDate\\\": \\\"2016-08-01\\\",\\n \\\"toDate\\\": \\\"2016-08-15\\\",\\n \\\"chargeType\\\": \\\"INITIAL\\\"\\n },\\n \\\"chargeId\\\": 12116263,\\n \\\"paymentSource\\\": {\\\"creditCardInfo\\\": {\\\"creditCard\\\": {\\n \\\"expirationYear\\\": 2023,\\n \\\"cardLastFourDigits\\\": 1111,\\n \\\"cardSubType\\\": \\\"CREDIT\\\",\\n \\\"cardCategory\\\": \\\"CLASSIC\\\",\\n \\\"cardType\\\": \\\"VISA\\\",\\n \\\"expirationMonth\\\": \\\"07\\\"\\n }}},\\n \\\"softDescriptor\\\": \\\"BLS*default_descriptor\\\",\\n \\\"planId\\\": 2283845,\\n \\\"currency\\\": \\\"USD\\\",\\n \\\"transactionDate\\\": \\\"2016-08-01\\\",\\n \\\"subscriptionId\\\": 8491535,\\n \\\"transactionId\\\": 1012460801\\n}\",\n \"language\": \"json\",\n \"name\": \"Retrieve Specific Charge Response: 200 OK\"\n }\n ]\n}\n[/block]\n<hr>\n\n##Example Descriptions\nAbove is an example request. Note that no content is required in the request body. You simply need to include the transaction ID in the query string of the request URL.\nThe response contains the retrieved **[charge](doc:charge)** object.\n\n<br>\n<a class=\"btn btn-primary\" href=\"#\" role=\"button\">Back to Top</a>\n\n<hr>\n\n##API Explorer\nTo test out a call, enter an existing transaction ID (e.g. 1012460801) in the `transactionid` field. This will automatically insert the ID into the query string.","updates":[],"order":12,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"628531cd1258c8003f6dd22b","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Subscriptions","slug":"subscriptions","order":11,"from_sync":false,"reference":false,"_id":"628531cd1258c8003f6dd1c6","version":"628531cd1258c8003f6dd27d","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2016-07-27T10:22:06.636Z","__v":0},"parentDoc":null,"project":"57336fd5a6a9c40e00e13a0b","user":"560d5913af97231900938124","version":{"version":"8976-JSON","version_clean":"8976.0.0-JSON","codename":"3.42 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["628531cd1258c8003f6dd1bf","628531cd1258c8003f6dd1c0","628531cd1258c8003f6dd1c1","628531cd1258c8003f6dd1c2","628531cd1258c8003f6dd1c3","628531cd1258c8003f6dd1c4","628531cd1258c8003f6dd1c5","628531cd1258c8003f6dd1c6","628531cd1258c8003f6dd1c7","628531cd1258c8003f6dd1c8","628531cd1258c8003f6dd1c9","628531cd1258c8003f6dd1ca","628531cd1258c8003f6dd1cb","628531cd1258c8003f6dd1cc","628531cd1258c8003f6dd1cd","628531cd1258c8003f6dd1ce","628531cd1258c8003f6dd1cf","628531cd1258c8003f6dd1d0","628531cd1258c8003f6dd1d1","628531cd1258c8003f6dd1d2"],"_id":"628531cd1258c8003f6dd27d","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"622783372cd60c003782d77e","createdAt":"2018-04-24T15:22:41.561Z","releaseDate":"2018-04-24T15:22:41.561Z"},"createdAt":"2016-08-01T10:59:20.000Z","githubsync":"","__v":1}
getRetrieve Specific Charge
Definition
Parameters
Path Params
Documentation
The Retrieve Specific Charge request enables you to retrieve details about one existing charge.
Request Content
Enter the transaction ID into the query string of the web service URL, in the format:services/2/recurring/subscriptions/charges/resolve?transactionid={transaction ID}
For example:services/2/recurring/subscriptions/charges/resolve?transactionid=1011791571
Response Details
If successful, the response HTTP status code is 200 OK.
The response contains the retrieved charge object.
Examples
Request Examples
curl -v -X GET https://sandbox.bluesnap.com/services/2/recurring/subscriptions/charges/resolve?transactionid=1012460801 \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"amount": 100,
"vaultedShopperId": 21188039,
"chargeInfo": {
"fromDate": "2016-08-01",
"toDate": "2016-08-15",
"chargeType": "INITIAL"
},
"chargeId": 12116263,
"paymentSource": {"creditCardInfo": {"creditCard": {
"expirationYear": 2023,
"cardLastFourDigits": 1111,
"cardSubType": "CREDIT",
"cardCategory": "CLASSIC",
"cardType": "VISA",
"expirationMonth": "07"
}}},
"softDescriptor": "BLS*default_descriptor",
"planId": 2283845,
"currency": "USD",
"transactionDate": "2016-08-01",
"subscriptionId": 8491535,
"transactionId": 1012460801
}
Example Descriptions
Above is an example request. Note that no content is required in the request body. You simply need to include the transaction ID in the query string of the request URL.
The response contains the retrieved charge object.
API Explorer
To test out a call, enter an existing transaction ID (e.g. 1012460801) in the transactionid
field. This will automatically insert the ID into the query string.