Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.79 KB

File metadata and controls

59 lines (40 loc) · 1.79 KB

Industries

Overview

Available Operations

  • list - Returns a list of industries relevant to merchant profile enrichment. Results are ordered by industry name.

To access this endpoint using an access token, you'll need to specify the /profile-enrichment.read scope.

list

Returns a list of industries relevant to merchant profile enrichment. Results are ordered by industry name.

To access this endpoint using an access token, you'll need to specify the /profile-enrichment.read scope.

Example Usage

package hello.world;

import io.moov.sdk.Moov;
import io.moov.sdk.models.components.Security;
import io.moov.sdk.models.operations.ListIndustriesResponse;
import java.lang.Exception;

public class Application {

    public static void main(String[] args) throws Exception {

        Moov sdk = Moov.builder()
                .security(Security.builder()
                    .username("")
                    .password("")
                    .build())
            .build();

        ListIndustriesResponse res = sdk.industries().list()
                .call();

        if (res.enrichedIndustries().isPresent()) {
            System.out.println(res.enrichedIndustries().get());
        }
    }
}

Response

ListIndustriesResponse

Errors

Error Type Status Code Content Type
models/errors/APIException 4XX, 5XX */*