File tree Expand file tree Collapse file tree 1 file changed +31
-11
lines changed Expand file tree Collapse file tree 1 file changed +31
-11
lines changed Original file line number Diff line number Diff line change @@ -576,17 +576,37 @@ paths:
576
576
assetCode : USD
577
577
assetScale : 2
578
578
schema :
579
- type : object
580
- additionalProperties : false
581
- properties :
582
- receiver :
583
- $ref : ./schemas.yaml#/components/schemas/receiver
584
- receiveAmount :
585
- $ref : ./schemas.yaml#/components/schemas/amount
586
- sendAmount :
587
- $ref : ./schemas.yaml#/components/schemas/amount
588
- required :
589
- - receiver
579
+ oneOf :
580
+ - description : Create quote for an `receiver` that is an Incoming Payment with an `incomingAmount`
581
+ properties :
582
+ receiver :
583
+ $ref : ./schemas.yaml#/components/schemas/receiver
584
+ required :
585
+ - receiver
586
+ additionalProperties : false
587
+ - description : Create a quote with a fixed-receive amount
588
+ properties :
589
+ receiver :
590
+ $ref : ./schemas.yaml#/components/schemas/receiver
591
+ receiveAmount :
592
+ description : The fixed amount that would be paid into the receiving payment pointer given a successful outgoing payment.
593
+ $ref : ./schemas.yaml#/components/schemas/amount
594
+ required :
595
+ - receiver
596
+ - receiveAmount
597
+ additionalProperties : false
598
+ - description : Create a quote with a fixed send amount
599
+ properties :
600
+ receiver :
601
+ $ref : ./schemas.yaml#/components/schemas/receiver
602
+ sendAmount :
603
+ description : The fixed amount that would be sent from the sending payment pointer given a successful outgoing payment.
604
+ $ref : ./schemas.yaml#/components/schemas/amount
605
+ required :
606
+ - receiver
607
+ - sendAmount
608
+ additionalProperties : false
609
+
590
610
description : |-
591
611
A subset of the quotes schema is accepted as input to create a new quote.
592
612
You can’t perform that action at this time.
0 commit comments