コード例 #1
0
def find_all():
    return handler_request.get(card_routes.GET_ALL_CARDS)
コード例 #2
0
def payables(transaction_id):
    return handler_request.get(
        transaction_routes.GET_ALL_PAYABLES_WITH_TRANSACTION_ID.format(
            transaction_id))
コード例 #3
0
def specific_payable(transaction_id, payable_id):
    return handler_request.get(
        transaction_routes.GET_SPECIFIC_PAYABLE.format(transaction_id,
                                                       payable_id))
コード例 #4
0
def find_by_id(transaction_id):
    return handler_request.get(
        transaction_routes.GET_SPECIFIC_TRANSACTION_BY_ID.format(
            transaction_id))
コード例 #5
0
def calculate_installments_amount(dictionary):
    return handler_request.get(
        transaction_routes.CALCULATE_INSTALLMENTS_AMOUNT, dictionary)
コード例 #6
0
def find_by(search_params):
    return handler_request.get(payable_routes.GET_PAYABLE_BY, search_params)
コード例 #7
0
def find_all():
    return handler_request.get(transaction_routes.BASE_URL)
コード例 #8
0
def find_by(search_params):
    return handler_request.get(plan_routes.GET_PLAN_BY, search_params)
コード例 #9
0
def find_all():
    return handler_request.get(plan_routes.GET_ALL_PLANS)
コード例 #10
0
def find_by(search_params):
    return handler_request.get(bank_account_routes.GET_BANK_ACCOUNTS_BY, search_params)
コード例 #11
0
def find_all():
    return handler_request.get(bank_account_routes.BASE_URL)
コード例 #12
0
def find_by(search_params):
    return handler_request.get(transfer_routes.GET_TRANSFER_BY, search_params)
コード例 #13
0
def find_all():
    return handler_request.get(transfer_routes.GET_ALL_TRANSFERS)
コード例 #14
0
def find_by(search_params):
    return handler_request.get(card_routes.GET_CARD_BY, search_params)
コード例 #15
0
def limits(recipient_id, dictionary):
    return handler_request.get(bulk_anticipation_routes.GET_ANTICIPATION_LIMITS.format(recipient_id), dictionary)
コード例 #16
0
def find_all():
    return handler_request.get(recipient_routes.GET_ALL_RECIPIENTS)
コード例 #17
0
def find_all():
    return handler_request.get(payable_routes.GET_ALL_PAYABLES)
コード例 #18
0
def find_by(search_params):
    return handler_request.get(recipient_routes.GET_RECIPIENT_BY,
                               search_params)
コード例 #19
0
def events(transaction_id):
    return handler_request.get(
        transaction_routes.GET_EVENTS_TRANSACTION.format(transaction_id))
コード例 #20
0
def recipient_balance(recipient_id):
    return handler_request.get(
        recipient_routes.GET_RECIPIENT_BALANCE.format(recipient_id))
コード例 #21
0
def find_by(search_params):
    return handler_request.get(transaction_routes.GET_TRANSACTION_BY,
                               search_params)
コード例 #22
0
def recipient_balance_operation_id(recipient_id, operation_id):
    return \
        handler_request.get(recipient_routes.GET_RECIPIENT_BALANCE_OPERATION_BY_ID.format(recipient_id, operation_id))
コード例 #23
0
def generate_card_hash_key():
    return handler_request.get(transaction_routes.GENERATE_CARD_HASH_KEY)
コード例 #24
0
def default_recipient():
    return handler_request.get(
        recipient_routes.GET_DEFAULT_RECIPIENT)['default_recipient_id']
コード例 #25
0
def operations(transaction_id):
    return handler_request.get(
        transaction_routes.GET_TRANSACTION_OPERATION.format(transaction_id))
コード例 #26
0
ファイル: models.py プロジェクト: guilhermewebdev/acacia-api
 def transfer(self):
     if not self.__transfer and self.pagarme_id:
         self.__transfer = handler_request.get(
             f'https://api.pagar.me/1/transfers/{self.pagarme_id}')
     return self.__transfer
コード例 #27
0
def postbacks(transaction_id):
    return handler_request.get(
        transaction_routes.GET_ALL_POSTBACKS.format(transaction_id))
コード例 #28
0
def find_all(recipient_id):
    return handler_request.get(bulk_anticipation_routes.GET_ALL_ANTICIPATIONS.format(recipient_id))
コード例 #29
0
def specific_postback(transaction_id, postback_id):
    return handler_request.get(
        transaction_routes.GET_SPECIFIC_POSTBACK.format(
            transaction_id, postback_id))
コード例 #30
0
def default_recipient_balance():
    return handler_request.get(balance_routes.BASE_URL)