Charge
Create Charge
Create a new charge
POST
https://api.criptan.com/business/charge
To request a cryptocurrency payment, you create a charge. A charge will expire after a waiting period (payment window) if no payment has been detected. Charges are identified by a unique code.
Headers
Authorization*
String
API key
Request Body
currency*
string
Fiat currency identifier (e.g: 'EUR')
amount*
integer
Amount charged in fiat currency
dscription*
string
Description of the payment
continueUrl
string
URL that the user will be redirected to if the payment is successful
cancelUrl
string
URL that the user will be redirected to if the payment fail
products*
array of objects
An array of JSON object that contains information about what you are charging the user
metadata
string
A strinfified JSON object that contains any metadata you want to include about your order
ttl
integer
The number of minutes your user has to pay the charge. Minimum: 5 minutes, Maximum: 60 minutes
client
object
Additional client data. This is required if the merchant needs to pass a KYC of the customer.
client.fullName*
string
Full name of the client, separated by spaces
client.dateOfBirth*
string
ISO8601 string representing the date of birth
client.address*
string
Full address of the client
client.needsAdditionalClearance*
boolean
If the client needs additional verification (operating on >10k€)
client.document.id*
string
The ID of the client
client.document.type*
string
The type of the ID of the customer, either id
(a national document) or P
(a passport)
metadata.concept*
string
This is only required in case of a client who is a PFP who needs to send bank transactions with a specific concept
List of charges
Get all charges from a business account
GET
https://api.criptan.com/business/charge
Headers
Authorization*
string
Api key
Get Charge
Get charge details
GET
https://api.criptan.com/business/charge/:id
Path Parameters
id*
string
charge id
Headers
Authorization*
String
Api key
Last updated