provider Accounts POST /account/{accountId}/transactions
@utdk/mercury /account/{accountId}/transactions
Send money to a recipient
Send money from an account to a recipient. Creates a transaction that will be processed immediately or may require approval.
accountId path required
string

Try it

Authentication
Configure credentials for Mercury API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createtransaction
POST/account/{accountId}/transactions
Send money from an account to a recipient. Creates a transaction that will be processed immediately or may require approval.

Parameters

required

Input

required

Amount of USD you want to send, must be a positive number.

Optional external memo

required

Unique string identifying the transaction

Optional note

required

If domesticWire is used, then the purpose field is required.

Purpose of payment with category and optional additional info. Required when paymentMethod is 'domesticWire'.

required

Recipient ID from the /recipients endpoint.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import mercury from '@utdk/mercury';

await mercury.createtransaction()