freeCodeCamp/views/api/venmo.jade

50 lines
1.5 KiB
Plaintext
Raw Normal View History

2014-02-11 03:03:02 +00:00
extends ../layout
block content
.page-header
h2
i.fa.fa-money
| Venmo API
.btn-group.btn-group-justified
a.btn.btn-primary(href='https://developer.venmo.com/docs/quickstart', target='_blank')
i.fa.fa-book
| Quickstart
a.btn.btn-primary(href='https://developer.venmo.com/docs/api-console', target='_blank')
i.fa.fa-laptop
| API Console
a.btn.btn-primary(href='https://developer.venmo.com/docs/endpoints/payments', target='_blank')
i.fa.fa-code-fork
| API Endspoints
h3 Venmo Profile
2014-02-11 03:16:18 +00:00
//.col-sm-2
// img(src='#{profile.user.profile_picture_url}')
//.col-sm-8
// .lead Balance:
// strong $#{profile.balance}
// .lead Display Name:
// strong #{profile.user.display_name}
// .lead Email:
// strong #{profile.user.email}
// .lead Phone:
// strong #{profile.user.phone}
//
2014-02-11 03:03:02 +00:00
2014-02-11 03:16:18 +00:00
form(role='form', method='POST')
legend Make a payment
input(type='hidden', name='_csrf', value=token)
.form-group
label.control-label(for='user') Email, Phone, or User ID
input.form-control(type='text', name='user', id='user', autofocus=true)
.form-group
label.control-label(for='note') Note
input.form-control(type='text', name='note', id='note')
.form-group
label.control-label(for='amount') Amount
input.form-control(type='text', name='amount', id='amount')
.form-group
button.btn.btn-default(type='submit')
i.fa.fa-usd
| Send