Invitations
Cancel an UMA invitation
Cancel 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
Path parameters
invitationCodestring required
The code of the invitation to cancel
Response
Invitation cancelled successfully
Example response
{
"code": "019542f5",
"createdAt": "2023-09-01T14:30:00Z",
"claimedAt": "2023-09-01T14:30:00Z",
"url": "https://uma.me/i/019542f5",
"expiresAt": "2023-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
}
},
"inviteeCountryCode": "US"
}