The Retrieve Subscription Charge request enables you to retrieve details of a single charge that is connected to a specific subscription.
charge-id into the web service URL, in the format:
If successful, the response HTTP status code is 200 OK.
The response contains the retrieved
subscription-charge resource (see subscription-charge).
For details about possible errors, see: General Errors, Payment & Processor Errors, and Fraud Errors.
curl -v -X GET https://sandbox.bluesnap.com/services/2/subscriptions/123456/subscription-charges/629 \ -H 'Content-Type: application/xml' \ -H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ='
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <subscription-charge> <charge-info> <charge-description>some text</charge-description> <from-date>1/1/2017</from-date> <to-date>31/12/2017</to-date> </charge-info> <charge-invoice-info> <date-created>1/1/2013<date-created> <invoice-id>123456</invoice-id> <invoice-amount>100</invoice-amount> <invoice-currency>USD</invoice-currency> </charge-invoice-info> </subscription-charge>