Transfer

The Infinexia transfer API allows you to send transfers from your account.

Initialize a transfer

Send a transfer from your account.

Request

Header Parameters

Content-Type

required

Type: string

Value: application/json

The type of the request body

App-id

required

Type: string

Value: app-id

Your app identifer

App-key

required

Type: string

Value: app-key

Your app key

Body Parameters

transaction_id

required

Type: string

Value: INF-trans-111

Unique identifier for the transfer transaction

wallet

required

Type: string

Value: EUR

The wallet or currency to be used for the transfer (e.g., EUR, USD)

amount

required

Type: number

Value: 100

The amount to be transferred

partnerId

required

Type: string

Value: INF00000320100

The partner ID to which the transfer is being initialized

Responses

200 OK

400 Bad Request

401 Unauthorized

403 Forbidden

409 Conflict

422 Unprocessable Entity

POST https://api.infinexia.com/payment/transfert

Request samples

curl -X POST https://api.infinexia.com/payment/transfer/initialize \
    -H "Content-Type: application/json" \
    -H "App-id: YOUR_APP_ID" \
    -H "App-key: YOUR_APP_KEY" \
    -d '{
        "transaction_id": "{transaction_id}", // Replace with your dynamic value
        "wallet": "{wallet}", // Replace with your dynamic value
        "amount": {amount}, // Replace with your dynamic value
        "partnerId": "{partnerId}" // Replace with your dynamic value
    }'

Response samples

{
  "message": "Transfert done with success",
  "code": "TRANSFERT_SUCCESS",
  "status": "SUCCESS",
  "transaction":{
    "inf_transaction_id": "ref#30000",// transaction ref on infinexia
    "status": "completed" // "completed" | "pending" | "canceled"
    "wallet": "EUR",
    "amount": 100,
    "partner": "INF00000320100",
    "transaction_id": "INF-trans-111" //YOUR_UNIQUE_TRANSACTION_ID
    }
}

Check status

Check the status of a transfer.

Request

Header Parameters

Content-Type

required

Type: string

Value: application/json

The type of the request body

App-id

required

Type: string

Value: app-id

Your app identifer

App-key

required

Type: string

Value: app-key

Your app key

Body Parameters

transaction_id

required

Type: string

Value: YOUR_UNIQUE_TRANSACTION_ID

Unique identifier for the transaction to check its status

Responses

200 OK

422 Unprocessable Entity

POST https://api.infinexia.com/payment/transfert/check-status

Request samples

curl -X POST "https://api.infinexia.com/payment/transfer/check-status" \
    -H "Content-Type: application/json" \
    -H "App-id: YOUR_APP_ID" \
    -H "App-key: YOUR_APP_KEY" \
    -d '{"transaction_id": "{transaction_id}"}'
    

Response samples

{
  "transaction_id": "YOUR_UNIQUE_TRANSACTION_ID",
  "status": "completed" // "completed" | "pending" | "canceled"
  "transaction":{
    "inf_transaction_id": "ref#30000",// transaction ref on infinexia
    "status": "completed" // "completed" | "pending" | "canceled"
    "wallet": "EUR",
    "amount": 100,
    "partner": "INF00000320100",
    "transaction_id": "INF-trans-111" //YOUR_UNIQUE_TRANSACTION_ID
    }
}