Skip to content

Refund request is improperly documented #116

@johndavi

Description

@johndavi

Good to see the Shippo hygiene is in good stead here, noting my three month old unresponded-to bug right below this one.

    res = s_client.refunds.create(request={
        "transaction": "abcdefg",
        "async_": False,
    })

This is incorrect and the library instead expects kwargs for this request.

res = shippo_sdk.refunds.create(
                    transaction="abcdefg"
                    async_=False
                )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions