{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/recurring/subscriptions/charges/resolve?transactionid=:transactionid","auth":"optional","examples":{"codes":[]},"method":"get","results":{"codes":[{"code":"","language":"text"}]},"settings":"","params":[{"name":"transactionid","type":"string","default":"","desc":"transaction ID received in the response from BlueSnap","required":true,"in":"query","ref":"","_id":"59e4ee81737f88001aed76d4"}]},"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) resource.\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/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ='\",\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\": \"HTTP/ 1.1 200 OK\\n\\n<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<charge xmlns=\\\"http://ws.plimus.com\\\">\\n <charge-id>12116263</charge-id>\\n <subscription-id>8491535</subscription-id>\\n <plan-id>2283845</plan-id>\\n <vaulted-shopper-id>21188039</vaulted-shopper-id>\\n <transaction-id>1012460801</transaction-id>\\n <transaction-date>2016-08-01</transaction-date>\\n <amount>100.00</amount>\\n <currency>USD</currency>\\n <soft-descriptor>BLS*default_descriptor</soft-descriptor>\\n <payment-source>\\n <credit-card-info>\\n <credit-card>\\n <card-last-four-digits>1111</card-last-four-digits>\\n <card-type>VISA</card-type>\\n <card-sub-type>CREDIT</card-sub-type>\\n <card-category>CLASSIC</card-category>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge-info>\\n <from-date>2016-08-01</from-date>\\n <to-date>2016-08-15</to-date>\\n <charge-type>INITIAL</charge-type>\\n </charge-info>\\n</charge>\",\n \"language\": \"xml\",\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 XML content is required in the request body. You simply need to include the transaction ID in the query string of the request URL.\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. 1014953379) in the `transactionid` field. This will automatically insert the transaction ID into the query string.","updates":[],"order":12,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5ff4b747849e1b03c5068490","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Subscriptions","slug":"subscriptions","order":11,"from_sync":false,"reference":false,"_id":"5ff4b747849e1b03c5068411","version":"5ff4b747849e1b03c50684c7","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2016-07-27T10:22:06.636Z","__v":0},"user":"560d5913af97231900938124","project":"57336fd5a6a9c40e00e13a0b","parentDoc":null,"version":{"version":"8976-XML","version_clean":"8976.0.0-XML","codename":"3.36.1 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5ff4b747849e1b03c5068409","5ff4b747849e1b03c506840a","5ff4b747849e1b03c506840b","5ff4b747849e1b03c506840c","5ff4b747849e1b03c506840d","5ff4b747849e1b03c506840e","5ff4b747849e1b03c506840f","5ff4b747849e1b03c5068410","5ff4b747849e1b03c5068411","5ff4b747849e1b03c5068412","5ff4b747849e1b03c5068413","5ff4b747849e1b03c5068414","5ff4b747849e1b03c5068415","5ff4b747849e1b03c5068416","5ff4b747849e1b03c5068417","5ff4b747849e1b03c5068418","5ff4b747849e1b03c5068419","5ff4b747849e1b03c506841a","5ff4b747849e1b03c506841b","5ff4b747849e1b03c506841c"],"_id":"5ff4b747849e1b03c50684c7","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5fd26704abd1b6004f12d72c","createdAt":"2018-04-24T15:24:22.608Z","releaseDate":"2018-04-24T15:24:22.608Z"},"createdAt":"2016-08-01T10:59:20.000Z","githubsync":"","__v":1}
getRetrieve Specific Charge
Definition
Parameters
Query 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 resource.
Examples
Request Examples
curl -v -X GET https://sandbox.bluesnap.com/services/2/recurring/subscriptions/charges/resolve?transactionid=1012460801 \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ='
HTTP/ 1.1 200 OK
<charge xmlns="http://ws.plimus.com">
<charge-id>12116263</charge-id>
<subscription-id>8491535</subscription-id>
<plan-id>2283845</plan-id>
<vaulted-shopper-id>21188039</vaulted-shopper-id>
<transaction-id>1012460801</transaction-id>
<transaction-date>2016-08-01</transaction-date>
<amount>100.00</amount>
<currency>USD</currency>
<soft-descriptor>BLS*default_descriptor</soft-descriptor>
<payment-source>
<credit-card-info>
<credit-card>
<card-last-four-digits>1111</card-last-four-digits>
<card-type>VISA</card-type>
<card-sub-type>CREDIT</card-sub-type>
<card-category>CLASSIC</card-category>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
</credit-card>
</credit-card-info>
</payment-source>
<charge-info>
<from-date>2016-08-01</from-date>
<to-date>2016-08-15</to-date>
<charge-type>INITIAL</charge-type>
</charge-info>
</charge>
Example Descriptions
Above is an example request. Note that no XML content is required in the request body. You simply need to include the transaction ID in the query string of the request URL.
API Explorer
To test out a call, enter an existing transaction ID (e.g. 1014953379) in the transactionid
field. This will automatically insert the transaction ID into the query string.