AppMonetization / Client / get_app_payment_registration

get_app_payment_registration

AppMonetization.Client.get_app_payment_registration(**kwargs)

Returns the current payment registration status and seller profile for an app.

See also: AWS API Documentation

Request Syntax

response = client.get_app_payment_registration(
    appId='string',
    scope='sandbox'|'live'
)
Parameters:
  • appId (string) –

    [REQUIRED]

    The ID of the app.

  • scope (string) –

    [REQUIRED]

    Required. The environment: live or sandbox.

Return type:

dict

Returns:

Response Syntax

{
    'appPaymentRegistration': {
        'appId': 'string',
        'status': 'ACTIVE'|'PENDING'|'FAILED',
        'paymentRegistrationId': 'string',
        'paymentRegistrationStatus': 'ACTIVE'|'PENDING'|'FAILED',
        'additionalAppEligibility': 'ELIGIBLE'|'ONBOARDING_INCOMPLETE'|'IDENTITY_PENDING'|'REGISTRATION_FAILED',
        'legalName': 'string',
        'developerAddress': {
            'street1': 'string',
            'street2': 'string',
            'city': 'string',
            'state': 'string',
            'postalCode': 'string',
            'country': 'string'
        },
        'taxRegistrationNumber': 'string',
        'businessType': 'INDIVIDUAL'|'REGISTERED_BUSINESS',
        'email': 'string',
        'supportEmail': 'string',
        'displayName': 'string',
        'supportPhone': 'string',
        'taxRegistrations': [
            {
                'countryCode': 'string',
                'state': 'string',
                'collectionType': 'string',
                'registrationType': 'SALES_USE'|'RETAIL_DELIVERY_FEE'|'VAT'|'VAT_OSS'|'VAT_IOSS'|'GST'|'FEDERAL_EIN'|'CPF'|'CNPJ'|'SST'|'TIN'|'NIP'|'NPWP'|'NCID',
                'registrationId': 'string',
                'locality': 'string'
            },
        ],
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) –

    Output for GetAppPaymentRegistration.

    • appPaymentRegistration (dict) –

      The app’s current payment registration.

      • appId (string) –

        The ID of the app this registration belongs to.

      • status (string) –

        The onboarding status of the payment registration for this app (ACTIVE, PENDING, or FAILED).

      • paymentRegistrationId (string) –

        The payment registration the app is bound to. Pass it to UpdateAppPaymentRegistration on another app to bind that app to the same registration. Absent if the app uses a payment registration created before registrations could be shared.

      • paymentRegistrationStatus (string) –

        The onboarding status of this app’s payment registration. It has the same value as status. Present exactly when paymentRegistrationId is.

      • additionalAppEligibility (string) –

        Whether a further app may bind to the app’s payment registration, and if not, why. Present exactly when paymentRegistrationId is.

      • legalName (string) –

        The seller’s registered legal name.

      • developerAddress (dict) –

        The seller’s postal address.

        • street1 (string) –

          The first line of the street address.

        • street2 (string) –

          The second line of the street address.

        • city (string) –

          The city of the street address.

        • state (string) –

          The state or province.

        • postalCode (string) –

          The postal or ZIP code.

        • country (string) –

          The ISO 3166-1 alpha-2 country code.

      • taxRegistrationNumber (string) –

        The seller’s tax registration number (for example, VAT, GST, or EIN).

      • businessType (string) –

        Whether the seller registered as an individual or a registered business.

      • email (string) –

        The seller’s primary contact email, read from the seller profile.

      • supportEmail (string) –

        The seller’s support email address, displayed in the invoice footer.

      • displayName (string) –

        Customer-facing name (doing-business-as) shown to buyers on invoices, read from the seller profile.

      • supportPhone (string) –

        Customer-facing support phone number, read from the seller profile.

      • taxRegistrations (list) –

        The jurisdictions where the seller is registered to collect tax.

        • (dict) –

          A jurisdiction where the seller is registered to collect tax.

          • countryCode (string) –

            The ISO 3166-1 alpha-2 country code.

          • state (string) –

            The state or province code (for example, “NY” or “CA”). Required for US and CA.

          • collectionType (string) –

            The country-specific collection type (for example, “state_sales_tax”, “standard”, or “simplified”).

          • registrationType (string) –

            Which tax this registration is for, or which entity identifier it carries (for example SALES_USE for a US state, VAT or GST elsewhere, FEDERAL_EIN for a US employer identification number). Optional.

          • registrationId (string) –

            The tax ID issued for this registration (permit number or tax registration number). Optional.

          • locality (string) –

            Jurisdiction below the state, as a code rather than a name: a FIPS code in the US, an IBGE code in Brazil. Requires state. Optional.

      • createdAt (datetime) –

        The time the payment registration was created.

      • updatedAt (datetime) –

        The time the payment registration was last updated.

Exceptions

  • AppMonetization.Client.exceptions.AccessDeniedException

  • AppMonetization.Client.exceptions.ValidationException

  • AppMonetization.Client.exceptions.InternalServerException

  • AppMonetization.Client.exceptions.ResourceNotFoundException

  • AppMonetization.Client.exceptions.ThrottlingException