Create Credit Wallet Transaction (Limited Access)

Create credit wallet transaction on behalf of the user. This is secondary wallet which should be used for giftcards, return etc. The default mapping is 1 credit = $1. This API can be called only with a write access api key, so call it only from your backend. DO NOT EXPOSE THE WRITE ACCESS API KEY IN A BROWSER OR APP

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

(One of leadid, customer_id is required) (This needs to be leads id value)

string

(One of lead_id, customer_id is required) (Minimum length is 8) (Maximum length is 128) (This needs to be leads customer_id value)

string
required

(Required) (This needs to be creditwallettransaction title)

string

(This needs to be creditwallettransaction description)

number
required

(Required) (This needs to be the credit amount, 1 credit = $1)

string

(Maximum length is 64) (Your own reference for this transaction, ex. your order id) (Acts as an idempotency key, if a transaction with the same hash already exists nothing is created and the existing transaction is returned with success false) (Can later be used to filter transactions)

string
enum
required

(Required) (This needs to be creditwallettransaction operation value) (This can only be one of cr,dr) (cr credits the credit wallet, dr debits the credit wallet)

Allowed:
Headers
string
enum
required

(Required) (This can only be one of mobile,web) (web for browsers and servers, mobile for native apps)

Allowed:
string
required

(Required) (This needs to be your apikey)

string
required

(Required) (This needs to be your workspaceid)

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json