@whop/sdk 0.0.27 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/client.d.mts +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js +7 -0
- package/client.js.map +1 -1
- package/client.mjs +7 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/access-tokens.d.mts +19 -20
- package/resources/access-tokens.d.mts.map +1 -1
- package/resources/access-tokens.d.ts +19 -20
- package/resources/access-tokens.d.ts.map +1 -1
- package/resources/access-tokens.js +4 -4
- package/resources/access-tokens.mjs +4 -4
- package/resources/account-links.d.mts +15 -13
- package/resources/account-links.d.mts.map +1 -1
- package/resources/account-links.d.ts +15 -13
- package/resources/account-links.d.ts.map +1 -1
- package/resources/account-links.js +2 -3
- package/resources/account-links.js.map +1 -1
- package/resources/account-links.mjs +2 -3
- package/resources/account-links.mjs.map +1 -1
- package/resources/ai-chats.d.mts +38 -26
- package/resources/ai-chats.d.mts.map +1 -1
- package/resources/ai-chats.d.ts +38 -26
- package/resources/ai-chats.d.ts.map +1 -1
- package/resources/ai-chats.js +5 -5
- package/resources/ai-chats.mjs +5 -5
- package/resources/app-builds.d.mts +35 -33
- package/resources/app-builds.d.mts.map +1 -1
- package/resources/app-builds.d.ts +35 -33
- package/resources/app-builds.d.ts.map +1 -1
- package/resources/app-builds.js +7 -4
- package/resources/app-builds.js.map +1 -1
- package/resources/app-builds.mjs +7 -4
- package/resources/app-builds.mjs.map +1 -1
- package/resources/apps.d.mts +81 -56
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +81 -56
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +7 -4
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +7 -4
- package/resources/apps.mjs.map +1 -1
- package/resources/authorized-users.d.mts +32 -26
- package/resources/authorized-users.d.mts.map +1 -1
- package/resources/authorized-users.d.ts +32 -26
- package/resources/authorized-users.d.ts.map +1 -1
- package/resources/authorized-users.js +3 -2
- package/resources/authorized-users.js.map +1 -1
- package/resources/authorized-users.mjs +3 -2
- package/resources/authorized-users.mjs.map +1 -1
- package/resources/chat-channels.d.mts +27 -19
- package/resources/chat-channels.d.mts.map +1 -1
- package/resources/chat-channels.d.ts +27 -19
- package/resources/chat-channels.d.ts.map +1 -1
- package/resources/chat-channels.js +5 -3
- package/resources/chat-channels.js.map +1 -1
- package/resources/chat-channels.mjs +5 -3
- package/resources/chat-channels.mjs.map +1 -1
- package/resources/checkout-configurations.d.mts +55 -46
- package/resources/checkout-configurations.d.mts.map +1 -1
- package/resources/checkout-configurations.d.ts +55 -46
- package/resources/checkout-configurations.d.ts.map +1 -1
- package/resources/checkout-configurations.js +3 -2
- package/resources/checkout-configurations.js.map +1 -1
- package/resources/checkout-configurations.mjs +3 -2
- package/resources/checkout-configurations.mjs.map +1 -1
- package/resources/companies.d.mts +65 -46
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +65 -46
- package/resources/companies.d.ts.map +1 -1
- package/resources/companies.js +7 -8
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +7 -8
- package/resources/companies.mjs.map +1 -1
- package/resources/company-token-transactions.d.mts +80 -57
- package/resources/company-token-transactions.d.mts.map +1 -1
- package/resources/company-token-transactions.d.ts +80 -57
- package/resources/company-token-transactions.d.ts.map +1 -1
- package/resources/company-token-transactions.js +6 -3
- package/resources/company-token-transactions.js.map +1 -1
- package/resources/company-token-transactions.mjs +6 -3
- package/resources/company-token-transactions.mjs.map +1 -1
- package/resources/course-chapters.d.mts +24 -19
- package/resources/course-chapters.d.mts.map +1 -1
- package/resources/course-chapters.d.ts +24 -19
- package/resources/course-chapters.d.ts.map +1 -1
- package/resources/course-chapters.js +5 -5
- package/resources/course-chapters.mjs +5 -5
- package/resources/course-lesson-interactions.d.mts +7 -6
- package/resources/course-lesson-interactions.d.mts.map +1 -1
- package/resources/course-lesson-interactions.d.ts +7 -6
- package/resources/course-lesson-interactions.d.ts.map +1 -1
- package/resources/course-lesson-interactions.js +3 -2
- package/resources/course-lesson-interactions.js.map +1 -1
- package/resources/course-lesson-interactions.mjs +3 -2
- package/resources/course-lesson-interactions.mjs.map +1 -1
- package/resources/course-lessons.d.mts +126 -84
- package/resources/course-lessons.d.mts.map +1 -1
- package/resources/course-lessons.d.ts +126 -84
- package/resources/course-lessons.d.ts.map +1 -1
- package/resources/course-lessons.js +12 -8
- package/resources/course-lessons.js.map +1 -1
- package/resources/course-lessons.mjs +12 -8
- package/resources/course-lessons.mjs.map +1 -1
- package/resources/course-students.d.mts +38 -29
- package/resources/course-students.d.mts.map +1 -1
- package/resources/course-students.d.ts +38 -29
- package/resources/course-students.d.ts.map +1 -1
- package/resources/course-students.js +3 -2
- package/resources/course-students.js.map +1 -1
- package/resources/course-students.mjs +3 -2
- package/resources/course-students.mjs.map +1 -1
- package/resources/courses.d.mts +132 -91
- package/resources/courses.d.mts.map +1 -1
- package/resources/courses.d.ts +132 -91
- package/resources/courses.d.ts.map +1 -1
- package/resources/courses.js +9 -5
- package/resources/courses.js.map +1 -1
- package/resources/courses.mjs +9 -5
- package/resources/courses.mjs.map +1 -1
- package/resources/disputes.d.mts +156 -102
- package/resources/disputes.d.mts.map +1 -1
- package/resources/disputes.d.ts +156 -102
- package/resources/disputes.d.ts.map +1 -1
- package/resources/disputes.js +4 -2
- package/resources/disputes.js.map +1 -1
- package/resources/disputes.mjs +4 -2
- package/resources/disputes.mjs.map +1 -1
- package/resources/dm-channels.d.mts +29 -16
- package/resources/dm-channels.d.mts.map +1 -1
- package/resources/dm-channels.d.ts +29 -16
- package/resources/dm-channels.d.ts.map +1 -1
- package/resources/dm-channels.js +9 -5
- package/resources/dm-channels.js.map +1 -1
- package/resources/dm-channels.mjs +9 -5
- package/resources/dm-channels.mjs.map +1 -1
- package/resources/dm-members.d.mts +30 -21
- package/resources/dm-members.d.mts.map +1 -1
- package/resources/dm-members.d.ts +30 -21
- package/resources/dm-members.d.ts.map +1 -1
- package/resources/dm-members.js +9 -5
- package/resources/dm-members.js.map +1 -1
- package/resources/dm-members.mjs +9 -5
- package/resources/dm-members.mjs.map +1 -1
- package/resources/entries.d.mts +29 -21
- package/resources/entries.d.mts.map +1 -1
- package/resources/entries.d.ts +29 -21
- package/resources/entries.d.ts.map +1 -1
- package/resources/entries.js +7 -4
- package/resources/entries.js.map +1 -1
- package/resources/entries.mjs +7 -4
- package/resources/entries.mjs.map +1 -1
- package/resources/experiences.d.mts +53 -45
- package/resources/experiences.d.mts.map +1 -1
- package/resources/experiences.d.ts +53 -45
- package/resources/experiences.d.ts.map +1 -1
- package/resources/experiences.js +6 -5
- package/resources/experiences.js.map +1 -1
- package/resources/experiences.mjs +6 -5
- package/resources/experiences.mjs.map +1 -1
- package/resources/fee-markups.d.mts +32 -21
- package/resources/fee-markups.d.mts.map +1 -1
- package/resources/fee-markups.d.ts +32 -21
- package/resources/fee-markups.d.ts.map +1 -1
- package/resources/fee-markups.js +6 -3
- package/resources/fee-markups.js.map +1 -1
- package/resources/fee-markups.mjs +6 -3
- package/resources/fee-markups.mjs.map +1 -1
- package/resources/files.d.mts +21 -17
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +21 -17
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +3 -2
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +3 -2
- package/resources/files.mjs.map +1 -1
- package/resources/forum-posts.d.mts +62 -43
- package/resources/forum-posts.d.mts.map +1 -1
- package/resources/forum-posts.d.ts +62 -43
- package/resources/forum-posts.d.ts.map +1 -1
- package/resources/forum-posts.js +8 -4
- package/resources/forum-posts.js.map +1 -1
- package/resources/forum-posts.mjs +8 -4
- package/resources/forum-posts.mjs.map +1 -1
- package/resources/forums.d.mts +20 -12
- package/resources/forums.d.mts.map +1 -1
- package/resources/forums.d.ts +20 -12
- package/resources/forums.d.ts.map +1 -1
- package/resources/forums.js +5 -3
- package/resources/forums.js.map +1 -1
- package/resources/forums.mjs +5 -3
- package/resources/forums.mjs.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invoices.d.mts +108 -80
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +108 -80
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js +7 -4
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs +7 -4
- package/resources/invoices.mjs.map +1 -1
- package/resources/leads.d.mts +64 -42
- package/resources/leads.d.mts.map +1 -1
- package/resources/leads.d.ts +64 -42
- package/resources/leads.d.ts.map +1 -1
- package/resources/leads.js +6 -4
- package/resources/leads.js.map +1 -1
- package/resources/leads.mjs +6 -4
- package/resources/leads.mjs.map +1 -1
- package/resources/ledger-accounts.d.mts +10 -8
- package/resources/ledger-accounts.d.mts.map +1 -1
- package/resources/ledger-accounts.d.ts +10 -8
- package/resources/ledger-accounts.d.ts.map +1 -1
- package/resources/ledger-accounts.js +1 -1
- package/resources/ledger-accounts.mjs +1 -1
- package/resources/members.d.mts +18 -19
- package/resources/members.d.mts.map +1 -1
- package/resources/members.d.ts +18 -19
- package/resources/members.d.ts.map +1 -1
- package/resources/members.js +3 -2
- package/resources/members.js.map +1 -1
- package/resources/members.mjs +3 -2
- package/resources/members.mjs.map +1 -1
- package/resources/memberships.d.mts +69 -51
- package/resources/memberships.d.mts.map +1 -1
- package/resources/memberships.d.ts +69 -51
- package/resources/memberships.d.ts.map +1 -1
- package/resources/memberships.js +12 -8
- package/resources/memberships.js.map +1 -1
- package/resources/memberships.mjs +12 -8
- package/resources/memberships.mjs.map +1 -1
- package/resources/messages.d.mts +46 -32
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +46 -32
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +9 -5
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +9 -5
- package/resources/messages.mjs.map +1 -1
- package/resources/notifications.d.mts +33 -25
- package/resources/notifications.d.mts.map +1 -1
- package/resources/notifications.d.ts +33 -25
- package/resources/notifications.d.ts.map +1 -1
- package/resources/notifications.js +2 -1
- package/resources/notifications.js.map +1 -1
- package/resources/notifications.mjs +2 -1
- package/resources/notifications.mjs.map +1 -1
- package/resources/payment-methods.d.mts +212 -114
- package/resources/payment-methods.d.mts.map +1 -1
- package/resources/payment-methods.d.ts +212 -114
- package/resources/payment-methods.d.ts.map +1 -1
- package/resources/payment-methods.js +5 -10
- package/resources/payment-methods.js.map +1 -1
- package/resources/payment-methods.mjs +5 -10
- package/resources/payment-methods.mjs.map +1 -1
- package/resources/payments.d.mts +73 -40
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +73 -40
- package/resources/payments.d.ts.map +1 -1
- package/resources/payments.js +23 -10
- package/resources/payments.js.map +1 -1
- package/resources/payments.mjs +23 -10
- package/resources/payments.mjs.map +1 -1
- package/resources/payout-methods.d.mts +44 -29
- package/resources/payout-methods.d.mts.map +1 -1
- package/resources/payout-methods.d.ts +44 -29
- package/resources/payout-methods.d.ts.map +1 -1
- package/resources/payout-methods.js +3 -2
- package/resources/payout-methods.js.map +1 -1
- package/resources/payout-methods.mjs +3 -2
- package/resources/payout-methods.mjs.map +1 -1
- package/resources/plans.d.mts +121 -90
- package/resources/plans.d.mts.map +1 -1
- package/resources/plans.d.ts +121 -90
- package/resources/plans.d.ts.map +1 -1
- package/resources/plans.js +9 -5
- package/resources/plans.js.map +1 -1
- package/resources/plans.mjs +9 -5
- package/resources/plans.mjs.map +1 -1
- package/resources/products.d.mts +76 -65
- package/resources/products.d.mts.map +1 -1
- package/resources/products.d.ts +76 -65
- package/resources/products.d.ts.map +1 -1
- package/resources/products.js +7 -5
- package/resources/products.js.map +1 -1
- package/resources/products.mjs +7 -5
- package/resources/products.mjs.map +1 -1
- package/resources/promo-codes.d.mts +41 -31
- package/resources/promo-codes.d.mts.map +1 -1
- package/resources/promo-codes.d.ts +41 -31
- package/resources/promo-codes.d.ts.map +1 -1
- package/resources/promo-codes.js +7 -4
- package/resources/promo-codes.js.map +1 -1
- package/resources/promo-codes.mjs +7 -4
- package/resources/promo-codes.mjs.map +1 -1
- package/resources/reactions.d.mts +24 -18
- package/resources/reactions.d.mts.map +1 -1
- package/resources/reactions.d.ts +24 -18
- package/resources/reactions.d.ts.map +1 -1
- package/resources/reactions.js +7 -4
- package/resources/reactions.js.map +1 -1
- package/resources/reactions.mjs +7 -4
- package/resources/reactions.mjs.map +1 -1
- package/resources/refunds.d.mts +43 -29
- package/resources/refunds.d.mts.map +1 -1
- package/resources/refunds.d.ts +43 -29
- package/resources/refunds.d.ts.map +1 -1
- package/resources/refunds.js +3 -2
- package/resources/refunds.js.map +1 -1
- package/resources/refunds.mjs +3 -2
- package/resources/refunds.mjs.map +1 -1
- package/resources/reviews.d.mts +66 -50
- package/resources/reviews.d.mts.map +1 -1
- package/resources/reviews.d.ts +66 -50
- package/resources/reviews.d.ts.map +1 -1
- package/resources/reviews.js +3 -2
- package/resources/reviews.js.map +1 -1
- package/resources/reviews.mjs +3 -2
- package/resources/reviews.mjs.map +1 -1
- package/resources/setup-intents.d.mts +61 -43
- package/resources/setup-intents.d.mts.map +1 -1
- package/resources/setup-intents.d.ts +61 -43
- package/resources/setup-intents.d.ts.map +1 -1
- package/resources/setup-intents.js +4 -10
- package/resources/setup-intents.js.map +1 -1
- package/resources/setup-intents.mjs +4 -10
- package/resources/setup-intents.mjs.map +1 -1
- package/resources/shared.d.mts +695 -388
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +695 -388
- package/resources/shared.d.ts.map +1 -1
- package/resources/shipments.d.mts +26 -17
- package/resources/shipments.d.mts.map +1 -1
- package/resources/shipments.d.ts +26 -17
- package/resources/shipments.d.ts.map +1 -1
- package/resources/shipments.js +5 -3
- package/resources/shipments.js.map +1 -1
- package/resources/shipments.mjs +5 -3
- package/resources/shipments.mjs.map +1 -1
- package/resources/support-channels.d.mts +27 -19
- package/resources/support-channels.d.mts.map +1 -1
- package/resources/support-channels.d.ts +27 -19
- package/resources/support-channels.d.ts.map +1 -1
- package/resources/support-channels.js +5 -4
- package/resources/support-channels.js.map +1 -1
- package/resources/support-channels.mjs +5 -4
- package/resources/support-channels.mjs.map +1 -1
- package/resources/topups.d.mts +11 -9
- package/resources/topups.d.mts.map +1 -1
- package/resources/topups.d.ts +11 -9
- package/resources/topups.d.ts.map +1 -1
- package/resources/topups.js +2 -1
- package/resources/topups.js.map +1 -1
- package/resources/topups.mjs +2 -1
- package/resources/topups.mjs.map +1 -1
- package/resources/transfers.d.mts +35 -29
- package/resources/transfers.d.mts.map +1 -1
- package/resources/transfers.d.ts +35 -29
- package/resources/transfers.d.ts.map +1 -1
- package/resources/transfers.js +5 -3
- package/resources/transfers.js.map +1 -1
- package/resources/transfers.mjs +5 -3
- package/resources/transfers.mjs.map +1 -1
- package/resources/users.d.mts +20 -16
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +20 -16
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +4 -3
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +4 -3
- package/resources/users.mjs.map +1 -1
- package/resources/verifications.d.mts +6 -4
- package/resources/verifications.d.mts.map +1 -1
- package/resources/verifications.d.ts +6 -4
- package/resources/verifications.d.ts.map +1 -1
- package/resources/verifications.js +1 -1
- package/resources/verifications.mjs +1 -1
- package/resources/webhooks.d.mts +136 -95
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +136 -95
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +3 -2
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +3 -2
- package/resources/webhooks.mjs.map +1 -1
- package/resources/withdrawals.d.mts +53 -44
- package/resources/withdrawals.d.mts.map +1 -1
- package/resources/withdrawals.d.ts +53 -44
- package/resources/withdrawals.d.ts.map +1 -1
- package/resources/withdrawals.js +3 -2
- package/resources/withdrawals.js.map +1 -1
- package/resources/withdrawals.mjs +3 -2
- package/resources/withdrawals.mjs.map +1 -1
- package/src/client.ts +13 -3
- package/src/resources/access-tokens.ts +19 -20
- package/src/resources/account-links.ts +15 -13
- package/src/resources/ai-chats.ts +39 -26
- package/src/resources/app-builds.ts +35 -33
- package/src/resources/apps.ts +84 -56
- package/src/resources/authorized-users.ts +32 -26
- package/src/resources/chat-channels.ts +27 -19
- package/src/resources/checkout-configurations.ts +56 -46
- package/src/resources/companies.ts +68 -46
- package/src/resources/company-token-transactions.ts +81 -58
- package/src/resources/course-chapters.ts +24 -19
- package/src/resources/course-lesson-interactions.ts +7 -6
- package/src/resources/course-lessons.ts +126 -84
- package/src/resources/course-students.ts +38 -29
- package/src/resources/courses.ts +132 -91
- package/src/resources/disputes.ts +156 -102
- package/src/resources/dm-channels.ts +29 -16
- package/src/resources/dm-members.ts +30 -21
- package/src/resources/entries.ts +29 -21
- package/src/resources/experiences.ts +53 -45
- package/src/resources/fee-markups.ts +32 -21
- package/src/resources/files.ts +21 -17
- package/src/resources/forum-posts.ts +63 -43
- package/src/resources/forums.ts +20 -12
- package/src/resources/index.ts +2 -1
- package/src/resources/invoices.ts +112 -80
- package/src/resources/leads.ts +64 -42
- package/src/resources/ledger-accounts.ts +10 -8
- package/src/resources/members.ts +18 -19
- package/src/resources/memberships.ts +69 -51
- package/src/resources/messages.ts +46 -32
- package/src/resources/notifications.ts +33 -25
- package/src/resources/payment-methods.ts +212 -114
- package/src/resources/payments.ts +77 -39
- package/src/resources/payout-methods.ts +44 -29
- package/src/resources/plans.ts +121 -90
- package/src/resources/products.ts +215 -68
- package/src/resources/promo-codes.ts +41 -31
- package/src/resources/reactions.ts +24 -18
- package/src/resources/refunds.ts +44 -29
- package/src/resources/reviews.ts +66 -50
- package/src/resources/setup-intents.ts +61 -43
- package/src/resources/shared.ts +2637 -387
- package/src/resources/shipments.ts +26 -17
- package/src/resources/support-channels.ts +27 -19
- package/src/resources/topups.ts +11 -9
- package/src/resources/transfers.ts +35 -29
- package/src/resources/users.ts +20 -16
- package/src/resources/verifications.ts +6 -4
- package/src/resources/webhooks.ts +136 -95
- package/src/resources/withdrawals.ts +53 -43
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -10,7 +10,7 @@ import { path } from '../internal/utils/path';
|
|
|
10
10
|
|
|
11
11
|
export class Disputes extends APIResource {
|
|
12
12
|
/**
|
|
13
|
-
* Retrieves
|
|
13
|
+
* Retrieves the details of an existing dispute.
|
|
14
14
|
*
|
|
15
15
|
* Required permissions:
|
|
16
16
|
*
|
|
@@ -28,7 +28,9 @@ export class Disputes extends APIResource {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Returns a paginated list of disputes for a company, with optional filtering by
|
|
32
|
+
* creation date. A dispute represents a chargeback or inquiry filed by a customer
|
|
33
|
+
* against a payment.
|
|
32
34
|
*
|
|
33
35
|
* Required permissions:
|
|
34
36
|
*
|
|
@@ -100,32 +102,36 @@ export interface Dispute {
|
|
|
100
102
|
id: string;
|
|
101
103
|
|
|
102
104
|
/**
|
|
103
|
-
*
|
|
105
|
+
* A log of IP-based access activity for the customer on Whop, submitted as
|
|
106
|
+
* evidence in the dispute.
|
|
104
107
|
*/
|
|
105
108
|
access_activity_log: string | null;
|
|
106
109
|
|
|
107
110
|
/**
|
|
108
|
-
* The amount
|
|
111
|
+
* The disputed amount in the specified currency, formatted as a decimal.
|
|
109
112
|
*/
|
|
110
113
|
amount: number;
|
|
111
114
|
|
|
112
115
|
/**
|
|
113
|
-
* The billing address
|
|
116
|
+
* The customer's billing address from their payment details, submitted as evidence
|
|
117
|
+
* in the dispute.
|
|
114
118
|
*/
|
|
115
119
|
billing_address: string | null;
|
|
116
120
|
|
|
117
121
|
/**
|
|
118
|
-
* The cancellation policy
|
|
122
|
+
* The cancellation policy document uploaded as dispute evidence. Null if no
|
|
123
|
+
* cancellation policy has been provided.
|
|
119
124
|
*/
|
|
120
125
|
cancellation_policy_attachment: Dispute.CancellationPolicyAttachment | null;
|
|
121
126
|
|
|
122
127
|
/**
|
|
123
|
-
* A
|
|
128
|
+
* A text disclosure describing the company's cancellation policy, submitted as
|
|
129
|
+
* dispute evidence.
|
|
124
130
|
*/
|
|
125
131
|
cancellation_policy_disclosure: string | null;
|
|
126
132
|
|
|
127
133
|
/**
|
|
128
|
-
* The company the dispute
|
|
134
|
+
* The company that the dispute was filed against.
|
|
129
135
|
*/
|
|
130
136
|
company: Dispute.Company | null;
|
|
131
137
|
|
|
@@ -135,134 +141,150 @@ export interface Dispute {
|
|
|
135
141
|
created_at: string | null;
|
|
136
142
|
|
|
137
143
|
/**
|
|
138
|
-
* The currency
|
|
144
|
+
* The three-letter ISO currency code for the disputed amount.
|
|
139
145
|
*/
|
|
140
146
|
currency: Shared.Currency;
|
|
141
147
|
|
|
142
148
|
/**
|
|
143
|
-
*
|
|
149
|
+
* Evidence of customer communication or product usage, uploaded as a dispute
|
|
150
|
+
* attachment. Null if not provided.
|
|
144
151
|
*/
|
|
145
152
|
customer_communication_attachment: Dispute.CustomerCommunicationAttachment | null;
|
|
146
153
|
|
|
147
154
|
/**
|
|
148
|
-
* The email
|
|
149
|
-
* evidence packet to the payment processor.
|
|
150
|
-
* the dispute.
|
|
155
|
+
* The customer's email address from their payment details, included in the
|
|
156
|
+
* evidence packet sent to the payment processor. Editable before submission.
|
|
151
157
|
*/
|
|
152
158
|
customer_email_address: string | null;
|
|
153
159
|
|
|
154
160
|
/**
|
|
155
|
-
* The
|
|
156
|
-
*
|
|
157
|
-
* the dispute.
|
|
161
|
+
* The customer's full name from their payment details, included in the evidence
|
|
162
|
+
* packet sent to the payment processor. Editable before submission.
|
|
158
163
|
*/
|
|
159
164
|
customer_name: string | null;
|
|
160
165
|
|
|
161
166
|
/**
|
|
162
|
-
* Whether
|
|
167
|
+
* Whether the dispute evidence can still be edited and submitted. Returns true
|
|
168
|
+
* only when the dispute status requires a response.
|
|
163
169
|
*/
|
|
164
170
|
editable: boolean | null;
|
|
165
171
|
|
|
166
172
|
/**
|
|
167
|
-
* The
|
|
173
|
+
* The deadline by which dispute evidence must be submitted. Null if no response
|
|
174
|
+
* deadline is set.
|
|
168
175
|
*/
|
|
169
176
|
needs_response_by: string | null;
|
|
170
177
|
|
|
171
178
|
/**
|
|
172
|
-
* Additional notes the company
|
|
179
|
+
* Additional freeform notes submitted by the company as part of the dispute
|
|
180
|
+
* evidence.
|
|
173
181
|
*/
|
|
174
182
|
notes: string | null;
|
|
175
183
|
|
|
176
184
|
/**
|
|
177
|
-
* The payment that
|
|
185
|
+
* The original payment that was disputed.
|
|
178
186
|
*/
|
|
179
187
|
payment: Dispute.Payment | null;
|
|
180
188
|
|
|
181
189
|
/**
|
|
182
|
-
* The plan
|
|
190
|
+
* The plan associated with the disputed payment. Null if the dispute is not linked
|
|
191
|
+
* to a specific plan.
|
|
183
192
|
*/
|
|
184
193
|
plan: Dispute.Plan | null;
|
|
185
194
|
|
|
186
195
|
/**
|
|
187
|
-
* The product
|
|
196
|
+
* The product associated with the disputed payment. Null if the dispute is not
|
|
197
|
+
* linked to a specific product.
|
|
188
198
|
*/
|
|
189
199
|
product: Dispute.Product | null;
|
|
190
200
|
|
|
191
201
|
/**
|
|
192
|
-
*
|
|
202
|
+
* A description of the product or service provided, submitted as dispute evidence.
|
|
193
203
|
*/
|
|
194
204
|
product_description: string | null;
|
|
195
205
|
|
|
196
206
|
/**
|
|
197
|
-
*
|
|
207
|
+
* A human-readable reason for the dispute.
|
|
198
208
|
*/
|
|
199
209
|
reason: string | null;
|
|
200
210
|
|
|
201
211
|
/**
|
|
202
|
-
* The refund policy
|
|
212
|
+
* The refund policy document uploaded as dispute evidence. Null if no refund
|
|
213
|
+
* policy has been provided.
|
|
203
214
|
*/
|
|
204
215
|
refund_policy_attachment: Dispute.RefundPolicyAttachment | null;
|
|
205
216
|
|
|
206
217
|
/**
|
|
207
|
-
* A
|
|
218
|
+
* A text disclosure describing the company's refund policy, submitted as dispute
|
|
219
|
+
* evidence.
|
|
208
220
|
*/
|
|
209
221
|
refund_policy_disclosure: string | null;
|
|
210
222
|
|
|
211
223
|
/**
|
|
212
|
-
*
|
|
224
|
+
* An explanation from the company for why a refund was refused, submitted as
|
|
225
|
+
* dispute evidence.
|
|
213
226
|
*/
|
|
214
227
|
refund_refusal_explanation: string | null;
|
|
215
228
|
|
|
216
229
|
/**
|
|
217
|
-
*
|
|
230
|
+
* The date when the product or service was delivered to the customer, submitted as
|
|
231
|
+
* dispute evidence.
|
|
218
232
|
*/
|
|
219
233
|
service_date: string | null;
|
|
220
234
|
|
|
221
235
|
/**
|
|
222
|
-
* The status of the dispute
|
|
236
|
+
* The current status of the dispute lifecycle, such as needs_response,
|
|
237
|
+
* under_review, won, or lost.
|
|
223
238
|
*/
|
|
224
239
|
status: DisputeStatuses;
|
|
225
240
|
|
|
226
241
|
/**
|
|
227
|
-
* An attachment that
|
|
242
|
+
* An additional attachment that does not fit into the standard evidence
|
|
243
|
+
* categories. Null if not provided.
|
|
228
244
|
*/
|
|
229
245
|
uncategorized_attachment: Dispute.UncategorizedAttachment | null;
|
|
230
246
|
|
|
231
247
|
/**
|
|
232
|
-
* Whether
|
|
248
|
+
* Whether the dispute was automatically resolved through Visa Rapid Dispute
|
|
249
|
+
* Resolution (RDR).
|
|
233
250
|
*/
|
|
234
251
|
visa_rdr: boolean;
|
|
235
252
|
}
|
|
236
253
|
|
|
237
254
|
export namespace Dispute {
|
|
238
255
|
/**
|
|
239
|
-
* The cancellation policy
|
|
256
|
+
* The cancellation policy document uploaded as dispute evidence. Null if no
|
|
257
|
+
* cancellation policy has been provided.
|
|
240
258
|
*/
|
|
241
259
|
export interface CancellationPolicyAttachment {
|
|
242
260
|
/**
|
|
243
|
-
*
|
|
261
|
+
* Represents a unique identifier that is Base64 obfuscated. It is often used to
|
|
262
|
+
* refetch an object or as key for a cache. The ID type appears in a JSON response
|
|
263
|
+
* as a String; however, it is not intended to be human-readable. When expected as
|
|
264
|
+
* an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`)
|
|
265
|
+
* input value will be accepted as an ID.
|
|
244
266
|
*/
|
|
245
267
|
id: string;
|
|
246
268
|
|
|
247
269
|
/**
|
|
248
|
-
* The
|
|
270
|
+
* The MIME type of the uploaded file (e.g., image/jpeg, video/mp4, audio/mpeg).
|
|
249
271
|
*/
|
|
250
272
|
content_type: string | null;
|
|
251
273
|
|
|
252
274
|
/**
|
|
253
|
-
* The
|
|
275
|
+
* The original filename of the uploaded attachment, including its file extension.
|
|
254
276
|
*/
|
|
255
277
|
filename: string | null;
|
|
256
278
|
|
|
257
279
|
/**
|
|
258
|
-
*
|
|
259
|
-
*
|
|
280
|
+
* A pre-optimized URL for rendering this attachment on the client. This should be
|
|
281
|
+
* used for displaying attachments in apps.
|
|
260
282
|
*/
|
|
261
283
|
url: string | null;
|
|
262
284
|
}
|
|
263
285
|
|
|
264
286
|
/**
|
|
265
|
-
* The company the dispute
|
|
287
|
+
* The company that the dispute was filed against.
|
|
266
288
|
*/
|
|
267
289
|
export interface Company {
|
|
268
290
|
/**
|
|
@@ -277,33 +299,38 @@ export namespace Dispute {
|
|
|
277
299
|
}
|
|
278
300
|
|
|
279
301
|
/**
|
|
280
|
-
*
|
|
302
|
+
* Evidence of customer communication or product usage, uploaded as a dispute
|
|
303
|
+
* attachment. Null if not provided.
|
|
281
304
|
*/
|
|
282
305
|
export interface CustomerCommunicationAttachment {
|
|
283
306
|
/**
|
|
284
|
-
*
|
|
307
|
+
* Represents a unique identifier that is Base64 obfuscated. It is often used to
|
|
308
|
+
* refetch an object or as key for a cache. The ID type appears in a JSON response
|
|
309
|
+
* as a String; however, it is not intended to be human-readable. When expected as
|
|
310
|
+
* an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`)
|
|
311
|
+
* input value will be accepted as an ID.
|
|
285
312
|
*/
|
|
286
313
|
id: string;
|
|
287
314
|
|
|
288
315
|
/**
|
|
289
|
-
* The
|
|
316
|
+
* The MIME type of the uploaded file (e.g., image/jpeg, video/mp4, audio/mpeg).
|
|
290
317
|
*/
|
|
291
318
|
content_type: string | null;
|
|
292
319
|
|
|
293
320
|
/**
|
|
294
|
-
* The
|
|
321
|
+
* The original filename of the uploaded attachment, including its file extension.
|
|
295
322
|
*/
|
|
296
323
|
filename: string | null;
|
|
297
324
|
|
|
298
325
|
/**
|
|
299
|
-
*
|
|
300
|
-
*
|
|
326
|
+
* A pre-optimized URL for rendering this attachment on the client. This should be
|
|
327
|
+
* used for displaying attachments in apps.
|
|
301
328
|
*/
|
|
302
329
|
url: string | null;
|
|
303
330
|
}
|
|
304
331
|
|
|
305
332
|
/**
|
|
306
|
-
* The payment that
|
|
333
|
+
* The original payment that was disputed.
|
|
307
334
|
*/
|
|
308
335
|
export interface Payment {
|
|
309
336
|
/**
|
|
@@ -322,7 +349,8 @@ export namespace Dispute {
|
|
|
322
349
|
card_brand: PaymentsAPI.CardBrands | null;
|
|
323
350
|
|
|
324
351
|
/**
|
|
325
|
-
* The last
|
|
352
|
+
* The last four digits of the card used to make this payment. Null if the payment
|
|
353
|
+
* was not made with a card.
|
|
326
354
|
*/
|
|
327
355
|
card_last4: string | null;
|
|
328
356
|
|
|
@@ -352,7 +380,8 @@ export namespace Dispute {
|
|
|
352
380
|
membership: Payment.Membership | null;
|
|
353
381
|
|
|
354
382
|
/**
|
|
355
|
-
* The
|
|
383
|
+
* The time at which this payment was successfully collected. Null if the payment
|
|
384
|
+
* has not yet succeeded. As a Unix timestamp.
|
|
356
385
|
*/
|
|
357
386
|
paid_at: string | null;
|
|
358
387
|
|
|
@@ -423,24 +452,26 @@ export namespace Dispute {
|
|
|
423
452
|
id: string;
|
|
424
453
|
|
|
425
454
|
/**
|
|
426
|
-
* The email
|
|
455
|
+
* The user's email address. Requires the member:email:read permission to access.
|
|
456
|
+
* Null if not authorized.
|
|
427
457
|
*/
|
|
428
458
|
email: string | null;
|
|
429
459
|
|
|
430
460
|
/**
|
|
431
|
-
* The
|
|
461
|
+
* The user's display name shown on their public profile.
|
|
432
462
|
*/
|
|
433
463
|
name: string | null;
|
|
434
464
|
|
|
435
465
|
/**
|
|
436
|
-
* The
|
|
466
|
+
* The user's unique username shown on their public profile.
|
|
437
467
|
*/
|
|
438
468
|
username: string;
|
|
439
469
|
}
|
|
440
470
|
}
|
|
441
471
|
|
|
442
472
|
/**
|
|
443
|
-
* The plan
|
|
473
|
+
* The plan associated with the disputed payment. Null if the dispute is not linked
|
|
474
|
+
* to a specific plan.
|
|
444
475
|
*/
|
|
445
476
|
export interface Plan {
|
|
446
477
|
/**
|
|
@@ -450,7 +481,8 @@ export namespace Dispute {
|
|
|
450
481
|
}
|
|
451
482
|
|
|
452
483
|
/**
|
|
453
|
-
* The product
|
|
484
|
+
* The product associated with the disputed payment. Null if the dispute is not
|
|
485
|
+
* linked to a specific product.
|
|
454
486
|
*/
|
|
455
487
|
export interface Product {
|
|
456
488
|
/**
|
|
@@ -459,59 +491,70 @@ export namespace Dispute {
|
|
|
459
491
|
id: string;
|
|
460
492
|
|
|
461
493
|
/**
|
|
462
|
-
* The
|
|
494
|
+
* The display name of the product shown to customers on the product page and in
|
|
495
|
+
* search results.
|
|
463
496
|
*/
|
|
464
497
|
title: string;
|
|
465
498
|
}
|
|
466
499
|
|
|
467
500
|
/**
|
|
468
|
-
* The refund policy
|
|
501
|
+
* The refund policy document uploaded as dispute evidence. Null if no refund
|
|
502
|
+
* policy has been provided.
|
|
469
503
|
*/
|
|
470
504
|
export interface RefundPolicyAttachment {
|
|
471
505
|
/**
|
|
472
|
-
*
|
|
506
|
+
* Represents a unique identifier that is Base64 obfuscated. It is often used to
|
|
507
|
+
* refetch an object or as key for a cache. The ID type appears in a JSON response
|
|
508
|
+
* as a String; however, it is not intended to be human-readable. When expected as
|
|
509
|
+
* an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`)
|
|
510
|
+
* input value will be accepted as an ID.
|
|
473
511
|
*/
|
|
474
512
|
id: string;
|
|
475
513
|
|
|
476
514
|
/**
|
|
477
|
-
* The
|
|
515
|
+
* The MIME type of the uploaded file (e.g., image/jpeg, video/mp4, audio/mpeg).
|
|
478
516
|
*/
|
|
479
517
|
content_type: string | null;
|
|
480
518
|
|
|
481
519
|
/**
|
|
482
|
-
* The
|
|
520
|
+
* The original filename of the uploaded attachment, including its file extension.
|
|
483
521
|
*/
|
|
484
522
|
filename: string | null;
|
|
485
523
|
|
|
486
524
|
/**
|
|
487
|
-
*
|
|
488
|
-
*
|
|
525
|
+
* A pre-optimized URL for rendering this attachment on the client. This should be
|
|
526
|
+
* used for displaying attachments in apps.
|
|
489
527
|
*/
|
|
490
528
|
url: string | null;
|
|
491
529
|
}
|
|
492
530
|
|
|
493
531
|
/**
|
|
494
|
-
* An attachment that
|
|
532
|
+
* An additional attachment that does not fit into the standard evidence
|
|
533
|
+
* categories. Null if not provided.
|
|
495
534
|
*/
|
|
496
535
|
export interface UncategorizedAttachment {
|
|
497
536
|
/**
|
|
498
|
-
*
|
|
537
|
+
* Represents a unique identifier that is Base64 obfuscated. It is often used to
|
|
538
|
+
* refetch an object or as key for a cache. The ID type appears in a JSON response
|
|
539
|
+
* as a String; however, it is not intended to be human-readable. When expected as
|
|
540
|
+
* an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`)
|
|
541
|
+
* input value will be accepted as an ID.
|
|
499
542
|
*/
|
|
500
543
|
id: string;
|
|
501
544
|
|
|
502
545
|
/**
|
|
503
|
-
* The
|
|
546
|
+
* The MIME type of the uploaded file (e.g., image/jpeg, video/mp4, audio/mpeg).
|
|
504
547
|
*/
|
|
505
548
|
content_type: string | null;
|
|
506
549
|
|
|
507
550
|
/**
|
|
508
|
-
* The
|
|
551
|
+
* The original filename of the uploaded attachment, including its file extension.
|
|
509
552
|
*/
|
|
510
553
|
filename: string | null;
|
|
511
554
|
|
|
512
555
|
/**
|
|
513
|
-
*
|
|
514
|
-
*
|
|
556
|
+
* A pre-optimized URL for rendering this attachment on the client. This should be
|
|
557
|
+
* used for displaying attachments in apps.
|
|
515
558
|
*/
|
|
516
559
|
url: string | null;
|
|
517
560
|
}
|
|
@@ -542,12 +585,12 @@ export interface DisputeListResponse {
|
|
|
542
585
|
id: string;
|
|
543
586
|
|
|
544
587
|
/**
|
|
545
|
-
* The amount
|
|
588
|
+
* The disputed amount in the specified currency, formatted as a decimal.
|
|
546
589
|
*/
|
|
547
590
|
amount: number;
|
|
548
591
|
|
|
549
592
|
/**
|
|
550
|
-
* The company the dispute
|
|
593
|
+
* The company that the dispute was filed against.
|
|
551
594
|
*/
|
|
552
595
|
company: DisputeListResponse.Company | null;
|
|
553
596
|
|
|
@@ -557,54 +600,60 @@ export interface DisputeListResponse {
|
|
|
557
600
|
created_at: string | null;
|
|
558
601
|
|
|
559
602
|
/**
|
|
560
|
-
* The currency
|
|
603
|
+
* The three-letter ISO currency code for the disputed amount.
|
|
561
604
|
*/
|
|
562
605
|
currency: Shared.Currency;
|
|
563
606
|
|
|
564
607
|
/**
|
|
565
|
-
* Whether
|
|
608
|
+
* Whether the dispute evidence can still be edited and submitted. Returns true
|
|
609
|
+
* only when the dispute status requires a response.
|
|
566
610
|
*/
|
|
567
611
|
editable: boolean | null;
|
|
568
612
|
|
|
569
613
|
/**
|
|
570
|
-
* The
|
|
614
|
+
* The deadline by which dispute evidence must be submitted. Null if no response
|
|
615
|
+
* deadline is set.
|
|
571
616
|
*/
|
|
572
617
|
needs_response_by: string | null;
|
|
573
618
|
|
|
574
619
|
/**
|
|
575
|
-
* The payment that
|
|
620
|
+
* The original payment that was disputed.
|
|
576
621
|
*/
|
|
577
622
|
payment: DisputeListResponse.Payment | null;
|
|
578
623
|
|
|
579
624
|
/**
|
|
580
|
-
* The plan
|
|
625
|
+
* The plan associated with the disputed payment. Null if the dispute is not linked
|
|
626
|
+
* to a specific plan.
|
|
581
627
|
*/
|
|
582
628
|
plan: DisputeListResponse.Plan | null;
|
|
583
629
|
|
|
584
630
|
/**
|
|
585
|
-
* The product
|
|
631
|
+
* The product associated with the disputed payment. Null if the dispute is not
|
|
632
|
+
* linked to a specific product.
|
|
586
633
|
*/
|
|
587
634
|
product: DisputeListResponse.Product | null;
|
|
588
635
|
|
|
589
636
|
/**
|
|
590
|
-
*
|
|
637
|
+
* A human-readable reason for the dispute.
|
|
591
638
|
*/
|
|
592
639
|
reason: string | null;
|
|
593
640
|
|
|
594
641
|
/**
|
|
595
|
-
* The status of the dispute
|
|
642
|
+
* The current status of the dispute lifecycle, such as needs_response,
|
|
643
|
+
* under_review, won, or lost.
|
|
596
644
|
*/
|
|
597
645
|
status: DisputeStatuses;
|
|
598
646
|
|
|
599
647
|
/**
|
|
600
|
-
* Whether
|
|
648
|
+
* Whether the dispute was automatically resolved through Visa Rapid Dispute
|
|
649
|
+
* Resolution (RDR).
|
|
601
650
|
*/
|
|
602
651
|
visa_rdr: boolean;
|
|
603
652
|
}
|
|
604
653
|
|
|
605
654
|
export namespace DisputeListResponse {
|
|
606
655
|
/**
|
|
607
|
-
* The company the dispute
|
|
656
|
+
* The company that the dispute was filed against.
|
|
608
657
|
*/
|
|
609
658
|
export interface Company {
|
|
610
659
|
/**
|
|
@@ -619,7 +668,7 @@ export namespace DisputeListResponse {
|
|
|
619
668
|
}
|
|
620
669
|
|
|
621
670
|
/**
|
|
622
|
-
* The payment that
|
|
671
|
+
* The original payment that was disputed.
|
|
623
672
|
*/
|
|
624
673
|
export interface Payment {
|
|
625
674
|
/**
|
|
@@ -629,7 +678,8 @@ export namespace DisputeListResponse {
|
|
|
629
678
|
}
|
|
630
679
|
|
|
631
680
|
/**
|
|
632
|
-
* The plan
|
|
681
|
+
* The plan associated with the disputed payment. Null if the dispute is not linked
|
|
682
|
+
* to a specific plan.
|
|
633
683
|
*/
|
|
634
684
|
export interface Plan {
|
|
635
685
|
/**
|
|
@@ -639,7 +689,8 @@ export namespace DisputeListResponse {
|
|
|
639
689
|
}
|
|
640
690
|
|
|
641
691
|
/**
|
|
642
|
-
* The product
|
|
692
|
+
* The product associated with the disputed payment. Null if the dispute is not
|
|
693
|
+
* linked to a specific product.
|
|
643
694
|
*/
|
|
644
695
|
export interface Product {
|
|
645
696
|
/**
|
|
@@ -648,7 +699,8 @@ export namespace DisputeListResponse {
|
|
|
648
699
|
id: string;
|
|
649
700
|
|
|
650
701
|
/**
|
|
651
|
-
* The
|
|
702
|
+
* The display name of the product shown to customers on the product page and in
|
|
703
|
+
* search results.
|
|
652
704
|
*/
|
|
653
705
|
title: string;
|
|
654
706
|
}
|
|
@@ -656,7 +708,7 @@ export namespace DisputeListResponse {
|
|
|
656
708
|
|
|
657
709
|
export interface DisputeListParams extends CursorPageParams {
|
|
658
710
|
/**
|
|
659
|
-
* The
|
|
711
|
+
* The unique identifier of the company to list disputes for.
|
|
660
712
|
*/
|
|
661
713
|
company_id: string;
|
|
662
714
|
|
|
@@ -666,12 +718,12 @@ export interface DisputeListParams extends CursorPageParams {
|
|
|
666
718
|
before?: string | null;
|
|
667
719
|
|
|
668
720
|
/**
|
|
669
|
-
*
|
|
721
|
+
* Only return disputes created after this timestamp.
|
|
670
722
|
*/
|
|
671
723
|
created_after?: string | null;
|
|
672
724
|
|
|
673
725
|
/**
|
|
674
|
-
*
|
|
726
|
+
* Only return disputes created before this timestamp.
|
|
675
727
|
*/
|
|
676
728
|
created_before?: string | null;
|
|
677
729
|
|
|
@@ -693,79 +745,80 @@ export interface DisputeListParams extends CursorPageParams {
|
|
|
693
745
|
|
|
694
746
|
export interface DisputeUpdateEvidenceParams {
|
|
695
747
|
/**
|
|
696
|
-
* An IP access log
|
|
748
|
+
* An IP access activity log showing the customer used the service.
|
|
697
749
|
*/
|
|
698
750
|
access_activity_log?: string | null;
|
|
699
751
|
|
|
700
752
|
/**
|
|
701
|
-
* The billing address
|
|
753
|
+
* The billing address associated with the customer's payment method.
|
|
702
754
|
*/
|
|
703
755
|
billing_address?: string | null;
|
|
704
756
|
|
|
705
757
|
/**
|
|
706
|
-
* A file containing the cancellation policy
|
|
758
|
+
* A file upload containing the company's cancellation policy document.
|
|
707
759
|
*/
|
|
708
760
|
cancellation_policy_attachment?: DisputeUpdateEvidenceParams.CancellationPolicyAttachment | null;
|
|
709
761
|
|
|
710
762
|
/**
|
|
711
|
-
*
|
|
763
|
+
* The company's cancellation policy text to submit as evidence.
|
|
712
764
|
*/
|
|
713
765
|
cancellation_policy_disclosure?: string | null;
|
|
714
766
|
|
|
715
767
|
/**
|
|
716
|
-
* A file containing
|
|
768
|
+
* A file upload containing evidence of customer communication. Must be a JPEG,
|
|
769
|
+
* PNG, GIF, or PDF.
|
|
717
770
|
*/
|
|
718
771
|
customer_communication_attachment?: DisputeUpdateEvidenceParams.CustomerCommunicationAttachment | null;
|
|
719
772
|
|
|
720
773
|
/**
|
|
721
|
-
* The email of the customer
|
|
774
|
+
* The email address of the customer associated with the disputed payment.
|
|
722
775
|
*/
|
|
723
776
|
customer_email_address?: string | null;
|
|
724
777
|
|
|
725
778
|
/**
|
|
726
|
-
* The name of the customer
|
|
779
|
+
* The full name of the customer associated with the disputed payment.
|
|
727
780
|
*/
|
|
728
781
|
customer_name?: string | null;
|
|
729
782
|
|
|
730
783
|
/**
|
|
731
|
-
* Additional notes
|
|
784
|
+
* Additional notes or context to submit as part of the dispute evidence.
|
|
732
785
|
*/
|
|
733
786
|
notes?: string | null;
|
|
734
787
|
|
|
735
788
|
/**
|
|
736
|
-
*
|
|
789
|
+
* A description of the product or service that was provided to the customer.
|
|
737
790
|
*/
|
|
738
791
|
product_description?: string | null;
|
|
739
792
|
|
|
740
793
|
/**
|
|
741
|
-
* A file containing the refund policy
|
|
794
|
+
* A file upload containing the company's refund policy document.
|
|
742
795
|
*/
|
|
743
796
|
refund_policy_attachment?: DisputeUpdateEvidenceParams.RefundPolicyAttachment | null;
|
|
744
797
|
|
|
745
798
|
/**
|
|
746
|
-
*
|
|
799
|
+
* The company's refund policy text to submit as evidence.
|
|
747
800
|
*/
|
|
748
801
|
refund_policy_disclosure?: string | null;
|
|
749
802
|
|
|
750
803
|
/**
|
|
751
|
-
*
|
|
804
|
+
* An explanation of why the refund request was refused.
|
|
752
805
|
*/
|
|
753
806
|
refund_refusal_explanation?: string | null;
|
|
754
807
|
|
|
755
808
|
/**
|
|
756
|
-
*
|
|
809
|
+
* The date when the product or service was delivered to the customer.
|
|
757
810
|
*/
|
|
758
811
|
service_date?: string | null;
|
|
759
812
|
|
|
760
813
|
/**
|
|
761
|
-
* A file that does not fit
|
|
814
|
+
* A file upload for evidence that does not fit into the other categories.
|
|
762
815
|
*/
|
|
763
816
|
uncategorized_attachment?: DisputeUpdateEvidenceParams.UncategorizedAttachment | null;
|
|
764
817
|
}
|
|
765
818
|
|
|
766
819
|
export namespace DisputeUpdateEvidenceParams {
|
|
767
820
|
/**
|
|
768
|
-
* A file containing the cancellation policy
|
|
821
|
+
* A file upload containing the company's cancellation policy document.
|
|
769
822
|
*/
|
|
770
823
|
export interface CancellationPolicyAttachment {
|
|
771
824
|
/**
|
|
@@ -775,7 +828,8 @@ export namespace DisputeUpdateEvidenceParams {
|
|
|
775
828
|
}
|
|
776
829
|
|
|
777
830
|
/**
|
|
778
|
-
* A file containing
|
|
831
|
+
* A file upload containing evidence of customer communication. Must be a JPEG,
|
|
832
|
+
* PNG, GIF, or PDF.
|
|
779
833
|
*/
|
|
780
834
|
export interface CustomerCommunicationAttachment {
|
|
781
835
|
/**
|
|
@@ -785,7 +839,7 @@ export namespace DisputeUpdateEvidenceParams {
|
|
|
785
839
|
}
|
|
786
840
|
|
|
787
841
|
/**
|
|
788
|
-
* A file containing the refund policy
|
|
842
|
+
* A file upload containing the company's refund policy document.
|
|
789
843
|
*/
|
|
790
844
|
export interface RefundPolicyAttachment {
|
|
791
845
|
/**
|
|
@@ -795,7 +849,7 @@ export namespace DisputeUpdateEvidenceParams {
|
|
|
795
849
|
}
|
|
796
850
|
|
|
797
851
|
/**
|
|
798
|
-
* A file that does not fit
|
|
852
|
+
* A file upload for evidence that does not fit into the other categories.
|
|
799
853
|
*/
|
|
800
854
|
export interface UncategorizedAttachment {
|
|
801
855
|
/**
|