Invitations
Cancel an UMA invitation
Changed onCancel a pending UMA invitation. Only the inviter or platform can cancel an invitation.
When an invitation is cancelled:
- The invitation status changes from PENDING to CANCELLED
- The invitation can no longer be claimed
- The invitation URL will show as cancelled when accessed
Only pending invitations can be cancelled. Attempting to cancel an invitation that is already claimed, expired, or cancelled will result in an error.
post/invitations/{invitationCode}/cancel
Request
- Base URLhttps://api.lightspark.com/grid/2025-10-13
- URLhttps://api.lightspark.com/grid/2025-10-13/invitations/{invitationCode}/cancel
- AuthHTTP basic
Path parameters
invitationCodestring required
The code of the invitation to cancel
Response
Invitation cancelled successfully
Example response
{
"code": "019542f5",
"createdAt": "2025-09-01T14:30:00Z",
"claimedAt": "2025-09-01T14:30:00Z",
"url": "https://uma.me/i/019542f5",
"expiresAt": "2025-09-01T14:30:00Z",
"inviterUma": "$inviter@uma.domain",
"inviteeUma": "$invitee@uma.domain",
"status": "PENDING",
"firstName": "Jane",
"amountToSend": {
"amount": 12550,
"currency": {
"code": "USD",
"name": "United States Dollar",
"symbol": "$",
"decimals": 2
}
}
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- warning
added the new
CORRIDOR_UNDER_MAINTENANCEenum value to theresponse property for the response status
- warning