-
Notifications
You must be signed in to change notification settings - Fork 13
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
Labels
enhancement
New feature or request
Comments
Link to the documentation: https://docs.paytrail.com/#/?id=refund-payment |
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
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
}]
The text was updated successfully, but these errors were encountered: