Skip to main content
POST
/
donate
/
pay
cURL
curl --request POST \
  --url https://api.vaultcord.com/donate/pay \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cost": 500,
  "userIp": "131.247.47.171",
  "metadata": {
    "foo": "bar",
    "any_random_value": "557edcdb-163d-4f7c-bb3b-ca65f190f330"
  },
  "success_url": "https://example.com/thank-you",
  "failure_url": "https://cucucovers.com/products/money-y-u-no-have",
  "email": "[email protected]",
  "userid": "720820224877789204",
  "userFingerprint": "1a5423084a51bd2b47fe3aedde108b0c"
}
'
{
  "success": true,
  "url": "https://nelson-cybersecurity-llc.myhelcim.com/hosted/?token=14afb0b2d4b9d92ea69bb3",
  "tier_cached": true,
  "reference": "d9c0aa46d08946718b1d3055f502333a",
  "created_at": 1768362879,
  "timestamp": "2026-01-14T03:54:39.000Z",
  "userEmail": "[email protected]",
  "userIp": "131.247.47.171",
  "userFingerprint": "1a5423084a51bd2b47fe3aedde108b0c",
  "metadata": {
    "foo": "bar",
    "any_random_value": "557edcdb-163d-4f7c-bb3b-ca65f190f330"
  },
  "success_url": "https://example.com/thank-you",
  "failure_url": "https://cucucovers.com/products/money-y-u-no-have"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Payment details, we will save these in our system and forward to your webhook.

cost
integer
required

Payment cost in the number of cents (USD currency)

Example:

500

userIp
string
required

IP Address of the buyer

Example:

"131.247.47.171"

metadata
object

Key-value pairs that get saved in VaultCord and forwarded to your webhook. Store things like account ID, order numbers, etc.

Example:
{
"foo": "bar",
"any_random_value": "557edcdb-163d-4f7c-bb3b-ca65f190f330"
}
success_url
string

Redirect the buyer to this URL after successful payment

Example:

"https://example.com/thank-you"

failure_url
string

Redirect the buyer to this URL if the credit card gets declined or rejected for fraudulent use

Example:

"https://cucucovers.com/products/money-y-u-no-have"

email
string

(Optional) Email address of the customer, for reference purposes

userid
string

(Optional) Discord user ID of the buyer, for reference purposes

Example:

"720820224877789204"

userFingerprint
string

(Optional) Browser fingerprint, for reference purposes

Example:

"1a5423084a51bd2b47fe3aedde108b0c"

Response

Successfully created checkout URL, redirect the customer to the below link.

success
boolean
Example:

true

url
string
Example:

"https://nelson-cybersecurity-llc.myhelcim.com/hosted/?token=14afb0b2d4b9d92ea69bb3"

tier_cached
boolean
Example:

true

reference
string

This will be sent from our rest API webhook, in case you would like to save for later linking requests together.

Example:

"d9c0aa46d08946718b1d3055f502333a"

created_at
integer
Example:

1768362879

timestamp
string
Example:

"2026-01-14T03:54:39.000Z"

userEmail
string
userIp
string
Example:

"131.247.47.171"

userFingerprint
string
Example:

"1a5423084a51bd2b47fe3aedde108b0c"

metadata
object

Key-value pairs that get saved in VaultCord and forwarded to your webhook. Store things like account ID, order numbers, etc.

Example:
{
"foo": "bar",
"any_random_value": "557edcdb-163d-4f7c-bb3b-ca65f190f330"
}
success_url
string

Redirect the buyer to this URL after successful payment

Example:

"https://example.com/thank-you"

failure_url
string

Redirect the buyer to this URL if the credit card gets declined or rejected for fraudulent use

Example:

"https://cucucovers.com/products/money-y-u-no-have"