Generated by API Evangelist
Written by API Evangelist tooling for Paymob's API. It is a proposal applied on top of the contract, not a document Paymob publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Paymob Authentication API
version: 1.0.0
extends: openapi/paymob-authentication-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-19'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/api/auth/tokens'].post
update:
x-apievangelist-phrasing:
intent: Get a short-lived auth token for the accept API
effect: write
questions:
- How do I get an auth token for the accept API with my API key?
- How long does an accept API auth token stay valid?
instructions:
- text: Exchange my accept API key for an auth token.
- text: Get a short-lived accept API auth token.
method: generated
generated: '2026-11-19'
- target: $.paths['/api/auth/token/'].post
update:
x-apievangelist-phrasing:
intent: Generate an OAuth2 access token for payouts
effect: write
questions:
- How do I generate an OAuth2 access token for the payouts API?
- What credentials do I need to generate a payouts access token?
instructions:
- text: Generate a payouts access token with grant type {grant_type}, username {username}, password {password}, client id {client_id} and secret {client_secret}.
slots:
grant_type: requestBody.grant_type
username: requestBody.username
password: requestBody.password
client_id: requestBody.client_id
client_secret: requestBody.client_secret
- text: Log in to the payouts API and return a new access token.
method: generated
generated: '2026-11-19'
- target: $.paths['/api/auth/token/refresh/'].post
update:
x-apievangelist-phrasing:
intent: Refresh an expired payouts access token
effect: write
questions:
- How do I refresh an expired payouts access token?
- Can I renew a payouts token with a refresh token?
instructions:
- text: Refresh my payouts access token using refresh token {refresh_token}.
slots:
refresh_token: requestBody.refresh_token
- text: Exchange the payouts refresh token for a new access token.
method: generated
generated: '2026-11-19'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.