curl --request POST \
--url https://api.example.com/offering-purchase-intent \
--header 'Content-Type: application/json' \
--data '
{
"customerId": "cm23H3Rpb24vMTIzNA75",
"walletAddress": "0x49a491f024dc14DA7e57705600182Ff51511B07e",
"offeringId": "cmVhY3Rpb24vMTIzNA75",
"payment": {
"purchaseAmount": 100,
"tokenAmount": 100.1,
"currency": "USD"
}
}
'{
"offeringPurchaseIntentId": "cmVhY3Rpb24vMTIzNA75",
"offeringId": "cmVhY3Rpb24vMTIzNA75",
"walletAddress": "0x49a491f024dc14DA7e57705600182Ff51511B07e",
"customerId": "cm23H3Rpb24vMTIzNA75",
"payment": {
"purchaseAmount": 100,
"tokenAmount": 100.1,
"purchaseStatus": "COMPLETED",
"currency": "USD"
},
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
}Create offering purchase intent
curl --request POST \
--url https://api.example.com/offering-purchase-intent \
--header 'Content-Type: application/json' \
--data '
{
"customerId": "cm23H3Rpb24vMTIzNA75",
"walletAddress": "0x49a491f024dc14DA7e57705600182Ff51511B07e",
"offeringId": "cmVhY3Rpb24vMTIzNA75",
"payment": {
"purchaseAmount": 100,
"tokenAmount": 100.1,
"currency": "USD"
}
}
'{
"offeringPurchaseIntentId": "cmVhY3Rpb24vMTIzNA75",
"offeringId": "cmVhY3Rpb24vMTIzNA75",
"walletAddress": "0x49a491f024dc14DA7e57705600182Ff51511B07e",
"customerId": "cm23H3Rpb24vMTIzNA75",
"payment": {
"purchaseAmount": 100,
"tokenAmount": 100.1,
"purchaseStatus": "COMPLETED",
"currency": "USD"
},
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
}Documentation Index
Fetch the complete documentation index at: https://docs.decentri.org/llms.txt
Use this file to discover all available pages before exploring further.
The offering purchase intent has been successfully created
The offering purchase intent ID
"cmVhY3Rpb24vMTIzNA75"
The offering ID
"cmVhY3Rpb24vMTIzNA75"
The wallet address
"0x49a491f024dc14DA7e57705600182Ff51511B07e"
The customer ID
"cm23H3Rpb24vMTIzNA75"
The payment
Show child attributes
The date the offering purchase intent was created
"2025-01-01T00:00:00.000Z"
The date the offering purchase intent was last updated
"2025-01-01T00:00:00.000Z"