Top up wallet

A comprehensive testing strategy is crucial to ensure the successful integration of SmartpayGenie into your application. Here are some key testing types:

Top up by card

Endpoint:

https://api.smartpaygenie.com/wallet/wallet_id/topup

Method:

‘ POST ’

Request parameters

Parameter

amount

card_token

Type

Number

String

Description

Amount to top up

Tokenized card information

Required

Yes

Yes

Request payload

JSON



     { 
        "amount": 800.00, 
        "card_token": 7847757645765, 
     }
    

Response

200 - OK successful response


    
  { 
    "message": "Wallet topped up successfully" 
  } 

  

Note

You may need to implement pagination for large datasets.

Consider adding filtering and sorting options to the endpoint for better flexibility.

Implement appropriate security measures to protect wallet data.

Supports

If you encounter any issues or have questions, please feel free to contact our dedicated support team.

We are committed to providing you with the best possible experience and support.