<commit_before>const base = 'https://api.pagar.me:443/1'

const session = '/sessions'

const transaction = {
  base: '/transactions',
  card_hash_key: '/transactions/card_hash_key',
  calculate_installments_amount: '/transactions/calculate_installments_amount',
  get refund () {
    return id => `/transactions/${id}/refund`
  },
  get capture () {
    return id => `/transactions/${id}/capture`
  }
}

export default {
  base,
  session,
  transaction
}<commit_msg>Added details route for transactions<commit_after>const base = 'https://api.pagar.me:443/1'

const session = '/sessions'

const transaction = {
  base: '/transactions',
  card_hash_key: '/transactions/card_hash_key',
  calculate_installments_amount: '/transactions/calculate_installments_amount',
  get details () {
    return id => `/transactions/${id}`
  },
  get refund () {
    return id => `/transactions/${id}/refund`
  },
  get capture () {
    return id => `/transactions/${id}/capture`
  }
}

export default {
  base,
  session,
  transaction
}
{'fraction_non_alphanumeric': 0.15098039215686274, 'fraction_numerical': 0.00784313725490196, 'mean_word_length': 3.9563106796116503, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2801668', 'n_tokens_mistral': 338, 'n_tokens_neox': 340, 'n_words': 67}