Discussions

Ask a Question
Back to All

Distinguishing prepared fixed-send vs fixed-receive amount payments

https://docs.openpayments.guide/reference/create-outgoing-payment#amounts

fixed-send-amount payment:

When the sending account provider has finished preparing the payment it will set the value of the receiveAmount

fixed-receive-amount payment:

When the sending account provider has finished preparing the payment it will set the value of the sendAmount

How can a client distinguish between a fixed-send and fixed-receive amount payment after it is prepared and both sendAmount and receiveAmount are defined?