Created
August 3, 2019 18:41
-
-
Save pedrinho/54fa7be0fe6ffb5847599156640accd7 to your computer and use it in GitHub Desktop.
Return of Braintree Create Customer SDK call
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"customer": { | |
"id": "567978826", | |
"merchantId": "zkqwqvz29rv5rd82", | |
"firstName": null, | |
"lastName": null, | |
"company": null, | |
"email": null, | |
"phone": null, | |
"fax": null, | |
"website": null, | |
"createdAt": "2019-08-03T17:39:38Z", | |
"updatedAt": "2019-08-03T17:39:39Z", | |
"customFields": "", | |
"globalId": "Y3VzdG9tZXJfNTY3OTc4ODI2", | |
"creditCards": [], | |
"paypalAccounts": [ | |
{ | |
"billingAgreementId": "B-7M2130485Y441825S", | |
"createdAt": "2019-08-03T17:39:39Z", | |
"customerId": "567978826", | |
"default": true, | |
"email": "buyer@shipsmart.com.br", | |
"globalId": "cGF5bWVudG1ldGhvZF9wcF83eWZqNmY", | |
"imageUrl": "https://assets.braintreegateway.com/payment_method_logo/paypal.png?environment=sandbox", | |
"subscriptions": [], | |
"token": "7yfj6f", | |
"updatedAt": "2019-08-03T17:39:39Z", | |
"isChannelInitiated": false, | |
"payerId": "6XMCZV4LTGZ92", | |
"payerInfo": { | |
"shippingAddress": { | |
"line1": "1234 Rua Main", | |
"city": "Rio De Janeiro", | |
"state": "RJ", | |
"postalCode": "22021-001", | |
"countryCode": "BR" | |
}, | |
"email": "buyer@shipsmart.com.br", | |
"firstName": "Pedro", | |
"lastName": "Scarapicchia", | |
"payerId": "6XMCZV4LTGZ92", | |
"countryCode": "BR" | |
}, | |
"limitedUseOrderId": null, | |
"revokedAt": null | |
} | |
], | |
"addresses": [], | |
"paymentMethods": [ | |
{ | |
"billingAgreementId": "B-7M2130485Y441825S", | |
"createdAt": "2019-08-03T17:39:39Z", | |
"customerId": "567978826", | |
"default": true, | |
"email": "buyer@shipsmart.com.br", | |
"globalId": "cGF5bWVudG1ldGhvZF9wcF83eWZqNmY", | |
"imageUrl": "https://assets.braintreegateway.com/payment_method_logo/paypal.png?environment=sandbox", | |
"subscriptions": [], | |
"token": "7yfj6f", | |
"updatedAt": "2019-08-03T17:39:39Z", | |
"isChannelInitiated": false, | |
"payerId": "6XMCZV4LTGZ92", | |
"payerInfo": { | |
"shippingAddress": { | |
"line1": "1234 Rua Main", | |
"city": "Rio De Janeiro", | |
"state": "RJ", | |
"postalCode": "22021-001", | |
"countryCode": "BR" | |
}, | |
"email": "buyer@shipsmart.com.br", | |
"firstName": "Pedro", | |
"lastName": "Scarapicchia", | |
"payerId": "6XMCZV4LTGZ92", | |
"countryCode": "BR" | |
}, | |
"limitedUseOrderId": null, | |
"revokedAt": null | |
} | |
] | |
}, | |
"success": true | |
} | |
//https://developers.braintreepayments.com/reference/request/customer/create/node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment