API (V1)
Utilize this robust API to effectively manage tokens for sale within your application.
Payments
const apiKey = 'your_api_key';
const apiSecret = 'your_api_secret';
const authEndpoint = 'https://api-console.paytweed.com/auth/getAccessToken';
const payload = {
apiKey,
apiSecret,
};
const response = await fetch(authEndpoint, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(payload),
});
const jwt = await response.json();curl --request POST --header "Content-Type: application/json" --data '{"apiKey":"<YOUR_API_KEY>","apiSecret":"<YOUR_API_SECRET>"}' https://api-console.paytweed.com/auth/getAccessTokenTokens and Collections
Add
Retrieve
Delete
Last updated