Skip to content
Wire2AirWire2Air

Keyword credits

Legacy

Buy keyword credits with the card stored on your account, or remove unused credits, with the legacy HTTP API (subscribekeywords.aspx).

Last updated

POSTGEThttps://mzone.wire2air.com/mserver/api/subscribekeywords.aspx
Credential
User ID and password, sent as request parameters
Response
Plain text

The previous docs called this the "Keyword Subscribe API".

Parameters

Parameters
ParameterDescription
USERID
stringrequired
in body
Your Wire2Air user ID.
PASSWORD
stringrequired
in body
Your Wire2Air password.
KEYWORDCREDITS
integerrequired
in body
How many keyword credits to add. A negative number removes credits from the account.
Default: 1Example: 1

Examples

curl "https://mzone.wire2air.com/mserver/api/subscribekeywords.aspx" \
  --data-urlencode "USERID=YOUR_USERID" \
  --data-urlencode "PASSWORD=YOUR_PASSWORD" \
  --data-urlencode "KEYWORDCREDITS=1"

Response

Success
000:Keyword credits successfully applied to your account.
ErrorMeaning
Err:300:Invalid Userid or passwordWrong user ID or password.
Err:703:Missing User NameUSERID is missing.
Err:704:Missing PasswordPASSWORD is missing.
Err:705:Keyword is taken, Please try another keywordListed for this endpoint in the previous docs.
Err:715: Error while performing account updateThe account could not be updated.
Err:716: Credit card declined.The stored card was declined.
718:Keyword credit removal failed, No keyword credits assigned to account.Nothing to remove. Note: no Err: prefix.
719:Keyword credit removal failed, all available credits are in-use.All credits are in use by keywords. Note: no Err: prefix.