Skip to content

Add clarifying notes around using round number for TEMPLATE (and MULT…#16

Merged
wjdp merged 2 commits intomainfrom
merchant-template-values
Nov 25, 2025
Merged

Add clarifying notes around using round number for TEMPLATE (and MULT…#16
wjdp merged 2 commits intomainfrom
merchant-template-values

Conversation

@wjdp
Copy link
Collaborator

@wjdp wjdp commented Nov 25, 2025

…IPLE) product orders

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds clarifying documentation about face value requirements for TEMPLATE and MULTIPLE product order modes, specifically noting that round numbers must be used in these scenarios.

  • Updates the OpenAPI specification to detail face value constraints based on product mode (SINGLE, MULTIPLE, TEMPLATE)
  • Adds instructional guidance in the merchant selection template documentation about face value requirements

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
reference/2024-02-05/openapi.json Expands the face_value field description to clarify that MULTIPLE and TEMPLATE modes require round numbers that meet minimum face value requirements
features/merchant-selection-template.mdx Adds a new step instructing users to ensure face_value is a round number meeting minimum requirements when using templates

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"face_value": {
"title": "Face Value",
"description": "Face value of the payout link. The currency of the face value is inferred from the product selection.",
"description": "Face value of the payout link. The currency of the face value is inferred from the product selection.\n\nWhat value is allowed depends on the product mode:\n- When ordering a `SINGLE` product this field follows the allowed values from the selected product.\n- If using `MULTIPLE` or `TEMPLATE` this value must be: equal or greater than the minimum face value of the products selected and be a round number.",
Copy link

Copilot AI Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider restructuring the sentence for better readability. The colon followed by "equal or greater than" is awkward. Suggestion: "If using MULTIPLE or TEMPLATE, this value must be equal to or greater than the minimum face value of the products selected and must be a round number."

Suggested change
"description": "Face value of the payout link. The currency of the face value is inferred from the product selection.\n\nWhat value is allowed depends on the product mode:\n- When ordering a `SINGLE` product this field follows the allowed values from the selected product.\n- If using `MULTIPLE` or `TEMPLATE` this value must be: equal or greater than the minimum face value of the products selected and be a round number.",
"description": "Face value of the payout link. The currency of the face value is inferred from the product selection.\n\nWhat value is allowed depends on the product mode:\n- When ordering a `SINGLE` product this field follows the allowed values from the selected product.\n- If using `MULTIPLE` or `TEMPLATE`, this value must be equal to or greater than the minimum face value of the products selected and must be a round number.",

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@wjdp wjdp merged commit 0296215 into main Nov 25, 2025
4 checks passed
@wjdp wjdp deleted the merchant-template-values branch November 25, 2025 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants