Try a Payment
Explore the versatile payments endpoint, through multiple test scenarios
Refund
Process refunds for completed payments using our API
Transfer
Initiate a transfer request using the API
Webhooks
Receive real-time payment result notifications via webhooks
Environment
We have a testing environment referred to ,” which you can set up to test API calls without affecting production data. You can sign up on our Dashboard to get API keys to access PayLoco API. Use the following base URLs when making requests to the APIs:| Environment | Base URL |
|---|---|
| Sandbox | https://gate.uat.payloco.com/gateway |
| Production | https://gate.payloco.com/gateway |
Payment Status Lifecycle
PayLoco handles the complex functionality of a comprehensive payments flow through the Payments object that transitions through multiple states during its payments lifecycle. Given below are the various statuses a payment can have:| Status | Description | Notes |
|---|---|---|
| SUCCESS | Payment succeeded | The user completed the payment |
| PENDING | Payment pending | Waiting for the user to complete payment |
| FAILED | Payment failed | Payment was unsuccessful |
| CLOSED | Payment closed | User did not complete payment within the valid period |