Get Payment By ID

Warning: This API has been deprecated. Please use Wallets. Contact your sales representative if you require additional blockchain support.

AGET /assets/asset-accounts/{AssetAccountId}/payments/{PaymentID}

Retrieves a Payment by its id.

Required Permissions

NameConditions

Payments:Read

Always Required

Parameters

Path parameters

Path parameterDescription

AssetAccountId

Unique identifier of the AssetAccount like: aa-orange-magnesium-a0606d08b2

PaymentId

Unique identifier of the Payment like: pa-edward-emma-9e5130c59f

Response

Response example

If successful, the response contains a status indicating whether the Payment has been Initiated or Executed. Once executed, it will also return the transaction hash:

{
   "amount": "0.01",
   "assetAccountId": "aa-iowa-washington-7a99aa2fd5",
   "assetSymbol": "ETH",
   "dateCreated": "2022-07-19T19:41:15.656Z",
   "externalId": "1-2-3-4",
   "id": "pa-edward-emma-9e5130c59f",
   "initiator": {
       "kind": "Employee",
       "orgId": "cu-purple-pip-1b417b958500",
       "employeeId": "oe-nine-artist-9de60fef6963"
   },
   "narrative": "some payment",
   "note": "testing",
   "direction": "Outgoing",
   "orgId": "cu-purple-pip-1b417b958500",
   "receiver": {
       "kind": "BlockchainWalletAddress",
       "address": "0x8b25C5DDeeB75fD73a62Cd8c1E2Ad4EbCf2BA076"
   },
   "receiverAddress": "0x8b25C5DDeeB75fD73a62Cd8c1E2Ad4EbCf2BA076",
   "status": "Executed",
   "txHash": "0x7ded8fa5f4a82ddac94608e109eca9944bf98e30b8e6d7faf04f591e0b5769c6"
}

Last updated