Skip to content

Instantly share code, notes, and snippets.

@nrktkt
Last active January 30, 2017 17:33
Show Gist options
  • Save nrktkt/b6ace263ea32b66702304369c4a1f369 to your computer and use it in GitHub Desktop.
Save nrktkt/b6ace263ea32b66702304369c4a1f369 to your computer and use it in GitHub Desktop.
Google Wallet API
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Google Wallet API | Google Wallet Platform | Google Developers</title>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700|Material+Icons">
<link rel="stylesheet" href="https://developers.google.com/_static/a9bd1d6825/css/devsite-google-green.css" />
<link rel="stylesheet" href="https://developers.google.com/+/css/plus.css" type="text/css">
<link rel="stylesheet" href="https://stackedit.io/res-min/themes/base.css" />
<link rel="shortcut icon" href="https://developers.google.com/_static/6588f837d2/images/favicon.png">
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
</head>
<body class="devsite-doc-page
devsite-chekov
devsite-header-no-upper-tabs
no-touch">
<div class="devsite-wrapper">
<header class="devsite-top-section nocontent" style="position: fixed;"><div class="devsite-top-logo-row-wrapper-wrapper" style="position: relative;"><div class="devsite-top-logo-row-wrapper"><div class="devsite-top-logo-row devsite-full-site-width"><button type="button" class="devsite-expand-section-nav devsite-header-icon-button button-flat material-icons"></button><div class="devsite-product-name-wrapper"><a class="devsite-product-name-link gc-analytics-event" href="https://developers.google.com/+/" data-category="Site-Wide Custom Events" data-label="Project logo (header)"><img src="http://img.talkandroid.com/uploads/2015/09/google-wallet-new-logo.png" class="devsite-product-logo devsite-product-logo-white" alt="Google+ Platform"></a><span class="devsite-product-name"><ul class="devsite-breadcrumb-list"><li class="devsite-breadcrumb-item"><a href="https://developers.google.com/+/" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Upper Header" data-value="1">
Google Wallet Platform
</a></li><div class="devsite-breadcrumb-guillemet material-icons"></div><li class="devsite-breadcrumb-item"><div></div><a href="https://developers.google.com/+/web/" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Upper Header" data-value="2">
Web
</a></li></ul></span></div><div class="devsite-header-upper-tabs"></div><form class="devsite-search-form" placeholder="Search" action="https://developers.google.com/s/results/" method="GET" id="top-search"><div id="searchbox" class="devsite-searchbox"><input type="text" class="devsite-search-field devsite-search-query" name="q" value="" placeholder="Search" autocomplete="off"><div class="devsite-search-image material-icons"></div></div><input type="hidden" name="p" id="search_project" value="/+/web/" data-project-name="Google+ Platform for Web" data-project-path="/+/web/" data-query-match=""><input type="hidden" class="suggest-project" value="Google+ Platform for Web"><div class="devsite-popout devsite-popout-closed"><div class="devsite-suggest-results" style="display: none;"></div><div class="devsite-history-container"><div class="devsite-history-wrapper"><div class="devsite-history-side-column"><div class="devsite-history-icon material-icons"></div></div><div class="devsite-history-main-column"><div class="devsite-history-column devsite-nav goog-menu" id="devsite-recent-column" role="menu" aria-haspopup="true" style="-webkit-user-select: none;"><label style="-webkit-user-select: none;">Recent Pages</label><div class="devsite-history-item devsite-nav-label goog-menuitem" role="menuitem" style="-webkit-user-select: none;" id=":0"><div class="goog-menuitem-content" style="-webkit-user-select: none;"><a href="/+/web/api/rest/" class="devsite-history-link" style="-webkit-user-select: none;">Google+ API</a></div></div><div class="devsite-history-item devsite-nav-label goog-menuitem" role="menuitem" style="-webkit-user-select: none;" id=":1"><div class="goog-menuitem-content" style="-webkit-user-select: none;"><a href="/+/web/api/rest/latest/comments" class="devsite-history-link" style="-webkit-user-select: none;">Comments</a></div></div><div class="devsite-history-item devsite-nav-label goog-menuitem" role="menuitem" style="-webkit-user-select: none;" id=":2"><div class="goog-menuitem-content" style="-webkit-user-select: none;"><a href="/identity/protocols/OpenIDConnect" class="devsite-history-link" style="-webkit-user-select: none;">OpenID Connect</a></div></div><div class="devsite-history-item devsite-nav-label goog-menuitem" role="menuitem" style="-webkit-user-select: none;" id=":3"><div class="goog-menuitem-content" style="-webkit-user-select: none;"><a href="/+/web/api/rest/latest/activities/list" class="devsite-history-link" style="-webkit-user-select: none;">Activities: list</a></div></div><div class="devsite-history-item devsite-nav-label goog-menuitem" role="menuitem" style="-webkit-user-select: none;" id=":4"><div class="goog-menuitem-content" style="-webkit-user-select: none;"><a href="/+/web/api/rest/latest/activities" class="devsite-history-link" style="-webkit-user-select: none;">Activities</a></div></div></div><div class="devsite-history-column devsite-nav goog-menu" id="devsite-frequent-column" role="menu" aria-haspopup="true" style="-webkit-user-select: none;"><label style="-webkit-user-select: none;">Most Visited Pages</label><div class="devsite-history-item devsite-nav-label goog-menuitem" role="menuitem" style="-webkit-user-select: none;" id=":5"><div class="goog-menuitem-content" style="-webkit-user-select: none;"><a href="/+/web/api/rest/latest/" class="devsite-history-link" style="-webkit-user-select: none;">API Reference</a></div></div><div class="devsite-history-item devsite-nav-label goog-menuitem" role="menuitem" style="-webkit-user-select: none;" id=":6"><div class="goog-menuitem-content" style="-webkit-user-select: none;"><a href="/+/web/api/rest/" class="devsite-history-link" style="-webkit-user-select: none;">Google+ API</a></div></div><div class="devsite-history-item devsite-nav-label goog-menuitem" role="menuitem" style="-webkit-user-select: none;" id=":7"><div class="goog-menuitem-content" style="-webkit-user-select: none;"><a href="/+/web/api/rest/latest/people/get" class="devsite-history-link" style="-webkit-user-select: none;">People: get</a></div></div><div class="devsite-history-item devsite-nav-label goog-menuitem" role="menuitem" style="-webkit-user-select: none;" id=":8"><div class="goog-menuitem-content" style="-webkit-user-select: none;"><a href="/identity/protocols/OpenIDConnect" class="devsite-history-link" style="-webkit-user-select: none;">OpenID Connect</a></div></div><div class="devsite-history-item devsite-nav-label goog-menuitem" role="menuitem" style="-webkit-user-select: none;" id=":9"><div class="goog-menuitem-content" style="-webkit-user-select: none;"><a href="/+/web/api/rest/latest/people" class="devsite-history-link" style="-webkit-user-select: none;">People</a></div></div></div><div class="devsite-history-footer"><a href="//myaccount.google.com/privacy#accounthistory" class="devsite-history-preferences-link button button-white">History Preferences</a></div></div></div></div></div></form><a class="devsite-header-link" href="https://developers.google.com/products/"><div class="devsite-header-link-label">All Products</div></a><img src="https://lh6.googleusercontent.com/-TusnBmHXA7k/AAAAAAAAAAI/AAAAAAAAkls/gUhGHhkztqo/photo.jpg?sz=64" class="devsite-user-avatar" tabindex="0"></div><div class="devsite-collapsible-section" style="margin-top: 0px;"><div class="devsite-header-background devsite-full-site-width"><div class="devsite-doc-set-nav-row devsite-full-site-width"><nav class="devsite-doc-set-nav devsite-nav devsite-overflow-tabs-scroll-wrapper"><ul class="devsite-doc-set-nav-tab-list devsite-overflow-tabs-scroll" style="min-width: 653px; left: 0px;"><li class="devsite-doc-set-nav-tab-container"><a href="https://developers.google.com/+/web/" class="
devsite-doc-set-nav-tab gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Tab: Home">
Home
</a></li><li class="devsite-doc-set-nav-tab-container"><a href="https://developers.google.com/+/web/+1button/" class="
devsite-doc-set-nav-tab gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Tab: Guides">
Guides
</a></li><li class="devsite-doc-set-nav-tab-container"><a href="https://developers.google.com/+/web/api/javascript" class="devsite-doc-set-nav-active
devsite-doc-set-nav-tab gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Tab: Reference">
Reference
</a></li><li class="devsite-doc-set-nav-tab-container"><a href="https://developers.google.com/+/web/samples/javascript" class="
devsite-doc-set-nav-tab gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Tab: Samples">
Samples
</a></li><li class="devsite-doc-set-nav-tab-container"><a href="https://developers.google.com/+/web/support" class="
devsite-doc-set-nav-tab gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Tab: Support">
Support
</a></li><button type="button" id="devsite-feedback-project" class="devsite-feedback-button devsite-top-button gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Send Feedback Button">
Send feedback
</button></ul></nav></div></div></div></header>
<br>
<div class="container">
<h1 id="google-wallet-api">Google Wallet API</h1>
<h2 id="overview">Overview</h2>
<h3 id="authorization">Authorization</h3>
<hr>
<p>Google Wallet API calls require that the account holder grant permission to make payments. Google uses the OAuth 2.0 protocol to allow authorized applications to access user data. To learn more, see <a href="https://developers.google.com/identity/protocols/OAuth2">OAuth</a>.</p>
<h3 id="api-calls">API Calls</h3>
<hr>
<p>The Google Wallet API follows a RESTful API design, meaning that you use standard HTTP methods to retrieve and manipulate resources. For example, to get the details of a payment, you might send an HTTP request like: <br>
<code>GET https://www.googleapis.com/wallet/v1/payments/<var>paymentId</var></code></p>
<h3 id="webhooks">Webhooks</h3>
<hr>
<p>If you wish to receive updates when a payment initiated by your application undergoes a change (request accepted, transfer returned or transfer expired) you can register webhooks in the developer console.</p>
<h3 id="data-formats">Data Formats</h3>
<hr>
<p>Resources in the Google Wallet API are represented using JSON data formats. For example, retrieving a payment may result in a response like:</p>
<pre class="prettyprint"><code class="language-json hljs ">{
"<span class="hljs-attribute">replayId</span>": <span class="hljs-value"><span class="hljs-number">123</span></span>,
"<span class="hljs-attribute">amount</span>": <span class="hljs-value"><span class="hljs-number">3.50</span></span>,
"<span class="hljs-attribute">currency</span>": <span class="hljs-value"><span class="hljs-string">"USD"</span></span>,
"<span class="hljs-attribute">recipient</span>": <span class="hljs-value">{
"<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"larry@google.com"</span></span>,
"<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"email"</span>
</span>}</span>,
"<span class="hljs-attribute">timestamp</span>": <span class="hljs-value"><span class="hljs-string">"2016-05-07T23:54:25.000Z"</span></span>,
"<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"transfer"</span></span>,
"<span class="hljs-attribute">message</span>": <span class="hljs-value"><span class="hljs-string">"an optional message to go with the payment"</span></span>,
"<span class="hljs-attribute">status</span>": <span class="hljs-value"><span class="hljs-string">"complete"</span></span>,
"<span class="hljs-attribute">transactionId</span>": <span class="hljs-value"><span class="hljs-string">"T.DHZ5-A4GA-XHSI-JHNI"</span></span>,
"<span class="hljs-attribute">funding</span>": <span class="hljs-value"><span class="hljs-string">"Checking-6789"</span></span>,
"<span class="hljs-attribute">_links</span>": <span class="hljs-value">{
"<span class="hljs-attribute">self</span>": <span class="hljs-value">{
"<span class="hljs-attribute">href</span>": <span class="hljs-value"><span class="hljs-string">"https://www.googleapis.com/wallet/v1/payments/VC5ESFo1LUE0R0EtWEhTSS1KSE5J"</span>
</span>}</span>,
"<span class="hljs-attribute">sender</span>": <span class="hljs-value">{
"<span class="hljs-attribute">href</span>": <span class="hljs-value"><span class="hljs-string">"https://www.googleapis.com/plus/v1/people/SergeyBrin"</span>
</span>}</span>,
"<span class="hljs-attribute">recipient</span>": <span class="hljs-value">{
"<span class="hljs-attribute">href</span>": <span class="hljs-value"><span class="hljs-string">"https://www.googleapis.com/plus/v1/people/LarryPage"</span>
</span>}</span>,
"<span class="hljs-attribute">funding</span>": <span class="hljs-value">{
"<span class="hljs-attribute">href</span>": <span class="hljs-value"><span class="hljs-string">"https://www.googleapis.com/wallet/v1/funding/dg5U87TZR4vgVGn4ac39mWkb"</span>
</span>}
</span>}
</span>}</code></pre>
<h2 id="api-reference">API Reference</h2>
<p>This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.</p>
<h3 id="resource-types">Resource Types</h3>
<hr>
<blockquote>
<p>URIs relative to <a href="https://www.googleapis.com/wallet/v1">https://www.googleapis.com/wallet/v1</a>, unless otherwise noted</p>
</blockquote>
<h4 id="payments">Payments</h4>
<hr>
<table>
<thead>
<tr>
<th>Method</th>
<th>HTTP Request</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td>get</td>
<td><code>GET /payments/<var>paymentId</var></code></td>
<td>Get an existing payment.</td>
</tr>
<tr>
<td>create</td>
<td><code>POST /payments</code></td>
<td>Create a new payment. The payment can be either a transfer or a request.</td>
</tr>
<tr>
<td>update</td>
<td><code>PATCH /payments/<var>paymentId</var></code></td>
<td>Update a payment which is not in a final state. This is used for confirming payment requests.</td>
</tr>
<tr>
<td>list</td>
<td><code>GET /payments</code></td>
<td>List all payments the caller has participated in.</td>
</tr>
</tbody></table>
<h4 id="funding">Funding</h4>
<hr>
<blockquote>
<p>Sipree note: <br>
The ability to manipulate funding sources from an API is secondary to the main payment processing API. </p>
</blockquote>
<table>
<thead>
<tr>
<th>Method</th>
<th>HTTP Request</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td>get</td>
<td><code>GET /funding/<var>id</var></code></td>
<td>Retrieve the details of a funding source for the caller. <code>default</code> or <code>wallet</code> can be used as the <var>id</var> to get the default funding source or google wallet balance, respectively.</td>
</tr>
<tr>
<td>create</td>
<td><code>POST /funding</code></td>
<td>Create a funding source. Funding sources can be bank accounts, credit, or debit cards.</td>
</tr>
<tr>
<td>remove</td>
<td><code>DELETE /funding/<var>id</var></code></td>
<td>Remove a funding source.</td>
</tr>
</tbody></table>
<h2 id="payments-1">Payments</h2>
<h3 id="resource-representation">Resource representation</h3>
<hr>
<p>A Payment is represented in the Google Wallet API as a JSON data structure, as shown below, that is sent in the body of a request, or received in the body of a response. This representation is the set of all possible fields an activity can contain.</p>
<pre class="prettyprint"><code class="language-yaml hljs json">{
"<span class="hljs-attribute">replayId</span>": <span class="hljs-value">integer</span>,
"<span class="hljs-attribute">amount</span>": <span class="hljs-value">decimal</span>,
"<span class="hljs-attribute">currency</span>": <span class="hljs-value">currency</span>,
"<span class="hljs-attribute">recipient</span>": <span class="hljs-value">{
"<span class="hljs-attribute">id</span>": <span class="hljs-value">string</span>,
"<span class="hljs-attribute">type</span>": <span class="hljs-value">string
</span>}</span>,
"<span class="hljs-attribute">sender</span>": <span class="hljs-value">{
"<span class="hljs-attribute">id</span>": <span class="hljs-value">string</span>,
"<span class="hljs-attribute">type</span>": <span class="hljs-value">string
</span>}</span>,
"<span class="hljs-attribute">timestamp</span>": <span class="hljs-value">timestamp</span>,
"<span class="hljs-attribute">type</span>": <span class="hljs-value">string</span>,
"<span class="hljs-attribute">message</span>": <span class="hljs-value">string</span>,
"<span class="hljs-attribute">status</span>": <span class="hljs-value">string</span>,
"<span class="hljs-attribute">transactionId</span>": <span class="hljs-value">string</span>,
"<span class="hljs-attribute">funding</span>": <span class="hljs-value">string</span>,
"<span class="hljs-attribute">_links</span>": <span class="hljs-value">{
"<span class="hljs-attribute">self</span>": <span class="hljs-value">{
"<span class="hljs-attribute">href</span>": <span class="hljs-value">uri
</span>}</span>,
"<span class="hljs-attribute">sender</span>": <span class="hljs-value">{
"<span class="hljs-attribute">href</span>": <span class="hljs-value">uri
</span>}</span>,
"<span class="hljs-attribute">recipient</span>": <span class="hljs-value">{
"<span class="hljs-attribute">href</span>": <span class="hljs-value">uri
</span>}</span>,
"<span class="hljs-attribute">funding</span>": <span class="hljs-value">{
"<span class="hljs-attribute">href</span>": <span class="hljs-value">uri
</span>}
</span>}
</span>}</code></pre>
<table>
<thead>
<tr>
<th>Property name</th>
<th>Description</th>
<th>Notes</th>
</tr>
</thead>
<tbody><tr>
<td><code>replayId</code></td>
<td>An ID used to prevent accidental double submission of payments.</td>
<td></td>
</tr>
<tr>
<td><code>amount</code></td>
<td></td>
<td></td>
</tr>
<tr>
<td><code>currency</code></td>
<td>An ISO 4217 currency code.</td>
<td></td>
</tr>
<tr>
<td><code>recipient.id</code></td>
<td>An identifier for the recipient of money; can be a phone number, email address, or Google ID.</td>
<td>Either a recipient xor a sender object is required, both cannot be present. Presence of a recipient indicates this is a transfer, presence of a sender indicates this is a request.</td>
</tr>
<tr>
<td><code>recipient.type</code></td>
<td>A string identifying what type of ID is present. Valid values are <code>email</code>, <code>phone</code>, or <code>sub</code>.</td>
<td></td>
</tr>
<tr>
<td><code>sender.id</code></td>
<td>An identifier for the sender of money; can be a phone number, email address, or Google ID.</td>
<td>Either a recipient xor a sender object is required, both cannot be present. Presence of a recipient indicates this is a transfer, presence of a sender indicates this is a request.</td>
</tr>
<tr>
<td><code>sender.type</code></td>
<td>A string identifying what type of ID is present. Valid values are <code>email</code>, <code>phone</code>, or <code>sub</code>.</td>
<td></td>
</tr>
<tr>
<td><code>timestamp</code></td>
<td>An ISO 8601 date time indicating when the payment was created.</td>
<td></td>
</tr>
<tr>
<td><code>type</code></td>
<td>Either <code>transfer</code> or <code>request</code>.</td>
<td></td>
</tr>
<tr>
<td><code>message</code></td>
<td>An optional message from the initiator to the subject of the payment.</td>
<td></td>
</tr>
<tr>
<td><code>status</code></td>
<td>Either <code>complete</code>, <code>pending</code> (payment was a request which has not been accepted), <code>returned</code>, <code>unclaimed</code> (payment was sent to an ID which is not yet associated with a Google account), or <code>expired</code> (payment was sent to an ID which is not yet associated with a Google account and the ID was not linked within 15 days).</td>
<td></td>
</tr>
<tr>
<td><code>transactionId</code></td>
<td></td>
<td></td>
</tr>
<tr>
<td><code>funding</code></td>
<td>A string identifying which of the senders funding sources should be used.</td>
<td>This field is not provided when the recipient uses the get method on this payment.</td>
</tr>
<tr>
<td><code>_links</code></td>
<td>HAL hypermedia links to other resources relevant to the payment. Namely the sender and recipient’s profiles, and the funding source.</td>
<td></td>
</tr>
</tbody></table>
<h2 id="funding-1">Funding</h2>
<h3 id="resource-representations">Resource representations</h3>
<hr>
<h5 id="wallet-balance">Wallet balance</h5>
<pre class="prettyprint"><code class="language-yaml hljs avrasm"><span class="hljs-label">object:</span> wallet_balance
<span class="hljs-label">id:</span> Balance
<span class="hljs-label">currency:</span> USD
<span class="hljs-label">balance:</span> <span class="hljs-number">53.75</span>
<span class="hljs-label">_links:</span>
self:
href: https://www<span class="hljs-preprocessor">.googleapis</span><span class="hljs-preprocessor">.com</span>/wallet/v1/funding/aSDFlshgoaghoahg
owner:
href: https://www<span class="hljs-preprocessor">.googleapis</span><span class="hljs-preprocessor">.com</span>/plus/v1/people/SergeyBrin</code></pre>
<h5 id="bank-account">Bank account</h5>
<pre class="prettyprint"><code class="language-yaml hljs avrasm"><span class="hljs-label">object:</span> <span class="hljs-string">"bank_account"</span> <span class="hljs-preprocessor"># card or bank_account or wallet_balance</span>
<span class="hljs-label">id:</span> Checking-<span class="hljs-number">6789</span> <span class="hljs-preprocessor"># not globally unique </span>
<span class="hljs-label">accountHolderName:</span> <span class="hljs-string">"Jane Austen"</span>
<span class="hljs-label">accountHolderType:</span> savings <span class="hljs-preprocessor">#savings, checking or business</span>
<span class="hljs-label">bankName:</span> <span class="hljs-string">"NOT-STRIPE TEST BANK"</span>
<span class="hljs-label">country:</span> <span class="hljs-string">"US"</span>
<span class="hljs-label">currency:</span> USD
<span class="hljs-label">last4:</span> <span class="hljs-string">"6789"</span>
<span class="hljs-label">routingNumber:</span> <span class="hljs-string">"110000000"</span>
<span class="hljs-label">status:</span> <span class="hljs-string">"new"</span> <span class="hljs-preprocessor"># new, validated (exists) , verified, verification_failed, or errored</span>
<span class="hljs-label">_links:</span>
self:
href: https://www<span class="hljs-preprocessor">.googleapis</span><span class="hljs-preprocessor">.com</span>/wallet/v1/funding/dg5U87TZR4vgVGn4ac39mWkb
owner:
href: https://www<span class="hljs-preprocessor">.googleapis</span><span class="hljs-preprocessor">.com</span>/plus/v1/people/SergeyBrin</code></pre>
<h5 id="card">Card</h5>
<pre class="prettyprint"><code class="language-yaml hljs avrasm"><span class="hljs-label">id:</span> VISA-<span class="hljs-number">5645</span> <span class="hljs-preprocessor"># not globally unique</span>
<span class="hljs-label">object:</span> <span class="hljs-string">"card"</span> <span class="hljs-preprocessor"># card or bank_account or wallet_balance</span>
<span class="hljs-label">addressCity:</span> null
<span class="hljs-label">addressCountry:</span> null
<span class="hljs-label">addressLine1:</span> null
<span class="hljs-label">addressLine1Check:</span> unchecked <span class="hljs-preprocessor">#pass, fail, unavailable, or unchecked</span>
<span class="hljs-label">addressLine2:</span> null
<span class="hljs-label">addressState:</span> null
<span class="hljs-label">addressZip:</span> null
<span class="hljs-label">addressZipCheck:</span> unchecked <span class="hljs-preprocessor">#pass, fail, unavailable, or unchecked</span>
<span class="hljs-label">brand:</span> <span class="hljs-string">"Visa"</span>
<span class="hljs-label">country:</span> <span class="hljs-string">"US"</span>
<span class="hljs-label">cvcCheck:</span> <span class="hljs-string">"unchecked"</span> <span class="hljs-preprocessor">#pass, fail, unavailable, or unchecked</span>
<span class="hljs-label">expMonth:</span> <span class="hljs-number">7</span>
<span class="hljs-label">expYear:</span> <span class="hljs-number">2018</span>
<span class="hljs-label">funding:</span> <span class="hljs-string">"debit"</span> <span class="hljs-preprocessor">#debit or credit</span>
<span class="hljs-label">last4:</span> <span class="hljs-string">"5645"</span>
<span class="hljs-label">name:</span> Sergey Brin
<span class="hljs-label">_links:</span>
self:
href: https://www<span class="hljs-preprocessor">.googleapis</span><span class="hljs-preprocessor">.com</span>/wallet/v1/funding/jlaksjdfLSKDJFLOJOIEfjlksd
owner:
href: https://www<span class="hljs-preprocessor">.googleapis</span><span class="hljs-preprocessor">.com</span>/plus/v1/people/SergeyBrin</code></pre></div></div></div></div></body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment