Agentcard
Cancel a payment
Closes the virtual card and cancels the payment.
post/v3/payments/{paymentId}/cancel
Request
- Base URL: https://api.linqapp.com/api/partner
- URL: https://api.linqapp.com/api/partner/v3/payments/{paymentId}/cancel
- Auth: HTTP bearer
Path parameters
paymentIdstring required
Payment id
Response
Payment canceled
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.