Skip to main content

A Nmi library for python

Project description

Example Package

This is a simple example package. You can use GitHub-flavored Markdown to write your content.

NMI Gateway

Examples

Customer Vault methods

Create customer vault

from nmigate.lib.customer_vault import CustomerVault

secret_key = 'your secret key'
org = 'your org'

customer_vault = CustomerVault(secret_key, org)
        result = customer_vault.create_customer_vault({
            "id": "51asdfsf234asdfasfasfsa", 
            "token": "00000000-000000-000000-000000000000", 
            "billing_id": "51asdfsf234asdfasfasfsa", 
            "billing_info": {
                "first_name": "1", 
                "last_name": "1", 
                "address1": "1", 
                "city": "1", 
                "state": "1", 
                "zip": "1", 
                "country": "1", 
                "phone": "1", 
                "email": "1"
            }
        })

Create customer vault

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nmigate-0.0.2.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

nmigate-0.0.2-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file nmigate-0.0.2.tar.gz.

File metadata

  • Download URL: nmigate-0.0.2.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for nmigate-0.0.2.tar.gz
Algorithm Hash digest
SHA256 00c310305866123af4fb23957ac270d6eed14df3f2e229113f05c33c5e3d49da
MD5 bb8917bc83474c412f7938700c94ec82
BLAKE2b-256 cd18b19cae451e6bcd69ed23d916a0fddf8e284f3482bf248f5907de3d126c98

See more details on using hashes here.

File details

Details for the file nmigate-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: nmigate-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for nmigate-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bb0ddc77295d84ed7d94f56beba7dda17683a8c381ac950fcfd56a0adccf898b
MD5 54c808e633d23ed1d2b10f8e3deed7a4
BLAKE2b-256 c9f6f417fd86ce9e84ca661c6e7b51d85ce581df0f2e014a2b0c0eb079c79d54

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page