Skip to main content
POST
Add PayPal Credits

Authorizations

api_key
string
header
required

Body

application/json
amount
number<float>
required

The amount of credits (in currency) the user wants to purchase.

Example:

25

currency
string
required

The currency in which the payment will be made.

Example:

"USD"

user_id
string
required

The ID of the user purchasing the credits.

Example:

"user_12345"

Response

PayPal payment link successfully created

The PayPal payment link the user should be redirected to.

Example:

"https://xyz.com/abc?token=123"

status
string

The status of the payment link generation.

Example:

"pending"