Escolar Documentos
Profissional Documentos
Cultura Documentos
body = {
'name': "Mensal",
'repeats': null,
'interval': 1
}
2. CRIAR INSCRIÇÃO
gn = Gerencianet(CREDENTIALS)
params = {
'id': plan_id
GERENCIANET 1
}
body = {
'items': [{
'name': "Nome do produto",
'value': 1000,
'amount': 1
}]
}
params = {
'id': charge['data']['charge_id'] # informe o subscription_id
}
body = {
'payment': {
'banking_billet': {
'expire_at': '2016-12-12',
'customer': {
'name': "Gorbadoc Oldbuck",
'email': "oldbuck@gerencianet.com.br",
'cpf': "04267484171",
'birth': "1977-01-15",
'phone_number': "5144916523"
}
}
}
}
body = {
'payment': {
'credit_card': {
'installments': 1,
'payment_token': "", #see credit card flow to see how to get this
'billing_address': {
'street': "Av. JK",
'number': 909,
'neighborhood': "Bauxita",
'zipcode': "35400000",
'city': "Ouro Preto",
'state': "MG"
GERENCIANET 2
},
'customer': {
'name': "Gorbadoc Oldbuck",
'email': "oldbuck@gerencianet.com.br",
'cpf': "04267484171",
'birth': "1977-01-15",
'phone_number': "5144916523"
}
}
}
}
GERENCIANET 3