The Retrieve Specific Charge request enables you to retrieve details about one existing charge.
Tip
You can test out a request that hits our sandbox in real-time. Follow the instructions here to use the "Try It!" feature on the right side.
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='
Response Examples
HTTP/ 1.1 200 OK
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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>
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.