Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 1.15 KB

File metadata and controls

35 lines (18 loc) · 1.15 KB

Braintree Sample Backend Project

Project aims to demonstrate sample usage of Braintree API. Project contains swagger.

1. API Endpoints

  • POST /api/user/

  • POST /api/user/login

  • POST /api/creditcard/tokenize

  • DELETE /api/creditcard/{guid}

  • GET /api/creditcard/

  • POST /api/transaction/sale

  • GET /api/transaction/

2. Authentication

In order to use API, basic authentication should be sent as reuqest header. Due to the security reasons, a simple token mechanism is used. First, token should be taken via login endpoint. Secondly that token should be used as password for basic authentication.

3. Resources