Skip to main content

Payin

NameTypeExample /
Possible values
Description
iduuid"8dc85f2f-1cca-4f20-85fb-dcc16b233c94"The Payin's ID.
tokenstring"COPM"Stablecoin token for this Payin.
amountstring"127000.50"Amount to be collected from the end-user, to be tokenized.
final_urlstring"https://yoursite.com/payin-completed"URL to redirect the end-user to, after the Payin's payment is completed. ID of the Payin will be appended as a query parameter to this URL.
statusstring"PENDING"
"ABORTED"
"IN_PROGRESS"
"FULLFILLED"
Current status of the Payin.
actionobject<Action>Action to be taken by the end-user right after the Payin is created.
paymentobject<Payment>Payment details for the Payin.
recipientobject<Recipient>Recipient (end-user) details for the Payin.
destination_source_iduuid"ee931602-016a-434d-9833-6910d241b8f4"The ID of the Customer's wallet to send the stablecoin tokens to.
finished_atstring
null
2024-08-15T18:35:29.613ZDate when the Payin was finished.
created_atstring2024-08-15T18:35:29.613ZCreation date of this Payin.
updated_atstring2024-08-15T18:35:29.613ZLast update date of this Payin.

action object

For REDIRECT action type:

NameTypeExample /
Possible values
Description
typestring"REDIRECT"Type of action to be taken by the end-user.
redirect_urlstring"https://api.minteo.finance/payins/redirect/8dc85f2f-1cca-4f20-85fb-dcc16b233c94"URL to redirect the end-user to, after the Payin's payment is completed. ID of the Payin will be appended as a query parameter to this URL.

payment object

NameTypeExample /
Possible values
Description
methodstring"PSE"Payment method for the Payin.
bankstring"BANCO_FALABELLA"Bank for the Payin.

recipient object

NameTypeExample /
Possible values
Description
full_namestring"John Doe"Full name of the end-user.
legal_identifier_typestring"CC"Type of legal identifier for the end-user.
legal_identifierstring"1099075610"Legal identifier for the end-user.
country_isostring"CO"Country of the end-user.
emailstring"john@example.com"Email of the end-user.

JSON Example

{
"id": "ffb50d6c-09f1-4f08-9b91-cbce466bed52",
"action": {
"type": "REDIRECT",
"redirect_url": "https://api.minteo.finance/payins/redirect/ffb50d6c-09f1-4f08-9b91-cbce466bed52"
},
"status": "PENDING",
"destination_source_id": "2af83836-43ea-407b-ab4e-9c64ee817b28",
"amount": "127000",
"token": "COPM",
"purpose": "Top-up on behalf of John Doe",
"final_url": "https://yoursite.com/payin-completed",
"payment": {
"method": "PSE",
"bank": "BANCO_FALABELLA"
},
"recipient": {
"full_name": "John Doe",
"legal_identifier_type": "CC",
"legal_identifier": "1099075610",
"country_iso": "CO",
"email": "john@example.com"
}
}