Agentcard
Create a payment (agent pays on a customer's behalf)
Advances the pay flow for a connected customer handle and returns a status describing where it is (needs_connection, awaiting_user_action, ready, ...). A payment id appears once a card is minted. Idempotent on the Idempotency-Key header.
post/v3/payments
Request
- Base URL: https://api.linqapp.com/api/partner
- URL: https://api.linqapp.com/api/partner/v3/payments
- Auth: HTTP bearer
Request body
Example request
{
"handle": "+14155550123",
"amount_cents": 2500,
"currency": "usd",
"description": "Burger order",
"merchant": {
"name": "DoorDash",
"url": "doordash.com"
}
}Response
Payment advanced
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "ready",
"handle": "+14155550123",
"amount_cents": 2500,
"currency": "usd",
"merchant": {
"name": "DoorDash",
"url": "doordash.com"
},
"attach_url": "https://app.agentcard.sh/attach/eyJhbGciOi..."
}Changes
No recorded changes to this operation across all 1 revision of this API.