Retrieves a list of Mandates for a given PaymentMethod.
Parameters
- statusenumRequired
The status of the mandates to retrieve. Status indicates whether or not you can use it to initiate a payment, and can have a value of
active,pending, orinactive.Possible enum valuesactiveThe mandate can be used to initiate a payment.
inactiveThe mandate was rejected, revoked, or previously used, and may not be used to initiate future payments.
pendingThe mandate is newly created and is not yet active or inactive.
More parameters
- ending_
beforestring A cursor for use in pagination.
ending_is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting withbefore obj_, your subsequent call can includebar ending_in order to fetch the previous page of the list.before=obj_ bar - limitinteger
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
- on_
behalf_ ofstringConnect only The Stripe account ID that the mandates are intended for. Learn more about the use case for connected accounts payments.
- starting_
afterstring A cursor for use in pagination.
starting_is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending withafter obj_, your subsequent call can includefoo starting_in order to fetch the next page of the list.after=obj_ foo
Returns
A dictionary with a data property that contains an array of Mandates. Each entry in the array is a separate Mandate object. If no Mandates are available, the resulting array will be empty.
{ "object": "list", "has_more": false, "url": "/v1/mandates", "data": [ { "id": "mandate_1RpNYL2RM7tvzuemIyhnCrab", "object": "mandate", "customer_acceptance": { "accepted_at": 1753595721, "online": { "ip_address": "172.16.254.1", "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)" }, "type": "online" }, "livemode": false, "multi_use": {}, "payment_method": "pm_1RpNXw2RM7tvzuem88xCOsn5", "payment_method_details": { "type": "us_bank_account", "us_bank_account": {} }, "status": "active", "type": "multi_use" } ]}- Need help? Contact Support.
- Check out our changelog.
- Questions? Contact Sales.
- LLM? Read llms.txt.
- Powered by Markdoc