Create MEP transfer
Initiates a USD transfer of MEP funds from a client account to an external bank account.
POST
/v1/operations/usd-mep/transfersRequest
Headers
| Field | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Access token in Bearer ACCESS_TOKEN format |
Content-Type | string | Yes | Must be application/json |
Not applicable: Path Parameters, Query Parameters.
Body
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Client-generated idempotency ID for the transfer. |
account_id | string | Yes | Client account number the funds are transferred from. |
amount | number | Yes | Amount to transfer, in USD. |
cbu | string | Yes | Destination CBU (Clave Bancaria Uniforme). |
cuit | string | Yes | CUIT of the destination account holder. |
reference | string | Yes | Free-text reference/description for the transfer. |
bank_account_type_id | integer | Yes | Type of the destination bank account. Possible values: 1 (Caja de Ahorro), 2 (Cuenta Corriente). |
Response
2XX Success
| Field | Type | Description |
|---|---|---|
id | string | Client-generated idempotency ID of the initiated transfer. |
status | string | Current status of the transfer. Possible values: SUCCESS, FAILED, PENDING_VERIFICATION, ERROR, WAITING_FOR_BALANCE, READY_TO_TRANSFER. |
message | string | Human-readable message describing the result of the initiation. |
Error Codes
| Status | Description |
|---|---|
400 | Bad Request — invalid or missing parameters |
401 | Unauthorized — invalid or missing access token |
403 | Forbidden — the token does not have permission to access this resource |
500 | Internal Server Error |
Error structure:
{
"code": "BAD_REQUEST",
"description": "Invalid request parameters"
}
Code Example
- cURL
- JavaScript
- Python
- Node.js
curl -X POST https://b2b.allaria.dev/v1/operations/usd-mep/transfers \
-H "Authorization: Bearer ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"id": "7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d",
"account_id": "12345",
"amount": 1000.00,
"cbu": "0000003100000000000001",
"cuit": "20345678901",
"reference": "Retiro dolar MEP",
"bank_account_type_id": 1
}'
const response = await fetch('https://b2b.allaria.dev/v1/operations/usd-mep/transfers', {
method: 'POST',
headers: {
'Authorization': 'Bearer ACCESS_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
id: '7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d',
account_id: '12345',
amount: 1000.00,
cbu: '0000003100000000000001',
cuit: '20345678901',
reference: 'Retiro dolar MEP',
bank_account_type_id: 1
})
});
const data = await response.json();
console.log(data);
import requests
response = requests.post(
'https://b2b.allaria.dev/v1/operations/usd-mep/transfers',
headers={
'Authorization': 'Bearer ACCESS_TOKEN',
'Content-Type': 'application/json'
},
json={
'id': '7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d',
'account_id': '12345',
'amount': 1000.00,
'cbu': '0000003100000000000001',
'cuit': '20345678901',
'reference': 'Retiro dolar MEP',
'bank_account_type_id': 1
}
)
data = response.json()
print(data)
const axios = require('axios');
const response = await axios.post(
'https://b2b.allaria.dev/v1/operations/usd-mep/transfers',
{
id: '7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d',
account_id: '12345',
amount: 1000.00,
cbu: '0000003100000000000001',
cuit: '20345678901',
reference: 'Retiro dolar MEP',
bank_account_type_id: 1
},
{
headers: {
Authorization: 'Bearer ACCESS_TOKEN',
'Content-Type': 'application/json'
}
}
);
console.log(response.data);
2XX Success
{
"id": "7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d",
"status": "READY_TO_TRANSFER",
"message": "Transfer initiated successfully"
}