Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "transaction": {
- "serviceid": "36255",
- "amount": 100,
- "domain": "create4.us",
- "callback": "http://www.create4.us/return",
- "enviroment": "sandbox",
- "fraud_analysis": "true",
- "browser": {
- "type": "firefox",
- "cookies_accepted": "false",
- "host_name": "teste",
- "ip_address": "135.968.753.658",
- "finger_print": "9586a998fKAsN5as"
- },
- "payment": {
- "method": "Boleto",
- "type": "default",
- "currency": "BRL",
- "brand": "bradesco",
- "title": "Pagamento Bradesco",
- "instructions": "Instruções para pagamento Bradesco",
- "description": "Descrição Pagamento Bradesco",
- "overdue": "2018-12-15",
- "metadata": {},
- "cards": {
- "soft_description": "CreditCard",
- "card_token": "2c9354e339ed766f2069f38200f2409a",
- "number": "411111111111111",
- "capture": "true",
- "month": 12,
- "year": 23,
- "cvv": 123,
- "installments": 1,
- "holder": {
- "name": "Fulano de souza",
- "dob": "1988-09-06",
- "documents": {
- "number": "08443841605",
- "type": "cpf"
- }
- }
- },
- "credentials": {
- "access_token": "21323dsd23434ad12178DDasY",
- "client_id": "10000",
- "client_secret": "oI1EYIa2-yAHdjcN0RzjpbFuIn2R3BCJCniDlHbp7sk"
- }
- },
- "order": {
- "id": "123456",
- "total": 100,
- "additional_value": "xx",
- "items": [{
- "id": 123,
- "name": "Joguinho",
- "description": "Joguinho chato",
- "image": "http://www.joginhochato.com.br/img.png",
- "is_gift": "false",
- "category_id": "21",
- "quantity": 1,
- "unit_price": 100,
- "final_price": 100
- },
- {
- "id": 456,
- "name": "Macarrão em pó",
- "description": "Comida inutil",
- "image": "http://www.comidainutil.com.br/img.png",
- "is_gift": "true",
- "category_id": "11",
- "quantity": 2,
- "unit_price": 200,
- "final_price": 400
- }
- ],
- "customer": {
- "type": "juridico",
- "id": 12,
- "first_name": "Victor",
- "last_name": "Santos",
- "email": "comercial8@mp.com.br",
- "dob": "1990-06-12",
- "documents": {
- "type": "cpf",
- "number": "19119119100"
- },
- "phones": [{
- "code": "31",
- "number": "99856-9049",
- "type": "celular"
- },
- {
- "code": "31",
- "number": "1235-3333",
- "type": "comercial"
- }
- ],
- "address": {
- "zip_code": "30180100",
- "street_name": "Rua Judith",
- "street_number": 264,
- "complement": "casa",
- "suburb": "Liberdade",
- "city": "Belo Horizonte",
- "state": "MG",
- "country": "BR"
- }
- },
- "shipping": {
- "name": "Fulano de souza",
- "title": "Expresso",
- "type": "sedex",
- "cost": 22.0,
- "address": {
- "zip_code": "30662730",
- "street_name": "Rua Silva Barbosa",
- "street_number": "255",
- "complement": "casa",
- "suburb": "Sei não",
- "city": "Belo Horizonte",
- "state": "MG",
- "country": "BR"
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement