Buy Plaque API

The Buy Plaque API allows a user to buy a plaque by providing payment information and personal details. The API uses the HTTP POST method to send a request to the server and HTTP response codes to return the status of the request.

Buy Plaque API

post
https://api.stagemeta.dev
/plaques/buy
Curl
Node
curl -X 'POST' \
'https://api.stagemeta.dev/plaques/buy' \
-H 'accept: application/json' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"names": [
"TPA-000"
],
"card_number": "1234567890123456",
"expire_month": 10,
"expire_year": 25,
"cvv": "123",
"country": "US",
"city": "New York",
"state": "NY",
"postal_code": "10001",
"first_name": "John",
"last_name": "Doe",
"line1": "123 Main St.",
"line2": "",
"username": "johndoe",
"email": "[email protected]",
"walletAddress": "0x1234567890abcdef"
}'
fetch('https://api.stagemeta.dev/plaques/buy', {
method: 'POST',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer ACCESS_TOKEN',
'Content-Type': 'application/json'
},
body:{
"names": [
"TPA-000"
],
"card_number": "1234567890123456",
"expire_month": 10,
"expire_year": 25,
"cvv": "123",
"country": "US",
"city": "New York",
"state": "NY",
"postal_code": "10001",
"first_name": "John",
"last_name": "Doe",
"line1": "123 Main St.",
"line2": "",
"username": "johndoe",
"email": "[email protected]",
"walletAddress": "0x1234567890abcdef"
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));