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.uma.money/umaaas/2025-05-15
- URLhttps://api.uma.money/umaaas/2025-05-15/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": "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"
}Changes
- warning
added the new
CORRIDOR_UNDER_MAINTENANCEenum value to theresponse property for the response status
- warning
- warning
added the new
SANCTION_BLOCKEDenum value to theresponse property for the response status
- warning