Client Demo App

Payyd Python SDK Demo

This local demo shows the three integration styles clients care about most: hosted payin creation, S2S payin orchestration, and transaction lookup. It is designed to be understandable for both engineering teams and implementation managers.

Environment {{ payyd_web_env }}
Endpoint {{ endpoint }}
Authentication {{ token_source or 'Token will be fetched on first request' }}
Purpose Hosted, S2S, and transaction lifecycle walkthrough
{% if response_summary %}

{{ response_summary['title'] }}

    {% for line in response_summary['details'] %}
  • {{ line }}
  • {% endfor %}
{% endif %} {% if active_tab == 'hosted_lookup' and response_payload %} {% set transaction = response_payload.get('transaction') %}

Lookup Result

{% if transaction %}
Status {{ transaction.get('status') or 'N/A' }}
Reference {{ transaction.get('reference') or 'N/A' }}
InternalRef {{ transaction.get('internalRef') or 'N/A' }}
Currency / Amount {{ transaction.get('receivableCurrencyCode') or 'N/A' }} {{ transaction.get('receivableAmount') or '' }}
{% if transaction.get('payydUrl') %}

Payyd URL: {{ transaction.get('payydUrl') }}

{% endif %} {% if transaction.get('thirdPartyCheckOutUrl') %}

Hosted checkout URL: {{ transaction.get('thirdPartyCheckOutUrl') }}

{% endif %} {% else %}

The lookup completed, but the SDK response did not contain a transaction object. The full response is shown below.

{% endif %}
View lookup response object
{{ response_payload_json }}
{% endif %}

Flows

Use the forms below to create and inspect transactions. The highlighted pill shows the most recently used flow.

Hosted Create
S2S Create
Hosted Lookup
S2S Pay

Create Hosted Payin Transaction

Payyd-hosted checkout

Create a hosted checkout session and redirect the customer to the Payyd URL returned by the API.

Use paymentRedirectUrl only when you want the customer returned to a specific page after the hosted experience.

Create S2S Payin Transaction

Server-to-server kickoff

Create the S2S transaction shell before collecting sender details and payment method information.

Get Hosted Payin Transaction by Reference

Lookup

Use the merchant reference to inspect the latest state of a hosted payin transaction.

Payin S2S Pay Transaction ({{ pay_country_iso_code3 }})

Country rule driven

Only fields required for the selected country, entity type, and payment method are shown.

{% if s2s_options_error_message %}

Could not load country payment/ID options automatically: {{ s2s_options_error_message }}

{% endif %}
{% if show_required_email %}
{% else %} {% endif %} {% if show_required_phone_country_code %}
{% else %} {% endif %} {% if show_required_phone_number %}
{% else %} {% endif %} {% if show_required_business_name %}
{% endif %} {% if show_required_first_name %}
{% endif %} {% if show_required_last_name %}
{% endif %} {% if show_required_dob %}
{% endif %} {% if show_required_gender %}
{% endif %} {% if show_required_address_street %}
{% endif %} {% if show_required_address_city %}
{% endif %} {% if show_required_address_state %}
{% endif %} {% if show_required_address_zip %}
{% endif %} {% if show_required_identification_number %}
{% endif %} {% if show_required_identification_type_name %}
{% endif %} {% if show_required_identification_expiration_date %}
{% endif %} {% if show_required_bank_account %}
{% endif %} {% if show_required_bank_branch %}
{% endif %} {% if show_required_bank_name %}
{% endif %}
{% if response_payload_json and active_tab != 'hosted_lookup' %}

Technical Details

These details are useful for engineering validation and troubleshooting. Client-facing users can ignore this section.

View raw API response payload
{{ response_payload_json }}
{% endif %}