Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Remove overflow
  • Loading branch information
Uchencho authored Sep 24, 2023
1 parent 45700b2 commit 091788d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,16 @@ func main() {
service := pawapay.NewService(cfg)

amt := pawapay.Amount{Currency: "GHS", Value: "500"}
description := "sending money to all my children" // this will be truncated to the first 22 characters
description := "sending money to all my children" // will be truncated to the first 22 char
pn := pawapay.PhoneNumber{CountryCode: "233", Number: "704584739348"}

allCorrespondentMappings, err := pawapay.GetAllCorrespondents()
if err != nil {
log.Fatal(err)
}

// each mapping, think country, have a number of correspondents, pick the one you are trying to send money to.
// each mapping, think country, have a number of correspondents, pick the one you are
// trying to send money to.
// Ideally you will take this as input and map to the correspondent of your choice
correspondent := allCorrespondentMappings[0].Correspondents[0]
req := pawapay.PayoutRequest{
Expand Down

0 comments on commit 091788d

Please sign in to comment.