-
Notifications
You must be signed in to change notification settings - Fork 1
API PagSeguro Sandbox
Type: POST
Url: https://ws.pagseguro.uol.com.br/v2/checkout
PostData: Pagseguro Payments Api Reference https://pagseguro.uol.com.br/v2/guia-de-integracao/api-de-pagamentos.html
A post request is performed back to your server if the transaction processing goes well, the post will cary a “Notification Code” wich you can use to request the transaction details, and the url used is the one informed as "RedirectUrl" configured at your PagSeguro Library.
Type: POST
Params:
- checkout: Array
- checkout[code]: The new notification code
- checkout[date]: The request date and time
Return: Server Response
This api you can search transactions by code or date intervals exacly like the PagSeguro Trasaction Api.
Type: GET
Url: https://ws.pagseguro.uol.com.br/v2/transactions/{notificationCode}
Token: Your PagSeguro Token
Email: Your PagSeguro Email
Return: PagSeguro Transaction Xml String
This api will return the transaction related to the notificationCode informed in the request, the notification code will be sent to your server as a post request after every status change of a transaction, once with the code you can use this API to get the transaction.
Type: GET
Url: https://ws.pagseguro.uol.com.br/v2/transactions/notifications/{notificationCode}
Token: Your PagSeguro Token
Email: Your PagSeguro Email
Return: PagSeguro Transaction Xml String