Reply to Post
Skilled Spy
jozemko
5 Posts
Member since ‎01.19.2012

Payment API - Where can I use it?

I am developing an in-app advertisement using html5 in which I would like to, when the ad is expanded, add a payment feature where the user can pay for, in this case, a video that they would like to download. 

 

Is there anyway I can use the payment API in this capacity? or is this API specifically for payments within mobile applications.

 

Keep in mind the Ad will be displayed in mobile apps.

AT&T Support
76 Posts
Member since ‎05.09.2005

Re: Payment API - Where can I use it?

Yes! The network services APIs can be called from anywhere you can make a web services call.

Karim Varela
AT&T Developer Support
Skilled Spy
jozemko
5 Posts
Member since ‎01.19.2012

Re: Payment API - Where can I use it?

Can you give me some direction on how I can learn to make the calls in this way? I seem to only find things within the Sencha applications, maybe I am just a little confused on how I would go about doing this.

AT&T Support
76 Posts
Member since ‎05.09.2005

Re: Payment API - Where can I use it?

Have you checked out the payment section in our API Catalog?:

https://developer.att.com/developer/apiDetailPage.jsp?passedItemId=10500111

 

The payment API is available in REST and uses oAuth.

Karim Varela
AT&T Developer Support
Skilled Spy
jozemko
5 Posts
Member since ‎01.19.2012

Re: Payment API - Where can I use it?

I have looked over it, as I browsed more I found some code samples which is really what I am interested in, but it seems the PHP code samples are unavailable at this time. Only Java/JSP, VB.net and C#.net are availble, unless there is some other way I can access the PHP code samples for RESTfull Style PHP App 1?

 

Thanks for your response.

Classic Spy
1 Post
Member since ‎07.31.2009

Re: Payment API - Where can I use it?

[ Edited ]

Great question.

 

The PHP version of the AT&T HTML5 Sample Payment application will be available for download on 1/31. Look for a link to that PHP code and the running PHP sample app in the table here https://devconnect-api.att.com/docs/payment-v2/payment-sample-applications, at that time.

 

Also, as you may have already observed, you can get an idea of the user interaction (the PHP language example app will be functionally identical to the Java sample code) within the Payment flow by running the sample application Payment app here https://code-api-att.com/r2java/Payment/Java/app1/singlepay.jsp

 

 

Tim Young
Developer Program - API Platforms

Skilled Spy
jozemko
5 Posts
Member since ‎01.19.2012

Re: Payment API - Where can I use it?

Perfect, Thanks you.

Moderator
bs595r
146 Posts
Member since ‎01.13.2012

Re: Payment API - Where can I use it?

Just following up to what Tim said, there is some PHP sample code up online now at the link Tim provided before.

Skilled Spy
jozemko
5 Posts
Member since ‎01.19.2012

Re: Payment API - Where can I use it?

Yes, Thank you for your help!

  • of 1