Skip to main content
POST
/
payments
/
github
/
pay
{
  "code": 200,
  "msg": "<string>",
  "data": {
    "txn_id": 1751194593304,
    "amount": 1,
    "receipt": "https://snack.money/transaction/1751194593304"
  }
}

Body

application/json
amount
number
required
Required range: 0.01 <= x <= 10
Example:

1

currency
enum<string>
required
Available options:
USDC
Example:

"USDC"

receiver
string
required
Minimum length: 1
Example:

"snackmoney"

description
string | null
Example:

"Description about the payment"

transaction_hash
string | null
Example:

"Transaction Hash"

meta
object

Response

Success

code
enum<number>
required
Available options:
200
msg
string
required
data
object
required