Initiate Payment
Warning: This API has been deprecated. Please use Wallets. Contact your sales representative if you require additional blockchain support.
POST /assets/asset-accounts/{AssetAccountId}/payments
Initiates a payment in the provided AssetSymbol
, instructing funds to be transferred from one wallet to another within the same network and the same kind of asset (native token or ERC20). Payments support these receiver
configurations:
DfnsAssetAccount
- A payment to another Dfns wallet as specified by its id.BlockchainWalletAddress
- A payment to any address supported by the target chain.
User action signature required. See User Action Signing for more information.
Request headers required. See Request Headers for more information.
Authentication required. See Authentication Headers for more information.
Required Permissions
Name | Conditions |
---|---|
| Always Required |
| Always Required |
| Always Required |
Triggers
Policy Engine for Policies with a PaymentInitiation
activityKind
.
Parameters
Path parameters
Path parameter | Description |
---|---|
| Unique identifier of the |
Request body
Request body fields | Required/Optional | Description | Type |
---|---|---|---|
| Required | Currency symbol and network. Format is <SYMBOL>[.<NETWORK>]. See Enumerated Types for a full list of valid values. | String |
| Required | Amount to transfer specified in the largest denomination - eg. the native token for "ETH" or "SOL" | String (often specified as a float, eg. "0.0005") |
| Required | An object detailing the kind of the recipient (see below) | Object |
| Optional | A short payment description | String |
| Optional | Broader context on the payment for customer use | String |
Dfns Asset Account Payment
Use the following fields in the nested receiver
object to initiate a payment to another Dfns wallet:
Request body fields | Required/Optional | Description | Type |
---|---|---|---|
| Required | Specify: "DfnsAssetAccount" | Enumerated Type |
| Required | Unique identifier of the AssetAccount like: aa-orange-magnesium-a0606d08b2 | String |
Sample request
External Wallet Payment
Use the following fields in the nested receiver
object to initiate a payment to any address supported by the target chain:
Request body fields | Required/Optional | Description | Type |
---|---|---|---|
| Required | Specify: "BlockchainWalletAddress" | Enumerated Type |
| Required | External blockchain address | String |
Sample request
Response
Response example
In most cases, the initial status should be set to "Initiated". Call GetPaymentById to check status of the payment.
Last updated