示例#1
0
def create(params):
    return post(end_point=BASE_MODEL_URL, data=params)
示例#2
0
def tokenize(params):
    return post(end_point=BASE_MODEL_URL, data=params)
示例#3
0
文件: bill.py 项目: mjr/junopy
def payment(params):
    return post(BASE_MODEL_URL, data=params)
示例#4
0
def refund(payment_id, params):
    return post(end_point=f'{BASE_MODEL_URL}/{payment_id}/refunds',
                data=params)
示例#5
0
def cancel(payment_id):
    return post(end_point=f'{BASE_MODEL_URL}/{payment_id}/cancelation')
示例#6
0
def capture(payment_id, params):
    return post(end_point=f'{BASE_MODEL_URL}/{payment_id}/capture',
                data=params)
示例#7
0
def send_jwe_file(document_id, params, files):
    return post(end_point=f'{BASE_MODEL_URL}/{document_id}/files',
                data=params,
                files=files)
示例#8
0
文件: transfer.py 项目: mjr/junopy
def create(resource_token, params):
    return post(end_point=BASE_MODEL_URL,
                data=params,
                resource_token=resource_token)