Payin Object
A Payin represents a fiat-to-stablecoin collection from an end-user.
{ "id": "ffb50d6c-09f1-4f08-9b91-cbce466bed52", "created_at": "2024-08-15T18:35:29.613Z", "updated_at": "2024-08-15T18:35:29.613Z", "finished_at": null, "customer_id": "2af83836-43ea-407b-ab4e-9c64ee817b28", "action": { "type": "REDIRECT", "redirect_url": "https://api.minteo.finance/v1/payins/redirect/ffb50d6c-09f1-4f08-9b91-cbce466bed52" }, "status": "PENDING", "status_code": "PAYIN_CREATED", "destination_wallet_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" }, "third_party": { "full_name": "John Doe", "legal_identifier_type": "CC", "legal_identifier": "1099075610", "country_iso": "CO", "email": "john@example.com", "phone_number": "3001234567" }, "public_data": { "destination_wallet": { "chain": "POLYGON", "address": "0x1234567891234567890123456789012345678901" } }, "activities": [ { "type": "PAYIN_CREATED", "status": "SUCCEEDED", "last_update_at": "2024-08-15T18:35:29.613Z" } ]}Attributes
iduuidThe Payin's ID.
tokenstringStablecoin token for this Payin.
purposestringPurpose of the Payin.
amountstringAmount to be collected from the end-user, to be tokenized.
Minimum amount for COPM: 10,000 COP.
final_urlstringURL 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.
statusstringCurrent status of the Payin: PENDING, ABORTED, IN_PROGRESS, or FULFILLED.
actionobjectAction to be taken by the end-user right after the Payin is created.
paymentobjectPayment details for the Payin.
third_partyobjectThird Party (end-user) details for the Payin.
destination_wallet_iduuidThe ID of the Customer's wallet to send the stablecoin tokens to.
customer_iduuidThe ID of the Customer who created the Payin.
finished_atstringnullableDate when the Payin was finished.
created_atstringCreation date of this Payin.
updated_atstringLast update date of this Payin.
activitiesarrayActivities related to the Payin. Each has type (Status Code), status (PENDING, SUCCEEDED, FAILED), and last_update_at.
public_dataJSONnullablePublic data associated with the payin.
status_codestringnullableStatus code of this payin regarding the status. See Status Codes below.
Status Codes
PAYIN_CREATEDAWAIT_THIRD_PARTY_KYCAWAIT_INIT_PAYINAWAIT_GATEWAY_CONFIRM_PAYINGATEWAY_CONFIRM_PAYINAWAIT_BANK_CONFIRM_PAYINAWAIT_TOKENIZATIONAWAIT_TRANSFER_TOKENSCANCELEDPAYMENT_FAILEDKYC_REJECTEDEXPIRED