Retrieve Specific Charge

The Retrieve Specific Charge request enables you to retrieve details about one existing charge.

Try it in the API Explorer

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&#x2a;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.


Back to Top

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.

Language
Credentials
:
Click Try It! to start a request and see the response here!