Sepa Debit
Retrieve a Charge

Retreive Charge

Use the Retrieve API to retreive a payment. A Created Charge has an ID used to request payment.

Retrieve A Charge

Retrieves the details of a charge that has previously been created. Supply the unique charge ID that was returned from your previous request, and Axxonpay will return the corresponding charge information. The same information is returned when creating or refunding the charge.

GET /v1/retrieve/payment/:paymentId
const axios = require('axios');
 
const headers = {
  authorization: 'key_<Your-Key>'
};
 
// Make the GET request
const response = await axios.get('https://<axxonpay-url-gateway>/v1/retreive/payment/:paymentId', { headers });

Parameters

ParameterRequired/OptionalTypeDescription
idREQUIREDStringID of the Charge belongs to Charge with Success Status. Every payment processed has an ID, pass the ID to refund the charge created.