Advertisement
Guest User

Untitled

a guest
May 24th, 2017
653
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 5.12 KB | None | 0 0
  1. {
  2.   "id": "ORD-4G4JZU3TQM6F",
  3.   "ownId": "box_dfa9bbad-661a-e751-3e89",
  4.   "status": "WAITING",
  5.   "createdAt": "2017-05-16T17:59:04.000-03",
  6.   "updatedAt": "2017-05-16T17:59:22.000-03",
  7.   "amount": {
  8.     "total": 11000,
  9.     "fees": 0,
  10.     "refunds": 0,
  11.     "liquid": 1100,
  12.     "otherReceivers": 9900,
  13.     "currency": "BRL",
  14.     "subtotals": {
  15.       "shipping": 1000,
  16.       "addition": 0,
  17.       "discount": 0,
  18.       "items": 10000
  19.     }
  20.   },
  21.   "items": [
  22.     {
  23.       "price": 10000,
  24.       "detail": "Telefone sem fio",
  25.       "quantity": 1,
  26.       "product": "Telefone sem fio"
  27.     }
  28.   ],
  29.   "customer": {
  30.     "id": "CUS-13FR7OQDMO1E",
  31.     "ownId": "86f12843-da75-dca3-0c36-06c0a8dcc26c",
  32.     "fullname": "k3 nome",
  33.     "createdAt": "2017-05-16T17:59:03.000-03",
  34.     "email": "k3@gmail.com",
  35.     "taxDocument": {
  36.       "type": "CPF",
  37.       "number": "38377525003"
  38.     },
  39.     "moipAccount": {
  40.       "id": "MPA-640407C9EF46"
  41.     },
  42.     "_links": {
  43.       "self": {
  44.         "href": "https://sandbox.moip.com.br/v2/customers/CUS-13FR7OQDMO1E"
  45.       },
  46.       "hostedAccount": {
  47.         "redirectHref": "https://hostedaccount-sandbox.moip.com.br?token=7f774600-1249-488f-b085-7a357e87c345&id=CUS-13FR7OQDMO1E&mpa=MPA-8694F2D54E9F"
  48.       }
  49.     }
  50.   },
  51.   "payments": [
  52.     {
  53.       "id": "PAY-TU1XKXYWL0EA",
  54.       "status": "WAITING",
  55.       "delayCapture": false,
  56.       "amount": {
  57.         "total": 11000,
  58.         "fees": 0,
  59.         "refunds": 0,
  60.         "liquid": 11000,
  61.         "currency": "BRL"
  62.       },
  63.       "installmentCount": 1,
  64.       "fundingInstrument": {
  65.         "boleto": {
  66.           "expirationDate": "2017-05-21",
  67.           "lineCode": "23793.39126 60000.101604 92001.747903 9 71660000011000"
  68.         },
  69.         "method": "BOLETO"
  70.       },
  71.       "fees": [
  72.         {
  73.           "type": "TRANSACTION",
  74.           "amount": 0
  75.         }
  76.       ],
  77.       "events": [
  78.         {
  79.           "type": "PAYMENT.CREATED",
  80.           "createdAt": "2017-05-16T17:59:22.000-03"
  81.         },
  82.         {
  83.           "type": "PAYMENT.WAITING",
  84.           "createdAt": "2017-05-16T17:59:22.000-03"
  85.         }
  86.       ],
  87.       "receivers": [
  88.         {
  89.           "moipAccount": {
  90.             "id": "MPA-8694F2D54E9F",
  91.             "login": "jannone@parallel30.com",
  92.             "fullname": "Parallel 30 LTDA ME"
  93.           },
  94.           "type": "PRIMARY",
  95.           "amount": {
  96.             "total": 1100,
  97.             "fees": 0,
  98.             "refunds": 0
  99.           },
  100.           "feePayor": true
  101.         },
  102.         {
  103.           "moipAccount": {
  104.             "id": "MPA-640407C9EF46",
  105.             "login": "k3@gmail.com",
  106.             "fullname": "k3 k3 sobrenome"
  107.           },
  108.           "type": "SECONDARY",
  109.           "amount": {
  110.             "total": 9900,
  111.             "fees": 0,
  112.             "refunds": 0
  113.           },
  114.           "feePayor": false
  115.         }
  116.       ],
  117.       "_links": {
  118.         "self": {
  119.           "href": "https://sandbox.moip.com.br/v2/payments/PAY-TU1XKXYWL0EA"
  120.         },
  121.         "order": {
  122.           "href": "https://sandbox.moip.com.br/v2/orders/ORD-4G4JZU3TQM6F",
  123.           "title": "ORD-4G4JZU3TQM6F"
  124.         },
  125.         "payBoleto": {
  126.           "redirectHref": "https://checkout-sandbox.moip.com.br/boleto/PAY-TU1XKXYWL0EA"
  127.         }
  128.       },
  129.       "createdAt": "2017-05-16T17:59:22.000-03",
  130.       "updatedAt": "2017-05-16T17:59:22.000-03"
  131.     }
  132.   ],
  133.   "escrows": [],
  134.   "refunds": [],
  135.   "entries": [],
  136.   "events": [
  137.     {
  138.       "type": "ORDER.WAITING",
  139.       "createdAt": "2017-05-16T17:59:22.000-03",
  140.       "description": ""
  141.     },
  142.     {
  143.       "type": "ORDER.CREATED",
  144.       "createdAt": "2017-05-16T17:59:04.000-03",
  145.       "description": ""
  146.     }
  147.   ],
  148.   "receivers": [
  149.     {
  150.       "moipAccount": {
  151.         "id": "MPA-8694F2D54E9F",
  152.         "login": "jannone@parallel30.com",
  153.         "fullname": "Parallel 30 LTDA ME"
  154.       },
  155.       "type": "PRIMARY",
  156.       "amount": {
  157.         "total": 1100,
  158.         "fees": 0,
  159.         "refunds": 0
  160.       },
  161.       "feePayor": true
  162.     },
  163.     {
  164.       "moipAccount": {
  165.         "id": "MPA-640407C9EF46",
  166.         "login": "k3@gmail.com",
  167.         "fullname": "k3 k3 sobrenome"
  168.       },
  169.       "type": "SECONDARY",
  170.       "amount": {
  171.         "total": 9900,
  172.         "fees": 0,
  173.         "refunds": 0
  174.       },
  175.       "feePayor": false
  176.     }
  177.   ],
  178.   "_links": {
  179.     "self": {
  180.       "href": "https://sandbox.moip.com.br/v2/orders/ORD-4G4JZU3TQM6F"
  181.     },
  182.     "checkout": {
  183.       "payCheckout": {
  184.         "redirectHref": "https://checkout-new-sandbox.moip.com.br?token=3ca212d4-688c-4f90-be18-41970e586a95&id=ORD-4G4JZU3TQM6F"
  185.       },
  186.       "payCreditCard": {
  187.         "redirectHref": "https://checkout-new-sandbox.moip.com.br?token=3ca212d4-688c-4f90-be18-41970e586a95&id=ORD-4G4JZU3TQM6F&payment-method=credit-card"
  188.       },
  189.       "payBoleto": {
  190.         "redirectHref": "https://checkout-new-sandbox.moip.com.br?token=3ca212d4-688c-4f90-be18-41970e586a95&id=ORD-4G4JZU3TQM6F&payment-method=boleto"
  191.       },
  192.       "payOnlineBankDebitItau": {
  193.         "redirectHref": "https://checkout-sandbox.moip.com.br/debit/itau/ORD-4G4JZU3TQM6F"
  194.       }
  195.     }
  196.   }
  197. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement