api

Functional Laravel starter for Payvib Pay.

API Developer

OAuth2 Token

POST /api/oauth/token
grant_type=client_credentials
client_id=...
client_secret=...

Endpoints

  • GET /api/v1/accounts
  • POST /api/v1/transactions
  • GET /api/v1/transactions
  • GET /api/v1/feature-toggles

Sample cURL

curl -X POST http://127.0.0.1:8000/api/oauth/token \
-d "grant_type=client_credentials" \
-d "client_id=demo_client" \
-d "client_secret=demo_secret"