Skip to content

Commit

Permalink
fix: express request tests
Browse files Browse the repository at this point in the history
  • Loading branch information
itsyaasir committed Jan 28, 2024
1 parent 6d81444 commit 33641a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/client/express_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ async fn main() -> Result<(), Box<dyn std::error::Error>>{
.business_short_code("174379")
.phone_number("254708374149")
.party_a("600584")
.party_b("600000")
.party_b("174379")
.amount(500)
.try_callback_url("https://test.example.com/api")?
.account_ref("Test")
.transaction_type(mpesa::CommandId::CustomerPayBillOnline) // Optional, defaults to `CommandId::CustomerPayBillOnline`
.transaction_type(crate::CommandId::CustomerPayBillOnline) // Optional, defaults to `CommandId::CustomerPayBillOnline`
.transaction_desc("Description") // Optional, defaults to "None"
.build()?
.send()
Expand Down

0 comments on commit 33641a8

Please sign in to comment.