Skip to content

Commit 8d1d6ef

Browse files
authored
Merge pull request #156 from pt-techaspa/Missing-fields-to-create-payment-and-refund-payment
Missing fields payment request and outdated email refunds
2 parents 8c1b5e0 + 83d1537 commit 8d1d6ef

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

docs/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ Note, that at the moment HTTP 400 may occur also for 3rd party reasons - e.g. be
311311

312312
### Email refunds (deprecated)
313313

314-
Email refunds are deprecated, please use `/payments/{transactionId}/refund` endpoint with the customer’s email.
314+
**Note:** Email refunds are deprecated, please use [`/payments/{transactionId}/refund`](#refund) endpoint with the customer’s email.
315315

316316
`HTTP POST /payments/{transactionId}/refund/email` email refunds a payment by transaction ID.
317317

@@ -1080,10 +1080,11 @@ These URLs must use HTTPS.
10801080

10811081
##### Commission
10821082

1083-
| Field | Type | Required | Example | Description |
1084-
| -------- | ------- | ------------------ | ------- | --------------------------------------------------------------------------------------------- |
1085-
| merchant | string | <center>x</center> | 695874 | Merchant who gets the commission |
1086-
| amount | integer | <center>x</center> | 250 | Amount of commission in currency's minor units, e.g. for Euros use cents. VAT not applicable. |
1083+
| Field | Type | Required | Example | Description |
1084+
| ------------- | ------- | ------------------ | ------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
1085+
| merchant | string | <center>x</center> | 695874 | Merchant who gets the commission |
1086+
| amount | integer | <center>x</center> | 250 | Amount of commission in currency's minor units, e.g. for Euros use cents. VAT not applicable. |
1087+
| vatPercentage | integer | <center></center> | 25.5 | Commissions VAT percentage. Values between 0 and 100 are allowed with one number in decimal part. If not given, 25.5 will be used as default |
10871088

10881089
See [an example payload and response](/examples#create)
10891090

0 commit comments

Comments
 (0)