Skip to content

Conversation

@xabg2
Copy link
Contributor

@xabg2 xabg2 commented Aug 6, 2025

This PR implements a new response for the payment intent EP. This allows us to get the necessary data to allow the user to purchase an invoice (lifetime plans) using crypto currencies.

@xabg2 xabg2 requested review from CandelR and larryrider August 6, 2025 13:35
@xabg2 xabg2 self-assigned this Aug 6, 2025
@xabg2 xabg2 added the enhancement New feature or request label Aug 6, 2025
@xabg2 xabg2 marked this pull request as ready for review August 7, 2025 14:56
Comment on lines 156 to 160
public getAvailableCryptoCurrencies(): Promise<CryptoCurrency[]> {
return this.client.get<CryptoCurrency[]>('/checkout/currencies/crypto', this.headers());
return this.client.get<CryptoCurrency[]>('/checkout/crypto/currencies', this.headers());
}

public verifyCryptoPayment(invoiceId: string): Promise<boolean> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add the corresponding jsdoc

@xabg2 xabg2 requested a review from CandelR August 11, 2025 14:24
@xabg2 xabg2 merged commit d5afd60 into master Aug 12, 2025
2 checks passed
@xabg2 xabg2 deleted the feature/payment-intent-response-for-invoices branch August 12, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants