Skip to main content
POST
/
v1
/
badges
/
verify
Verify badge payment
curl --request POST \
  --url https://api.magne.app/v1/badges/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "provider": "<string>",
  "transactionId": "<string>",
  "badgeSlug": "<string>"
}
'
{
  "awarded": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
provider
string
required
transactionId
string
required
badgeSlug
string
required

Response

Success

awarded
boolean
message
string