[Moip] A response to «GET v2/customers/<customer ID>»

The API specification:

{
	"id": "CUS-UKXT2RQ2TULX",
	"ownId": "admin@mage2.pro4304",
	"fullname": "Dmitry Fedyuk",
	"createdAt": "2017-04-25T04:38:31.000-03",
	"birthDate": "1982-07-08",
	"email": "admin@mage2.pro",
	"fundingInstrument": {
		"creditCard": {
			"id": "CRC-3ITCTVLSEQKP",
			"brand": "VISA",
			"first6": "401200",
			"last4": "1112",
			"store": true
		},
		"method": "CREDIT_CARD"
	},
	"phone": {
		"countryCode": "55",
		"areaCode": "21",
		"number": "31398000"
	},
	"taxDocument": {
		"type": "CPF",
		"number": "22222222222"
	},
	"shippingAddress": {
		"zipCode": "22630-010",
		"street": "Avenida Lúcio Costa",
		"streetNumber": "3150",
		"complement": "",
		"city": "Rio de Janeiro",
		"district": "Barra da Tijuca",
		"state": "RJ",
		"country": "BRA"
	},
	"_links": {
		"self": {
			"href": "https://sandbox.moip.com.br/v2/customers/CUS-UKXT2RQ2TULX"
		},
		"hostedAccount": {
			"redirectHref": "https://hostedaccount-sandbox.moip.com.br?token=f6ea86bc-0d1d-41e5-94d2-804f30e1db5e&id=CUS-UKXT2RQ2TULX&mpa=MPA-B5A5BC7D23A2"
		}
	},
	"fundingInstruments": [
		{
			"creditCard": {
				"id": "CRC-3ITCTVLSEQKP",
				"brand": "VISA",
				"first6": "401200",
				"last4": "1112",
				"store": true
			},
			"method": "CREDIT_CARD"
		}
	]
}

See also: