-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated AuthAPI and released PaymentAPI
- Loading branch information
1 parent
4b152bd
commit 880c145
Showing
5 changed files
with
55 additions
and
4 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,46 @@ Endpoint | |
: ```/me/address``` | ||
|
||
Method | ||
: POST | ||
: GET | ||
|
||
## Request | ||
|
||
### Headers | ||
|
||
| Header | Required | Type | Description | | ||
|--------------|----------|--------|-------------| | ||
| x-auth-token | yes | string | Auth token | | ||
|
||
|
||
## Response | ||
|
||
| Parameter | Type | Description | | ||
|-----------|--------|-------------| | ||
| firstname | string | First name | | ||
| lastname | string | Last name | | ||
| street | string | Street | | ||
| zip | string | Zip code | | ||
| city | string | City | | ||
| country | string | Country | | ||
| phone | string | Phone | | ||
| email | string | Email | | ||
| type | string | Type | | ||
|
||
|
||
|
||
```json | ||
{ | ||
"firstname": "Tess T", | ||
"lastname": "Person", | ||
"street": "Testvägen 1", | ||
"zip": "12345", | ||
"city": "Testinge", | ||
"country": "SE", | ||
"phone": "0700000000", | ||
"email": "[email protected]", | ||
"type": "person" | ||
} | ||
|
||
``` | ||
For an example see [here](Auth-Example-address.md) | ||
|