Core
- Smart Accounts
- Authorities
- KYC
- Payments
Payments
Confirm Payment Intent
POST
/
smart-accounts
/
{smart_account_address}
/
payment-intents
/
{payment_intent_id}
/
confirm
Copy
curl --request POST \
--url https://grid.squads.xyz/api/v0/grid/smart-accounts/{smart_account_address}/payment-intents/{payment_intent_id}/confirm \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Grid-Environment: <x-grid-environment>' \
--data '{
"intent_payload": "<string>",
"mpc_payload": "<string>"
}'
Copy
{
"Bridge": {
"amount": "100.00",
"blockchain_memo": "<string>",
"client_reference_id": "<string>",
"created_at": "2025-04-01T16:51:23.773Z",
"currency": null,
"destination": {
"ach_reference": "<string>",
"blockchain_memo": "<string>",
"bridge_wallet_id": "<string>",
"currency": "usd",
"external_account_id": "<string>",
"from_address": "<string>",
"imad": "<string>",
"omad": "<string>",
"payment_rail": "ach",
"sepa_reference": "<string>",
"swift_charges": "<string>",
"swift_reference": "<string>",
"to_address": "<string>",
"trace_number": "<string>",
"uetr": "<string>",
"wire_message": "<string>"
},
"developer_fee": "100.00",
"id": "<string>",
"on_behalf_of": "<string>",
"receipt": {
"destination_tx_hash": "<string>",
"developer_fee": "100.00",
"exchange_fee": "100.00",
"exchange_rate": "100.00",
"final_amount": "100.00",
"gas_fee": "100.00",
"initial_amount": "100.00",
"remaining_prefunded_balance": "100.00",
"source_tx_hash": "<string>",
"subtotal_amount": "100.00",
"url": "<string>"
},
"return_details": null,
"source": {
"bank_beneficiary_address": "<string>",
"bank_beneficiary_name": "<string>",
"bank_name": "<string>",
"bank_routing_number": "<string>",
"bridge_wallet_id": "<string>",
"currency": "usd",
"description": "<string>",
"external_account_id": "<string>",
"from_address": "<string>",
"imad": "<string>",
"omad": "<string>",
"payment_rail": "ach"
},
"source_deposit_instructions": null,
"state": "awaiting_funds",
"updated_at": "2025-04-01T16:51:23.773Z"
}
}
Authorizations
API Key for authentication
Headers
The environment you’re using. Can be sandbox
or production
.
Path Parameters
The address of the smart account
The ID of the payment intent to confirm
Body
application/json
Response
200
application/json
Successfully confirmed payment intent
The response is of type object
.
The response is of type object
.
The response is of type object
.
Copy
curl --request POST \
--url https://grid.squads.xyz/api/v0/grid/smart-accounts/{smart_account_address}/payment-intents/{payment_intent_id}/confirm \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Grid-Environment: <x-grid-environment>' \
--data '{
"intent_payload": "<string>",
"mpc_payload": "<string>"
}'
Copy
{
"Bridge": {
"amount": "100.00",
"blockchain_memo": "<string>",
"client_reference_id": "<string>",
"created_at": "2025-04-01T16:51:23.773Z",
"currency": null,
"destination": {
"ach_reference": "<string>",
"blockchain_memo": "<string>",
"bridge_wallet_id": "<string>",
"currency": "usd",
"external_account_id": "<string>",
"from_address": "<string>",
"imad": "<string>",
"omad": "<string>",
"payment_rail": "ach",
"sepa_reference": "<string>",
"swift_charges": "<string>",
"swift_reference": "<string>",
"to_address": "<string>",
"trace_number": "<string>",
"uetr": "<string>",
"wire_message": "<string>"
},
"developer_fee": "100.00",
"id": "<string>",
"on_behalf_of": "<string>",
"receipt": {
"destination_tx_hash": "<string>",
"developer_fee": "100.00",
"exchange_fee": "100.00",
"exchange_rate": "100.00",
"final_amount": "100.00",
"gas_fee": "100.00",
"initial_amount": "100.00",
"remaining_prefunded_balance": "100.00",
"source_tx_hash": "<string>",
"subtotal_amount": "100.00",
"url": "<string>"
},
"return_details": null,
"source": {
"bank_beneficiary_address": "<string>",
"bank_beneficiary_name": "<string>",
"bank_name": "<string>",
"bank_routing_number": "<string>",
"bridge_wallet_id": "<string>",
"currency": "usd",
"description": "<string>",
"external_account_id": "<string>",
"from_address": "<string>",
"imad": "<string>",
"omad": "<string>",
"payment_rail": "ach"
},
"source_deposit_instructions": null,
"state": "awaiting_funds",
"updated_at": "2025-04-01T16:51:23.773Z"
}
}
Assistant
Responses are generated using AI and may contain mistakes.