Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 604 Bytes

File metadata and controls

27 lines (18 loc) · 604 Bytes

expire

Expire a pending refund.

Expire a refund with a status of requires_action.

API Endpoint: POST /v1/test_helpers/refunds/{refund}/expire

Synchronous Client

from os import getenv
from sideko_stripe import Stripe

client = Stripe(token=getenv("API_TOKEN"))
res = client.test_helper.refund.expire(refund="string")

Asynchronous Client

from os import getenv
from sideko_stripe import AsyncStripe

client = AsyncStripe(token=getenv("API_TOKEN"))
res = await client.test_helper.refund.expire(refund="string")