/payment-orders/select-assetSelect Payment Vault Order Asset
Outcome - Selects or changes the cryptocurrency asset for an existing payment order. This assigns a new wallet and recalculates the amount in the selected asset.
Body Parameters
orderIdstringrequiredmax(42)The ID of the payment order
assetIdnumberrequiredID of the new asset to use for payment
Responses
Response attributes
messagestringSuccess message
dataobjectUpdated payment order with new asset assignment
Show child attributes (22)
idstringOrder ID
referentialAutoIncrementalIdnumberAuto-incremental ID of the order
vaultIdnumberVault ID associated with this order
walletIdnumberID of the assigned wallet
clientNamestringName of the client
itemNamestringName of the item being purchased
statusstringOrder status (PENDING, COMPLETED, CANCELLED, PARTIALLY_PAID, EXPIRED)
amountInDollarstringAmount converted to USD
amountInFiatstringOriginal amount in fiat currency
emailstringCustomer email
expirationstringOrder expiration timestamp
vaultobjectVault configuration details
Show child attributes (3)
gasStationCategoryIdnumberGas station category ID
fiatCurrencyDetailsobjectFiat currency details
Show child attributes (4)
idnumberCurrency ID
namestringCurrency name
symbolstringCurrency symbol
pricingIdstringPricing identifier
photostring | nullVault photo URL
walletobjectAssigned wallet details
Show child attributes (12)
idnumberWallet ID
assetIdnumberAsset ID
balancestringCurrent wallet balance
pendingBalancestringPending balance
publicAddressstringBlockchain address for payment
transactionsCountstringNumber of transactions
targetIdstringTarget ID
protocolnumberProtocol number
assetobjectAsset details with network information
typestringWallet type (ORDER)
createdAtstringWallet creation timestamp
updatedAtstringWallet update timestamp
amountToBeCollectedstringAmount available for collection
transactionsarrayArray of order transactions
Show child attributes (5)
idnumberTransaction ID
amountstringTransaction amount
blockMinedAtstringBlock mining timestamp
blockchainTransactionIdstringBlockchain transaction hash
createdAtstringTransaction creation timestamp
balancestringCurrent order balance
expirationWithTolerancestringExpiration time with tolerance period
paymentLinkstringURL for the payment page
globalIdstringGlobal unique identifier (ULID)
amountInAssetstringRecalculated amount in the newly selected asset
createdAtstringOrder creation timestamp
updatedAtstringOrder update timestamp
statusnumberHTTP status code
Was this page helpful?