Add wallet

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

Create a wallet

Endpoint:

https://api.smartpaygenie.com/wallet

Method:

‘ POST ’

Request parameters

Parameter

currency

balance

metadata

Type

String

Number

String

Description

Supported currency

Initial balance of the wallet

Additional wallet metadata (optional)

Required

Yes

Optional

No

Note

Currency must be supported by SmartpayGenie. Check our currency section to see our supported list.

Request payload

JSON


    {

    "currency": "USD", 
    "balance": 100.00, 
    "metadata": { 
       "description": "Main wallet" 
        }  
    }
  

Response

200 - OK successful response


    { 
     "id": "wallet_id", 
     "currency": "USD", 
     "balance": 100.00, 
     "metadata": { 
         "description": "Main wallet" 
       }, 
     "created_at": "2023-11-22T13:37:20Z" 
    }
  

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.