@paynow-gg/typescript-sdk 1.0.16 → 1.0.18

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.
@@ -1067,6 +1067,46 @@ export interface paths {
1067
1067
  patch?: never;
1068
1068
  trace?: never;
1069
1069
  };
1070
+ "/v1/stores/{storeId}/payments": {
1071
+ parameters: {
1072
+ query?: never;
1073
+ header?: never;
1074
+ path?: never;
1075
+ cookie?: never;
1076
+ };
1077
+ /**
1078
+ * Get payments
1079
+ * @description Retrieves all payments for the specified store using the filter specified.
1080
+ */
1081
+ get: operations["Payments_GetPayments"];
1082
+ put?: never;
1083
+ post?: never;
1084
+ delete?: never;
1085
+ options?: never;
1086
+ head?: never;
1087
+ patch?: never;
1088
+ trace?: never;
1089
+ };
1090
+ "/v1/stores/{storeId}/payments/{paymentId}": {
1091
+ parameters: {
1092
+ query?: never;
1093
+ header?: never;
1094
+ path?: never;
1095
+ cookie?: never;
1096
+ };
1097
+ /**
1098
+ * Get payment by ID
1099
+ * @description Retrieves a payment by an ID.
1100
+ */
1101
+ get: operations["Payments_GetPaymentById"];
1102
+ put?: never;
1103
+ post?: never;
1104
+ delete?: never;
1105
+ options?: never;
1106
+ head?: never;
1107
+ patch?: never;
1108
+ trace?: never;
1109
+ };
1070
1110
  "/v1/stores/{storeId}/products": {
1071
1111
  parameters: {
1072
1112
  query?: never;
@@ -1713,6 +1753,19 @@ export interface components {
1713
1753
  };
1714
1754
  /** @enum {string} */
1715
1755
  AffiliateLinkRefererType: "invalid" | "first_referer" | "last_referer";
1756
+ /** @description Alipay payment method details */
1757
+ AlipayDetailsDto: {
1758
+ /**
1759
+ * @description The Alipay buyer identifier
1760
+ * @example buyer_abc123
1761
+ */
1762
+ buyer_id?: string | null;
1763
+ /**
1764
+ * @description A unique fingerprint for this Alipay account
1765
+ * @example fingerprint_xyz789
1766
+ */
1767
+ fingerprint?: string | null;
1768
+ };
1716
1769
  BanDto: {
1717
1770
  id: components["schemas"]["FlakeId"];
1718
1771
  store_id: components["schemas"]["FlakeId"];
@@ -1734,6 +1787,114 @@ export interface components {
1734
1787
  };
1735
1788
  /** @enum {string} */
1736
1789
  BanType: "unknown" | "steam" | "ip" | "customer" | "customer_name" | "email";
1790
+ /** @description Bancontact payment method details */
1791
+ BancontactDetailsDto: {
1792
+ /**
1793
+ * @description The bank identifier
1794
+ * @example bnp_paribas
1795
+ */
1796
+ bank?: string | null;
1797
+ /**
1798
+ * @description The bank name
1799
+ * @example BNP Paribas
1800
+ */
1801
+ bank_name?: string | null;
1802
+ /**
1803
+ * @description The Bank Identifier Code
1804
+ * @example GEBABEBB
1805
+ */
1806
+ bic?: string | null;
1807
+ /**
1808
+ * @description The last 4 digits of the IBAN
1809
+ * @example 3456
1810
+ */
1811
+ iban_last4?: string | null;
1812
+ /**
1813
+ * @description The payer name
1814
+ * @example Jean Dupont
1815
+ */
1816
+ payer_name?: string | null;
1817
+ };
1818
+ /** @description Card payment method details */
1819
+ CardDetailsDto: {
1820
+ /**
1821
+ * @description The card brand
1822
+ * @example visa
1823
+ */
1824
+ brand: string;
1825
+ /**
1826
+ * @description The country code where the card was issued
1827
+ * @example US
1828
+ */
1829
+ country: string;
1830
+ /**
1831
+ * Format: int32
1832
+ * @description The card expiration month
1833
+ * @example 12
1834
+ */
1835
+ exp_month: number;
1836
+ /**
1837
+ * Format: int32
1838
+ * @description The card expiration year
1839
+ * @example 2028
1840
+ */
1841
+ exp_year: number;
1842
+ /**
1843
+ * @description A unique fingerprint for this card
1844
+ * @example abc123def456
1845
+ */
1846
+ fingerprint: string;
1847
+ /**
1848
+ * @description The card funding type
1849
+ * @example credit
1850
+ */
1851
+ funding: string;
1852
+ /**
1853
+ * @description The last 4 digits of the card number
1854
+ * @example 4242
1855
+ */
1856
+ last4: string;
1857
+ /**
1858
+ * @description The Bank Identification Number (first 6/8 digits of card).
1859
+ * Only available internally.
1860
+ * @example 424242
1861
+ */
1862
+ bin?: string | null;
1863
+ /**
1864
+ * @description The card issuer/bank name.
1865
+ * Only available internally.
1866
+ * @example Chase Bank
1867
+ */
1868
+ issuer?: string | null;
1869
+ /**
1870
+ * @description The card description.
1871
+ * Only available internally.
1872
+ * @example Visa Signature
1873
+ */
1874
+ description?: string | null;
1875
+ wallet?: components["schemas"]["CardWalletDto"];
1876
+ };
1877
+ /** @description Digital wallet details for a card */
1878
+ CardWalletDto: {
1879
+ /**
1880
+ * @description The type of digital wallet
1881
+ * @example apple_pay
1882
+ */
1883
+ type: string;
1884
+ };
1885
+ /** @description Cash App payment method details */
1886
+ CashAppDetailsDto: {
1887
+ /**
1888
+ * @description The Cash App buyer identifier
1889
+ * @example buyer_abc123
1890
+ */
1891
+ buyer_id: string;
1892
+ /**
1893
+ * @description The Cash App cashtag
1894
+ * @example $johndoe
1895
+ */
1896
+ cashtag: string;
1897
+ };
1737
1898
  CheckForBanIDByIdentitiesRequestDto: {
1738
1899
  identities: components["schemas"]["BanIdentityDto"][];
1739
1900
  };
@@ -2048,6 +2209,30 @@ export interface components {
2048
2209
  discord_title?: string | null;
2049
2210
  discord_color?: string | null;
2050
2211
  };
2212
+ /** @description Cryptocurrency payment method details */
2213
+ CryptoDetailsDto: {
2214
+ /**
2215
+ * @description The cryptocurrency used
2216
+ * @example BTC
2217
+ */
2218
+ crypto_currency: string;
2219
+ /**
2220
+ * @description The amount in cryptocurrency
2221
+ * @example 0.00150000
2222
+ */
2223
+ crypto_amount: string;
2224
+ /**
2225
+ * @description The total amount paid in cryptocurrency
2226
+ * @example 0.00150000
2227
+ */
2228
+ total_paid: string;
2229
+ /**
2230
+ * Format: int32
2231
+ * @description The number of blockchain confirmations
2232
+ * @example 6
2233
+ */
2234
+ confirmations: number;
2235
+ };
2051
2236
  CustomVariableDto: {
2052
2237
  id: components["schemas"]["FlakeId"];
2053
2238
  store_id: components["schemas"]["FlakeId"];
@@ -2579,6 +2764,29 @@ export interface components {
2579
2764
  updated_at?: string | null;
2580
2765
  updated_by?: components["schemas"]["ActorDto"];
2581
2766
  };
2767
+ /** @description iDEAL payment method details */
2768
+ IdealDetailsDto: {
2769
+ /**
2770
+ * @description The bank identifier
2771
+ * @example abn_amro
2772
+ */
2773
+ bank: string;
2774
+ /**
2775
+ * @description The Bank Identifier Code
2776
+ * @example ABNANL2A
2777
+ */
2778
+ bic: string;
2779
+ /**
2780
+ * @description The last 4 digits of the IBAN
2781
+ * @example 1234
2782
+ */
2783
+ iban_last4?: string | null;
2784
+ /**
2785
+ * @description The payer name
2786
+ * @example John Doe
2787
+ */
2788
+ payer_name?: string | null;
2789
+ };
2582
2790
  /** @description Optional inline product definition for dynamic products.
2583
2791
  * Requires special approval, use `product_id` instead. */
2584
2792
  InlineProductCreateDto: {
@@ -2662,12 +2870,33 @@ export interface components {
2662
2870
  /** @description The IDs of associated custom variables. */
2663
2871
  custom_variable_ids?: components["schemas"]["FlakeId"][] | null;
2664
2872
  };
2873
+ /** @description Klarna payment method details */
2874
+ KlarnaDetailsDto: {
2875
+ /**
2876
+ * @description The country code
2877
+ * @example SE
2878
+ */
2879
+ country?: string | null;
2880
+ /**
2881
+ * @description The Klarna payment method category
2882
+ * @example pay_later
2883
+ */
2884
+ method_category?: string | null;
2885
+ };
2665
2886
  /** @description The last payment decline object. */
2666
2887
  LastPaymentErrorDto: {
2667
2888
  decline_code: components["schemas"]["PaymentDeclineCode"];
2668
2889
  /** @description Human-readable decline reason message. */
2669
2890
  message: string;
2670
2891
  };
2892
+ /** @description Link payment method details */
2893
+ LinkDetailsDto: {
2894
+ /**
2895
+ * @description The email associated with the Link account
2896
+ * @example john.doe@example.com
2897
+ */
2898
+ email: string;
2899
+ };
2671
2900
  /** @description Represents the configuration settings for a coupon applied to marketing features. */
2672
2901
  MarketingCouponConfigurationDto: {
2673
2902
  duration: components["schemas"]["CouponDurationEnum"];
@@ -3007,6 +3236,42 @@ export interface components {
3007
3236
  * @enum {string}
3008
3237
  */
3009
3238
  OrderType: "one_time" | "subscription" | "mixed";
3239
+ /** @description Przelewy24 payment method details */
3240
+ P24DetailsDto: {
3241
+ /**
3242
+ * @description The bank identifier
3243
+ * @example ing
3244
+ */
3245
+ bank: string;
3246
+ /**
3247
+ * @description The payer name
3248
+ * @example Jan Kowalski
3249
+ */
3250
+ payer_name?: string | null;
3251
+ };
3252
+ /** @description Pay by Bank payment method details */
3253
+ PayByBankDetailsDto: {
3254
+ /**
3255
+ * @description The bank name
3256
+ * @example Chase Bank
3257
+ */
3258
+ bank_name?: string | null;
3259
+ /**
3260
+ * @description The Bank Identifier Code
3261
+ * @example CHASUS33
3262
+ */
3263
+ bic?: string | null;
3264
+ /**
3265
+ * @description The country code
3266
+ * @example US
3267
+ */
3268
+ country?: string | null;
3269
+ /**
3270
+ * @description The payer name
3271
+ * @example John Smith
3272
+ */
3273
+ payer_name?: string | null;
3274
+ };
3010
3275
  /** @enum {string} */
3011
3276
  PayNowActorType: "anonymous" | "user" | "customer" | "api_key" | "game_server" | "admin" | "internal" | "platform" | "global_customer";
3012
3277
  /** @description Represents a PayNow error */
@@ -3035,17 +3300,345 @@ export interface components {
3035
3300
  /** @description An array of multiple errors. Only used by some API services. */
3036
3301
  errors?: components["schemas"]["ValidationError"][] | null;
3037
3302
  };
3303
+ /** @description PayPal payment method details */
3304
+ PayPalDetailsDto: {
3305
+ /**
3306
+ * @description The PayPal payer identifier
3307
+ * @example PAYERID123
3308
+ */
3309
+ payer_id: string;
3310
+ /**
3311
+ * @description The PayPal account email
3312
+ * @example john.doe@example.com
3313
+ */
3314
+ payer_email: string;
3315
+ /**
3316
+ * @description The PayPal account holder name
3317
+ * @example John Doe
3318
+ */
3319
+ payer_name: string;
3320
+ /**
3321
+ * @description The country code of the PayPal account
3322
+ * @example US
3323
+ */
3324
+ country: string;
3325
+ /**
3326
+ * @description Indicates if this PayPal account is vaulted
3327
+ * @example true
3328
+ */
3329
+ vault: boolean;
3330
+ /**
3331
+ * @description Indicates if vault approval is pending
3332
+ * @example false
3333
+ */
3334
+ pending_vault_approval?: boolean | null;
3335
+ /**
3336
+ * @description Indicates if this is a standalone setup
3337
+ * @example false
3338
+ */
3339
+ standalone_setup?: boolean | null;
3340
+ };
3341
+ /**
3342
+ * @description Represents chargeback status of a payment
3343
+ * @enum {string}
3344
+ */
3345
+ PaymentChargebackStatusDto: "none" | "pending" | "won" | "lost";
3038
3346
  /**
3039
3347
  * @description A payment decline reason code.
3040
3348
  * @enum {string}
3041
3349
  */
3042
3350
  PaymentDeclineCode: "unknown" | "generic_decline" | "call_issuer" | "authentication_required" | "currency_not_supported" | "duplicate_transaction" | "expired_card" | "fraudulent" | "incorrect_number" | "incorrect_cvc" | "incorrect_pin" | "incorrect_zip" | "insufficient_funds" | "invalid_account" | "invalid_amount" | "invalid_expiry_month" | "invalid_expiry_year" | "issuer_not_available" | "lost_card" | "merchant_blacklist" | "new_account_information_available" | "no_action_taken" | "pickup_card" | "pin_try_exceeded" | "restricted_card" | "stolen_card" | "testmode_decline" | "try_again_later" | "security_violation" | "card_velocity_exceeded" | "do_not_honor" | "processing_error" | "card_not_supported" | "transaction_not_allowed" | "authorization_revoked";
3351
+ /** @description Represents a payment transaction */
3352
+ PaymentDto: {
3353
+ id: components["schemas"]["FlakeId"];
3354
+ store_id: components["schemas"]["FlakeId"];
3355
+ order_id: components["schemas"]["FlakeId"];
3356
+ customer_id: components["schemas"]["FlakeId"];
3357
+ customer: components["schemas"]["CustomerDto"];
3358
+ /** @description The list of refunds associated with this payment */
3359
+ refunds?: components["schemas"]["RefundDto"][] | null;
3360
+ /**
3361
+ * @description The payment gateway provider
3362
+ * @example stripe
3363
+ */
3364
+ gateway: string;
3365
+ /** @description The gateway entity identifier */
3366
+ gateway_entity_identifier: string;
3367
+ /** @description The gateway payment identifier */
3368
+ gateway_id: string;
3369
+ method: components["schemas"]["PaymentMethodDto"];
3370
+ method_id?: components["schemas"]["FlakeId"];
3371
+ status: components["schemas"]["PaymentStatusDto"];
3372
+ /**
3373
+ * @description The currency code used for this payment in the store's currency
3374
+ * @example usd
3375
+ */
3376
+ currency: string;
3377
+ /**
3378
+ * Format: int32
3379
+ * @description The total payment amount in smallest currency unit
3380
+ * @example 10000
3381
+ */
3382
+ amount: number;
3383
+ /**
3384
+ * Format: int32
3385
+ * @description The gateway fee amount in smallest currency unit
3386
+ * @example 320
3387
+ */
3388
+ gateway_fee_amount: number;
3389
+ /**
3390
+ * Format: int32
3391
+ * @description The tax amount in smallest currency unit
3392
+ * @example 850
3393
+ */
3394
+ tax_amount: number;
3395
+ /**
3396
+ * Format: int32
3397
+ * @description The platform fee amount in smallest currency unit
3398
+ * @example 500
3399
+ */
3400
+ platform_fee_amount: number;
3401
+ /**
3402
+ * Format: int32
3403
+ * @description The net amount going to the store in smallest currency unit
3404
+ * @example 8330
3405
+ */
3406
+ store_net_amount: number;
3407
+ /**
3408
+ * @description The currency code used for presentment to the customer
3409
+ * @example eur
3410
+ */
3411
+ presentment_currency: string;
3412
+ /**
3413
+ * Format: int32
3414
+ * @description The amount presented to the customer in smallest currency unit
3415
+ * @example 9500
3416
+ */
3417
+ presentment_amount: number;
3418
+ /**
3419
+ * Format: double
3420
+ * @description The foreign exchange rate used for currency conversion
3421
+ * @example 1.085
3422
+ */
3423
+ fx_rate?: number | null;
3424
+ /**
3425
+ * Format: int32
3426
+ * @description The platform fee rate applied to this payment (in basis points)
3427
+ * @example 500
3428
+ */
3429
+ platform_fee_rate: number;
3430
+ chargeback_status: components["schemas"]["PaymentChargebackStatusDto"];
3431
+ /**
3432
+ * Format: date-time
3433
+ * @description The date and time when the chargeback status was last updated
3434
+ * @example null
3435
+ */
3436
+ chargeback_status_updated_at?: string | null;
3437
+ /** @description The payout split rules for multi-party payments */
3438
+ payout_split_rules?: components["schemas"]["PaymentPayoutSplitRuleDto"][] | null;
3439
+ /** @description The payout split results for multi-party payments */
3440
+ payout_split_results?: components["schemas"]["PaymentPayoutSplitResultDto"][] | null;
3441
+ /**
3442
+ * Format: date-time
3443
+ * @description The date and time when this payment was created
3444
+ * @example 2025-04-01T15:30:45Z
3445
+ */
3446
+ created_at: string;
3447
+ /**
3448
+ * Format: date-time
3449
+ * @description The date and time when this payment entered pending status
3450
+ * @example 2025-04-01T15:30:46Z
3451
+ */
3452
+ pending_at?: string | null;
3453
+ /**
3454
+ * Format: date-time
3455
+ * @description The date and time when this payment was completed
3456
+ * @example 2025-04-01T15:31:12Z
3457
+ */
3458
+ completed_at?: string | null;
3459
+ /**
3460
+ * Format: date-time
3461
+ * @description The date and time when this payment was canceled
3462
+ * @example null
3463
+ */
3464
+ canceled_at?: string | null;
3465
+ /**
3466
+ * Format: date-time
3467
+ * @description The date and time when this payment failed
3468
+ * @example null
3469
+ */
3470
+ failed_at?: string | null;
3471
+ /**
3472
+ * Format: date-time
3473
+ * @description The date and time when this payment was last refunded
3474
+ * @example null
3475
+ */
3476
+ refunded_at?: string | null;
3477
+ /**
3478
+ * Format: date-time
3479
+ * @description The date and time when a chargeback was initiated on this payment
3480
+ * @example null
3481
+ */
3482
+ chargeback_at?: string | null;
3483
+ last_payment_error?: components["schemas"]["LastPaymentErrorDto"];
3484
+ };
3485
+ /** @description Contains detailed information about a payment method.
3486
+ * DISCLAIMER: These fields are not guaranteed to be backwards compatible and may change or be removed without notice. */
3487
+ PaymentMethodDetailsDto: {
3488
+ card?: components["schemas"]["CardDetailsDto"];
3489
+ cashapp?: components["schemas"]["CashAppDetailsDto"];
3490
+ paypal?: components["schemas"]["PayPalDetailsDto"];
3491
+ link?: components["schemas"]["LinkDetailsDto"];
3492
+ crypto?: components["schemas"]["CryptoDetailsDto"];
3493
+ steamskins?: components["schemas"]["SteamSkinsDetailsDto"];
3494
+ ideal?: components["schemas"]["IdealDetailsDto"];
3495
+ p24?: components["schemas"]["P24DetailsDto"];
3496
+ bancontact?: components["schemas"]["BancontactDetailsDto"];
3497
+ klarna?: components["schemas"]["KlarnaDetailsDto"];
3498
+ alipay?: components["schemas"]["AlipayDetailsDto"];
3499
+ pay_by_bank?: components["schemas"]["PayByBankDetailsDto"];
3500
+ pix?: components["schemas"]["PixDetailsDto"];
3501
+ };
3502
+ /** @description Represents a stored payment method */
3503
+ PaymentMethodDto: {
3504
+ id: components["schemas"]["FlakeId"];
3505
+ customer_id: components["schemas"]["FlakeId"];
3506
+ /** @description The payment gateway provider */
3507
+ gateway: string;
3508
+ /** @description The gateway's identifier for this payment method */
3509
+ gateway_id: string;
3510
+ /** @description The gateway's customer identifier */
3511
+ gateway_customer_id: string;
3512
+ /**
3513
+ * @description The gateway-specific type identifier
3514
+ * @example card
3515
+ */
3516
+ gateway_type: string;
3517
+ /**
3518
+ * @description The payment method type
3519
+ * @example card
3520
+ */
3521
+ method_type: string;
3522
+ method_details: components["schemas"]["PaymentMethodDetailsDto"];
3523
+ /**
3524
+ * Format: date-time
3525
+ * @description The date and time when this payment method was created
3526
+ * @example 2025-03-15T10:20:30Z
3527
+ */
3528
+ created_at: string;
3529
+ /** @description The gateway entity identifier */
3530
+ gateway_entity_identifier: string;
3531
+ /**
3532
+ * Format: date-time
3533
+ * @description The date and time when this payment method was last updated
3534
+ * @example 2025-03-20T14:30:00Z
3535
+ */
3536
+ updated_at?: string | null;
3537
+ };
3538
+ /** @description Represents payout split results for multi-party payments */
3539
+ PaymentPayoutSplitResultDto: {
3540
+ user_id: components["schemas"]["FlakeId"];
3541
+ /**
3542
+ * Format: int32
3543
+ * @description The gross amount before fees in smallest currency unit
3544
+ * @example 10000
3545
+ */
3546
+ gross_amount: number;
3547
+ /**
3548
+ * Format: int32
3549
+ * @description The tax amount in smallest currency unit
3550
+ * @example 850
3551
+ */
3552
+ tax_amount: number;
3553
+ /**
3554
+ * Format: int32
3555
+ * @description The gateway fee amount in smallest currency unit
3556
+ * @example 320
3557
+ */
3558
+ gateway_fee_amount: number;
3559
+ /**
3560
+ * Format: int32
3561
+ * @description The platform fee amount in smallest currency unit
3562
+ * @example 500
3563
+ */
3564
+ platform_fee_amount: number;
3565
+ /**
3566
+ * Format: int32
3567
+ * @description The connected platform fee amount in smallest currency unit
3568
+ * @example 100
3569
+ */
3570
+ connected_platform_fee_amount: number;
3571
+ /**
3572
+ * Format: int32
3573
+ * @description The net amount after all fees in smallest currency unit
3574
+ * @example 8230
3575
+ */
3576
+ net_amount: number;
3577
+ line_id: components["schemas"]["FlakeId"];
3578
+ };
3579
+ /** @description Represents payout split rules for a payment line */
3580
+ PaymentPayoutSplitRuleDto: {
3581
+ line_id: components["schemas"]["FlakeId"];
3582
+ /**
3583
+ * Format: int32
3584
+ * @description The total amount of the line item in smallest currency unit
3585
+ * @example 10000
3586
+ */
3587
+ line_amount_total: number;
3588
+ /**
3589
+ * Format: int32
3590
+ * @description The tax amount of the line item in smallest currency unit
3591
+ * @example 850
3592
+ */
3593
+ line_amount_tax: number;
3594
+ /** @description The list of splits defining how the payout should be divided */
3595
+ splits: components["schemas"]["PaymentPayoutSplitRuleSplitDto"][];
3596
+ };
3597
+ /** @description Represents a single split configuration within a payout split rule */
3598
+ PaymentPayoutSplitRuleSplitDto: {
3599
+ user_id: components["schemas"]["FlakeId"];
3600
+ /**
3601
+ * Format: int32
3602
+ * @description The percentage of the line amount this user receives (in basis points, e.g., 5000 = 50%)
3603
+ * @example 5000
3604
+ */
3605
+ percentage?: number | null;
3606
+ /**
3607
+ * Format: int32
3608
+ * @description The platform fee percentage applied to this split (in basis points)
3609
+ * @example 500
3610
+ */
3611
+ platform_fee_percentage: number;
3612
+ };
3613
+ /**
3614
+ * @description Represents payment status
3615
+ * @enum {string}
3616
+ */
3617
+ PaymentStatusDto: "unknown" | "created" | "pending" | "completed" | "canceled" | "failed" | "refunded" | "chargeback" | "refund_failed" | "refund_processing";
3043
3618
  /**
3044
3619
  * Format: period
3045
3620
  * @description ISO 8601 duration format
3046
3621
  * @example P1Y2M3DT4H5M6S
3047
3622
  */
3048
3623
  Period: string;
3624
+ /** @description Pix payment method details */
3625
+ PixDetailsDto: {
3626
+ /**
3627
+ * @description The bank name
3628
+ * @example Banco do Brasil
3629
+ */
3630
+ bank_name?: string | null;
3631
+ /**
3632
+ * @description The bank account number
3633
+ * @example 12345-6
3634
+ */
3635
+ bank_account_number?: string | null;
3636
+ /**
3637
+ * @description The payer name
3638
+ * @example João Silva
3639
+ */
3640
+ payer_name?: string | null;
3641
+ };
3049
3642
  ProductCommandDto: {
3050
3643
  stage: components["schemas"]["ProductCommandStage"];
3051
3644
  /** @description Content of the command. */
@@ -3689,6 +4282,32 @@ export interface components {
3689
4282
  /** @description The URL to the user's Steam avatar image. */
3690
4283
  avatar_url: string;
3691
4284
  };
4285
+ /** @description Steam Skins payment method details */
4286
+ SteamSkinsDetailsDto: {
4287
+ /** @description The list of Steam inventory items used for payment */
4288
+ items: components["schemas"]["SteamSkinsInventoryItemDetailsDto"][];
4289
+ };
4290
+ SteamSkinsInventoryItemDetailsDto: {
4291
+ /** @description The unique identifier of the Steam item */
4292
+ id: string;
4293
+ /**
4294
+ * Format: int32
4295
+ * @description The Steam app ID
4296
+ * @example 730
4297
+ */
4298
+ app_id: number;
4299
+ /**
4300
+ * @description The name of the item
4301
+ * @example AK-47 | Redline
4302
+ */
4303
+ name: string;
4304
+ /**
4305
+ * Format: int32
4306
+ * @description The price of the item in the smallest currency unit
4307
+ * @example 2500
4308
+ */
4309
+ price: number;
4310
+ };
3692
4311
  StorePricingRegionOverrideDto: {
3693
4312
  /** Format: int64 */
3694
4313
  default_price_multiplier?: number | null;
@@ -3716,6 +4335,7 @@ export interface components {
3716
4335
  store_id: components["schemas"]["FlakeId"];
3717
4336
  customer: components["schemas"]["CustomerDto"];
3718
4337
  payment_method_id?: components["schemas"]["FlakeId"];
4338
+ payment_method?: components["schemas"]["PaymentMethodDto"];
3719
4339
  status: components["schemas"]["SubscriptionStatus"];
3720
4340
  coupon_id?: components["schemas"]["FlakeId"];
3721
4341
  /**
@@ -7479,6 +8099,91 @@ export interface operations {
7479
8099
  };
7480
8100
  };
7481
8101
  };
8102
+ Payments_GetPayments: {
8103
+ parameters: {
8104
+ query?: {
8105
+ /** @description The maximum number of items to return in a single request. */
8106
+ limit?: number;
8107
+ /**
8108
+ * @description Returns items after the specified ID.
8109
+ * Used for forward pagination through results.
8110
+ * @example null
8111
+ */
8112
+ after?: components["schemas"]["FlakeId"];
8113
+ /**
8114
+ * @description Returns items before the specified ID.
8115
+ * Used for backward pagination through results.
8116
+ * @example null
8117
+ */
8118
+ before?: components["schemas"]["FlakeId"];
8119
+ /** @description Determines the sort order of returned items.
8120
+ * When true, items are returned in ascending order.
8121
+ * When false, items are returned in descending order. */
8122
+ asc?: boolean;
8123
+ /** @description Filter by payment statuses */
8124
+ status?: components["schemas"]["PaymentStatusDto"][];
8125
+ /** @description Filter by order ID */
8126
+ order_id?: components["schemas"]["FlakeId"];
8127
+ /** @description Filter by customer ID */
8128
+ customer_id?: components["schemas"]["FlakeId"];
8129
+ };
8130
+ header?: never;
8131
+ path?: never;
8132
+ cookie?: never;
8133
+ };
8134
+ requestBody?: never;
8135
+ responses: {
8136
+ /** @description OK */
8137
+ 200: {
8138
+ headers: {
8139
+ [name: string]: unknown;
8140
+ };
8141
+ content: {
8142
+ "application/json": components["schemas"]["PaymentDto"][];
8143
+ };
8144
+ };
8145
+ /** @description Error response */
8146
+ default: {
8147
+ headers: {
8148
+ [name: string]: unknown;
8149
+ };
8150
+ content: {
8151
+ "application/json": components["schemas"]["PayNowError"];
8152
+ };
8153
+ };
8154
+ };
8155
+ };
8156
+ Payments_GetPaymentById: {
8157
+ parameters: {
8158
+ query?: never;
8159
+ header?: never;
8160
+ path: {
8161
+ paymentId: components["schemas"]["FlakeId"];
8162
+ };
8163
+ cookie?: never;
8164
+ };
8165
+ requestBody?: never;
8166
+ responses: {
8167
+ /** @description OK */
8168
+ 200: {
8169
+ headers: {
8170
+ [name: string]: unknown;
8171
+ };
8172
+ content: {
8173
+ "application/json": components["schemas"]["PaymentDto"];
8174
+ };
8175
+ };
8176
+ /** @description Error response */
8177
+ default: {
8178
+ headers: {
8179
+ [name: string]: unknown;
8180
+ };
8181
+ content: {
8182
+ "application/json": components["schemas"]["PayNowError"];
8183
+ };
8184
+ };
8185
+ };
8186
+ };
7482
8187
  Products_GetProducts: {
7483
8188
  parameters: {
7484
8189
  query?: never;
@@ -9125,6 +9830,14 @@ export declare const operationMappings: {
9125
9830
  readonly method: "POST";
9126
9831
  readonly path: "/v1/stores/{storeId}/orders/{orderId}/refund";
9127
9832
  };
9833
+ readonly Payments_GetPayments: {
9834
+ readonly method: "GET";
9835
+ readonly path: "/v1/stores/{storeId}/payments";
9836
+ };
9837
+ readonly Payments_GetPaymentById: {
9838
+ readonly method: "GET";
9839
+ readonly path: "/v1/stores/{storeId}/payments/{paymentId}";
9840
+ };
9128
9841
  readonly Products_GetProducts: {
9129
9842
  readonly method: "GET";
9130
9843
  readonly path: "/v1/stores/{storeId}/products";