Offramp API Integration.
Create Order Offramp
Fetch Order Status
1 min
tab examples url https stg api onmeta in v1 offramp orders status name fetch order status method post request pathparameters queryparameters headerparameters kind required name x api key type string children description api key from dashboard kind required name authorization type string children description bearer authtoken bodydataparameters kind required name orderid type string description order id from create order formdataparameters results languages id guung7pf ttxcfzdap ex code n t success true n t data n t t fiat 100 00 n t t senderwalletaddress 0x32311131 n t t receiverwalletaddress 0x4113112 n t t selltokensymbol wmatic n t t selltokenaddress 0x9c3c9283d3e44854697cd22d3faa240cfb032889 n t t orderid 1244334342 n t t status pending n t t currency inr n t t created at 2022 09 12t12 12 434z0 n t t chainid 80001 n t t customer n t t t name satoshi n t t t email test test com n t t t phone n t t t t countrycode 91 n t t t t number 1234567890 n t t t n t t t created at 2022 09 12t12 12 434z0 n t t n t t reason n t t txnhash 0x1131242424232323 n t t bankdetails n t t t accountnumber 121231212 n t t t accountname satoshi n t t t ifsc hdfc00001131 n t t t branchaddress whitefield n t t n t n t error n language 200 customlabel id rgzmh5a0zq8qnysqvfxct code n success false n error n code 400 n message bad request n n language 400 customlabel id k3elmbbwltscacxg2j i code n success false n error n code 401 n message unauthorized to access n n language 401 customlabel selectedlanguageid guung7pf ttxcfzdap ex examples languages id lepwnf8ptdyac5sirz wu code curl location request post https stg api onmeta in v1 offramp orders status n header accept application json n header x api key string n header authorization string n data raw orderid string language curl customlabel id ka6bi2pea ktxtkxikey0 code var request require request ; nvar options n method post n url https stg api onmeta in v1 offramp orders status n headers n accept application json n x api key string n authorization string n n body orderid string n n ; nrequest options function error response n if error throw new error error ; n console log response body ; n ; n language nodejs customlabel id fvi8kq5xjivm7s9zfelnp code var myheaders new headers ; nmyheaders append accept application json ; nmyheaders append x api key string ; nmyheaders append authorization string ; n nvar raw orderid string ; n nvar requestoptions n method post n headers myheaders n body raw n redirect follow n ; n nfetch https stg api onmeta in v1 offramp orders status requestoptions n then response response text n then result console log result n catch error console log error error ; language javascript customlabel id ecjot0uwlsnq4wy8djdo code import requests n nurl https stg api onmeta in v1 offramp orders status n npayload orderid string nheaders n accept application json n x api key string n authorization string n n nresponse requests request post url headers headers data payload n nprint response text n language python customlabel id vwpjtytnzhgzhifscqt8l code require uri nrequire net http n nurl uri https stg api onmeta in v1 offramp orders status n nhttps net http new url host url port nhttps use ssl true n nrequest net http post new url nrequest accept application json nrequest x api key string nrequest authorization string nrequest body orderid string n nresponse https request request nputs response read body n language ruby customlabel selectedlanguageid fvi8kq5xjivm7s9zfelnp description fetch order status by orderid currentnewparameter label header parameter value headerparameters sample request body { "orderid" "1244334342" }