Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Conversation

@haruncurak
Copy link

@haruncurak haruncurak commented Aug 16, 2023

/claim #2

Extended previously-instated Jest testing framework to cover all API endpoints, with 47 tests in total across 23 test suites.

Endpoints tested:

Wallet

GET: Get Wallet Details

Charges

POST: Create Charge
GET: Get Charge Details

Static Charges

POST: Create Static Charge
PATCH: Update Static Charge
GET: Get Static Charge Details

Withdrawal Requests

POST: Create Withdrawal Request
GET: Get Withdrawal Request Details

Payments

POST: Pay Invoice
GET: Get Payment Details

Lightning Address

POST: Send Payment to Lightning Address
POST: Fetch Charge from Lightning Address
GET: Validate Lightning Address

Gamertag

POST: Send Payment to Gamertag
GET: Fetch Gamertag Transaction Details By ID
GET: Fetch User ID By Gamertag
GET: Fetch Gamertag By User ID
POST: Fetch Charge from Gamertag

Utilities

GET: Is Supported Region
GET: API Production IPs
GET: BTC USD Exchange Rate

Log in with ZBD (OAuth2)

GET: Authorization
POST: Fetch Access Token
POST: Refresh Token
GET: Fetch User Data
GET: Fetch User Wallet Data

Keysend

POST: Send Keysend Payment

Internal Transfers

POST: Initiate Internal Transfer

@andrerfneves andrerfneves changed the base branch from main to feature/updates September 28, 2023 01:19
@andrerfneves andrerfneves merged commit e201fd1 into zbdpay:feature/updates Sep 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants