Skip to content

Commit 26199b0

Browse files
committed
Add clarifying notes around using round number for TEMPLATE (and MULTIPLE) product orders
1 parent 92896dc commit 26199b0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

features/merchant-selection-template.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Templates you create yourself cannot be used in the Playground environment. Inst
3535

3636
- Set the `type` of the `products` object to `TEMPLATE`
3737
- Set the `template_id` in the `products` object to the ID you have obtained from the previous step.
38+
- Ensure the `face_value` is a round number and equal or greater than the minimum face value of the products selected.
3839

3940
```json Request example {9-12}
4041
{

reference/2024-02-05/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@
12491249
"properties": {
12501250
"face_value": {
12511251
"title": "Face Value",
1252-
"description": "Face value of the payout link. The currency of the face value is inferred from the product selection.",
1252+
"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.",
12531253
"minimum": 0.01,
12541254
"example": 10,
12551255
"type": "number"

0 commit comments

Comments
 (0)