Get started

    API Endpoint

        https://gateway.hindenburg.world/
                

The Westeros API provides programmatic access to read Game of Thrones data. Retrieve a character, provide an oauth connexion, retrieve a familly, filter them, etc.

To use this API, you need an API key. Please Login your Account https://gateway.hindenburg.world/ to get your own API key.

get characters


# Here is a code example

<form action="https://gateway.hindenburg.world/order/payment" method="post">
<input type="hidden" name="email" value="xyz@gmail.com">
<input type="hidden" name="token" value="446df3-5ec5s8-189e45-46c402-e75533">
<input type="hidden" name="orderId" value="<?php $txnid = substr(hash('sha256', mt_rand() . microtime()), 0, 20); echo $txnid;?>">
<input type="hidden" name="txnAmount" value="10">
<input type="hidden" name="callback_url" value="https://yourwebsite.com/callback.php">
<input type="hidden" name="txnNote" value="Remark"/>
<input type="hidden" name="cust_Email" value="Customer Email" />
<input type="hidden" name="cust_Mobile" value="Customer Number" />
<div class="modal-footer border-0">
<button name="submit" class="btn btn-primary btn-block">Submit</button>
</div>
</form>

To get characters you need to make a POST call to the following url :
https://gateway.hindenburg.world/order/payment



Result example :

{"Status":"SUCCESS","Message":"Transactions Successfully"}
                

QUERY PARAMETERS

Field Type Description
email Email Your Registered Email
token String Your API key.
orderId alphanumeric Your Server Txn Id
txnAmount number Txn Amount
txnNote String Remark
cust_Mobile number Customer Mobile Number
cust_Email email Customer Email Id
callback_url url Client Side Call Backurl For Status update

Errors

The Westeros API uses the following error codes:

Error Message Meaning
Paramiter Error Some parameters are missing. This error appears when you don't pass every mandatory parameters.
Authentication failed Unknown or unvalid secret_key. This error appears if you use an unknow API key or if your API key expired.
Error Unvalid secret_key for this domain. This error appears if you use an API key non specified for your domain. Developper or Universal API keys doesn't have domain checker.