Skip to content

Commit

Permalink
Add ip address charge parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
phieronymus committed Feb 3, 2025
1 parent a721761 commit 4a22e77
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/resources/Charges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ export interface ChargeCreateParams<T extends Metadata = Metadata> {
redirectId?: string;
};

/**
* IP address override for backend usage in order to identify the user
*/
ipAddress?: string;

/**
* Metadata or stringified JSON object
*/
Expand Down

0 comments on commit 4a22e77

Please sign in to comment.