curl --request POST \
--url https://api.example.com/v1/ui/connected-accounts/payments \
--header 'Content-Type: application/json' \
--data '
{
"amount": 123,
"currency": "<string>",
"connectedAccountId": "<string>",
"paymentMethodId": "<string>",
"metadata": {},
"description": "<string>",
"customerEmail": "<string>",
"customerName": "<string>"
}
'curl --request POST \
--url https://api.example.com/v1/ui/connected-accounts/payments \
--header 'Content-Type: application/json' \
--data '
{
"amount": 123,
"currency": "<string>",
"connectedAccountId": "<string>",
"paymentMethodId": "<string>",
"metadata": {},
"description": "<string>",
"customerEmail": "<string>",
"customerName": "<string>"
}
'Payment intent created successfully