Sandbox
Simulate payment send to test receiving a payment
Simulate sending payment from an sandbox uma address to a platform user to test payment receive. This endpoint is only for the sandbox environment and will fail for production platforms/keys.
post/sandbox/receive
Request body
Example request
{
"senderUmaAddress": "$success.usd@sandbox.umaaas.uma.money",
"receiverUmaAddress": "$receiver@uma.domain",
"userId": "User:019542f5-b3e7-1d02-0000-000000000001",
"receivingCurrencyCode": "USD",
"receivingCurrencyAmount": 1000
}Response
Payment triggered successfully
Example response
{
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000004",
"senderUmaAddress": "$sender@external.domain",
"receiverUmaAddress": "$recipient@uma.domain",
"userId": "User:019542f5-b3e7-1d02-0000-000000000001",
"platformUserId": "18d3e5f7b4a9c2",
"settledAt": "2023-08-15T14:30:00Z",
"createdAt": "2023-08-15T14:25:18Z",
"description": "Payment for invoice #1234",
"counterpartyInformation": {
"FULL_NAME": "John Sender",
"BIRTH_DATE": "1985-06-15",
"NATIONALITY": "DE"
},
"receivedAmount": {
"amount": 12550,
"currency": {
"code": "USD",
"name": "United States Dollar",
"symbol": "$",
"decimals": 2
}
},
"reconciliationInstructions": {
"reference": "UMA-Q12345-REF"
},
"rateDetails": {
"umaaasMultiplier": 0.925,
"umaaasFixedFee": 10,
"umaaasVariableFeeRate": 0.003,
"umaaasVariableFeeAmount": 30
}
}