Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for item level refunds #72

Closed
kotivuori opened this issue Apr 13, 2023 · 1 comment · Fixed by #77
Closed

Add support for item level refunds #72

kotivuori opened this issue Apr 13, 2023 · 1 comment · Fixed by #77
Assignees
Labels
enhancement New feature or request

Comments

@kotivuori
Copy link
Collaborator

Paytrail API supports now refunds at item level. Previously this was possible only for shop-in-shop payments.

To make use of this feature payment and refund items need to include unique stamp.

Payment:
items: [
{
unitPrice: 1000,
units: 1,
vatPercentage: 24,
productCode: 'test',
deliveryDate: '2021-07-29',
description: 'Testituote 1',
stamp: 'Unique identifier for this item'
}]

Refund:
items: [{
stamp: 'Unique identifier for this item',
amount: 1000
}]

@kotivuori kotivuori added the enhancement New feature or request label Apr 13, 2023
@VuorelaJ-P VuorelaJ-P self-assigned this Apr 13, 2023
@loueranta-paytrail
Copy link
Collaborator

Link to the documentation: https://docs.paytrail.com/#/?id=refund-payment

@loueranta-paytrail loueranta-paytrail changed the title Add stamp to payment and refund items Add support for item level refunds Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants