createPurchasePaymentAdapter
@totemsdk/edge-adapters / createPurchasePaymentAdapter
Function: createPurchasePaymentAdapter()
createPurchasePaymentAdapter(
config):object
Create a PurchasePaymentPort with an atomic idempotency-key claim.
Parameters
config
Returns
object
pay()
pay(
params):Promise<EdgeOperationResult<PaymentResult>>
Parameters
params
amount
string
idempotencyKey?
string
memo?
string
recipient
string
tokenId?
string
Returns
Promise<EdgeOperationResult<PaymentResult>>