# How to get API call back

**URL:** <https://community.thunkable.com/t/how-to-get-api-call-back/623583>\
**Category:** Questions about Thunkable X\
**Created:** [June 18, 2020, 10:17pm UTC](https://community.thunkable.com/t/how-to-get-api-call-back/623583 "2020-06-18T22:17:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [June 18, 2020, 10:17pm UTC](https://community.thunkable.com/t/how-to-get-api-call-back/623583/1 "2020-06-18T22:17:30Z")

</div>

Hi.  
I have a little problem with API. I am usin the yourpay Api Docomentation link [Yourpay · Apiary](https://yourpay.docs.apiary.io/#/reference/0/generate-token/generate-token/200?mc=reference%2F0%2Fgenerate-token%2Fgenerate-token%2F200)

I need this paymet for bauying a beer. But how du I get the Callbackurl(or what I need) so I know that the payment is valid, and I can give the customer a beer.  
I asume I have to use the Api get, but how??? The button 75 block works to show the payment window.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/d/7dbd0170007cb0c332fd498a2a5bb7896fd5d954.png)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [June 29, 2020, 3:39pm UTC](https://community.thunkable.com/t/how-to-get-api-call-back/623583/2 "2020-06-29T15:39:19Z")

</div>

Hi @funhall

I don’t have a “Yourpay” account so I can’t say for certain, but according to the docs the callbackURL is something that you specify in the initial request rather than something dynamic that you get back as part of the response:

 ![Screenshot 2020-06-29 at 16.38.30](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/7/07437f6cd288b045602a84eb718f1ce0216da861.png)

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [June 17, 2020, 9:44pm UTC](https://community.thunkable.com/t/how-to-get-api-call-back/623583/3 "2020-06-17T21:44:32Z")

</div>

Hi All  
I hope someone will help me with how to programme the yourpay WepAPI.  
Here is the docs [https://yourpay.docs.apiary.io/#/reference/0/app-data/app-data/200?mc=reference%2F0%2Fapp-data%2Fapp-data%2F200](https://yourpay.docs.apiary.io/#/reference/0/app-data/app-data/200?mc=reference%2F0%2Fapp-data%2Fapp-data%2F200)  
I really like to have this API in the app to pay for some goods for our customers. I am not a programmer so hope someone will help me showing the block or help me do it maybe on remote screen.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:25am UTC](https://community.thunkable.com/t/how-to-get-api-call-back/623583/4 "2024-11-08T11:25:21Z")

</div>


