public ChargeResponse ChargeCard(CardChargeRequest request, bool makeReferenceUnique = false) { if (makeReferenceUnique && request.Reference != null) { request.Reference = $"{request.Reference}-{Guid.NewGuid().ToString().Substring(0, 8)}"; } return(_api.Post <ChargeResponse, CardChargeRequest>("charge", request)); }
public ChargeResponse ChargeCard(CardChargeRequest request) => _api.Post <ChargeResponse, CardChargeRequest>("charge", request);