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 '
Response Examples
{
"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.
Back to Top
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.