Skip to content

iyzilink get method gives all transaction list #137

@Sureshpalanisamy105

Description

@Sureshpalanisamy105

Below i have mentioned my code.can you guide me.

const requiredData = {
locale: "tr",
conversationId: "123456789",
token: "my_token",
};

    const { authorization, randomKey } =
      generateAuthorizationString(requiredData);

    let config = {
      method: "get",
      url: "https://sandbox-api.iyzipay.com/v2/iyzilink/products",
      headers: {
        "x-iyzi-rnd": randomKey,
        "Content-Type": "application/json",
        Authorization: authorization,
      },
      data: JSON.stringify(requiredData),
    };

    const response = await axios.request(config);

    const result = JSON.stringify(response.data);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions