SpendBundle
SpendBundle
/spends
GET
/spends/:id
DELETE
/fees
POST
/singleton
POST
/payment/pay-per-spend
GET
/payment/token
GET
/limits
GET
/payment/token
GET
/payment/token
Run in Apidog
Run in Apidog
Exchange a payment code for an API key
Request
Query Params
Generate Code
code
string
required
Payment verification code
Header Params
Generate Code
x-api-key
string
required
API key for authentication
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request
Request Example
Shell
JavaScript
Java
Swift
cURL
cURL-Windows
Httpie
wget
PowerShell
curl
--location
--request
GET
'/payment/token?code'
\
--header
'x-api-key;'
Responses
🟢
200
OK
application/json
Returns API key
Body
Generate Code
apiKey
string
optional
Example
{
"apiKey"
:
"string"
}
🟠
400
Bad Request
🟠
401
Unauthorized
Modified at
2025-03-26 11:47:19
Previous
/payment/pay-per-spend
Next
/limits