Skip to content

Commit

Permalink
Updated AuthAPI and released PaymentAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
codedeviate committed Sep 13, 2024
1 parent 4b152bd commit 880c145
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Writerside/topics/API-Error-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@
| 6502 | Unknown state from card provider |
| 6503 | The merchant is not found with the given payment id |
| 6504 | Payment data is not found |
| 6661 | Invalid token |
| 6662 | Invalid hash |
| 6663 | Invalid company signer pno |
| 6664 | Auth person does not match the pno of invoice |
| 6665 | Bankid session could not be generated |
| 6666 | Missing token |
| 7010 | Name can not be empty. |
| 7015 | New password is empty |
| 7020 | Customer No/Number can not be empty. |
Expand Down
7 changes: 7 additions & 0 deletions Writerside/topics/API-changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,22 @@

<include from="Snippets-PaymentAPI.md" element-id="snippet-header"></include>

---
## 2024-09-13

The official release of PaymentAPI documentation.

---
## 2024-06-13

Released the first release candidate of PaymentAPI documentation.

---
## 2024-06-01

Released version 2.5.0 of the Payment API.

---
## 2024-05-28

Fixed typos and wrote supplementary texts.
Expand Down
4 changes: 2 additions & 2 deletions Writerside/topics/Public-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ Third-party packages that has obvious issues and/or is not maintained will be re
## PHP
### Packagist

**Status**: Testing
**Status**: Published

**Link**: [Packagist](https://packagist.org/packages/qvickly/api)

We are currently testing a module package for PHP.
The [Qvickly PHP Module](https://github.com/Billmate/qvickly-php-module) is available through Packagist.

## Javascript / Typescript
### JSR
Expand Down
1 change: 0 additions & 1 deletion Writerside/topics/Snippets-PaymentAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@

<snippet id="snippet-header">

<include from="Snippets-WorkingInformation.md" element-id="snippet-rc"></include>

</snippet>
41 changes: 40 additions & 1 deletion Writerside/topics/address.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 880c145

Please sign in to comment.