NodeRingsDocs

Redeem Promo Code

Redeem Promo Code on the NodeRings provider API (POST /v1/credits:redeemPromoCode).

POST
/v1/credits:redeemPromoCode
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

code?string

Response Body

application/json

curl -X POST "https://api.noderings.com/v1/credits:redeemPromoCode" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}" \  -H "Content-Type: application/json" \  -d '{  "code": "string"}'
{
  "grantId": "string",
  "amount": "string",
  "remaining": "string",
  "expiresAt": "2019-08-24T14:15:22Z"
}