Inicializar una transferencia
curl --request POST \
--url https://api.example.com/v1/transfer/{transferId}/initiate \
--header 'x-api-key: <api-key>'import requests
url = "https://api.example.com/v1/transfer/{transferId}/initiate"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.example.com/v1/transfer/{transferId}/initiate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/transfer/{transferId}/initiate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/transfer/{transferId}/initiate"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/v1/transfer/{transferId}/initiate")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/transfer/{transferId}/initiate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"transferId": "<string>",
"txId": "<string>",
"txRef": "<string>",
"source": "<string>",
"sourceWallet": "<string>",
"sourceSigner": "<string>",
"sourceSignerBalance": "<string>",
"sourceBank": "<string>",
"sourceBankBicfi": "<string>",
"target": "<string>",
"targetWallet": "<string>",
"targetSigner": "<string>",
"targetSignerBalance": "<string>",
"targetBank": "<string>",
"targetBankBicfi": "<string>",
"amount": "<string>",
"symbol": "<string>",
"type": "<string>",
"status": "<string>",
"description": "<string>",
"created": "<string>",
"updated": "<string>",
"domain": "<string>",
"owner": "<string>",
"error": {
"code": 123,
"message": "<string>",
"details": {}
},
"labels": {
"hash": "<string>",
"type": "<string>",
"tx_id": "<string>",
"domain": "<string>",
"status": "<string>",
"tx_ref": "<string>",
"created": "<string>",
"updated": "<string>",
"description": "<string>",
"sourceChannel": "<string>",
"sourceCreated": "<string>",
"transactionPurpose": "<string>",
"numberOfTransactions": "<string>",
"deviceFingerPrint": {
"hash": "<string>",
"ipAddress": "<string>",
"geolocation": "<string>",
"country": "<string>",
"city": "<string>",
"mobileDevice": "<string>",
"SIMCardId": "<string>",
"model": "<string>",
"operator": "<string>"
},
"service": "<string>",
"createdBy": "<string>",
"otp": "<string>",
"tpagaAuthorization": {},
"girosPayment": {},
"girosTransactionInfo": {},
"agent": {},
"customer": {},
"contextTransaction": {},
"createdTransferFlowId": "<string>",
"acceptedTransferFlowId": "<string>",
"rejectedTransferFlowId": "<string>",
"expiresAt": "<string>",
"invoiceId": "<string>",
"invoiceDetail": "<string>",
"contractId": "<string>",
"acceptSms": "<string>"
},
"snapshot": {
"target": {
"wallet": {
"labels": {},
"handle": "<string>",
"signer": [
"<string>"
],
"default": "<string>",
"symbolDefaults": {}
},
"signer": {
"handle": "<string>",
"labels": {}
},
"network": {
"handle": "<string>",
"labels": {},
"default": "<string>"
}
},
"source": {
"wallet": {
"labels": {},
"handle": "<string>",
"signer": [
"<string>"
],
"default": "<string>",
"symbolDefaults": {}
},
"signer": {
"handle": "<string>",
"labels": {}
},
"network": {
"handle": "<string>",
"labels": {},
"default": "<string>"
}
},
"symbol": {
"wallet": {
"labels": {},
"handle": "<string>",
"signer": [
"<string>"
],
"default": "<string>",
"symbolDefaults": {}
},
"signer": {
"handle": "<string>",
"labels": {}
},
"network": {
"handle": "<string>",
"labels": {},
"default": "<string>"
}
}
},
"_auth": {
"owner": "<string>",
"realm": "<string>",
"organization": "<string>",
"domain": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>",
"details": {}
}
}Transfer
Inicializar una transferencia
POST
/
v1
/
transfer
/
{transferId}
/
initiate
Inicializar una transferencia
curl --request POST \
--url https://api.example.com/v1/transfer/{transferId}/initiate \
--header 'x-api-key: <api-key>'import requests
url = "https://api.example.com/v1/transfer/{transferId}/initiate"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.example.com/v1/transfer/{transferId}/initiate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/transfer/{transferId}/initiate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/transfer/{transferId}/initiate"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/v1/transfer/{transferId}/initiate")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/transfer/{transferId}/initiate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"transferId": "<string>",
"txId": "<string>",
"txRef": "<string>",
"source": "<string>",
"sourceWallet": "<string>",
"sourceSigner": "<string>",
"sourceSignerBalance": "<string>",
"sourceBank": "<string>",
"sourceBankBicfi": "<string>",
"target": "<string>",
"targetWallet": "<string>",
"targetSigner": "<string>",
"targetSignerBalance": "<string>",
"targetBank": "<string>",
"targetBankBicfi": "<string>",
"amount": "<string>",
"symbol": "<string>",
"type": "<string>",
"status": "<string>",
"description": "<string>",
"created": "<string>",
"updated": "<string>",
"domain": "<string>",
"owner": "<string>",
"error": {
"code": 123,
"message": "<string>",
"details": {}
},
"labels": {
"hash": "<string>",
"type": "<string>",
"tx_id": "<string>",
"domain": "<string>",
"status": "<string>",
"tx_ref": "<string>",
"created": "<string>",
"updated": "<string>",
"description": "<string>",
"sourceChannel": "<string>",
"sourceCreated": "<string>",
"transactionPurpose": "<string>",
"numberOfTransactions": "<string>",
"deviceFingerPrint": {
"hash": "<string>",
"ipAddress": "<string>",
"geolocation": "<string>",
"country": "<string>",
"city": "<string>",
"mobileDevice": "<string>",
"SIMCardId": "<string>",
"model": "<string>",
"operator": "<string>"
},
"service": "<string>",
"createdBy": "<string>",
"otp": "<string>",
"tpagaAuthorization": {},
"girosPayment": {},
"girosTransactionInfo": {},
"agent": {},
"customer": {},
"contextTransaction": {},
"createdTransferFlowId": "<string>",
"acceptedTransferFlowId": "<string>",
"rejectedTransferFlowId": "<string>",
"expiresAt": "<string>",
"invoiceId": "<string>",
"invoiceDetail": "<string>",
"contractId": "<string>",
"acceptSms": "<string>"
},
"snapshot": {
"target": {
"wallet": {
"labels": {},
"handle": "<string>",
"signer": [
"<string>"
],
"default": "<string>",
"symbolDefaults": {}
},
"signer": {
"handle": "<string>",
"labels": {}
},
"network": {
"handle": "<string>",
"labels": {},
"default": "<string>"
}
},
"source": {
"wallet": {
"labels": {},
"handle": "<string>",
"signer": [
"<string>"
],
"default": "<string>",
"symbolDefaults": {}
},
"signer": {
"handle": "<string>",
"labels": {}
},
"network": {
"handle": "<string>",
"labels": {},
"default": "<string>"
}
},
"symbol": {
"wallet": {
"labels": {},
"handle": "<string>",
"signer": [
"<string>"
],
"default": "<string>",
"symbolDefaults": {}
},
"signer": {
"handle": "<string>",
"labels": {}
},
"network": {
"handle": "<string>",
"labels": {},
"default": "<string>"
}
}
},
"_auth": {
"owner": "<string>",
"realm": "<string>",
"organization": "<string>",
"domain": "<string>"
}
}{
"error": {
"code": 123,
"message": "<string>",
"details": {}
}
}Authorizations
apiKeyAuthapiTokenAuth
Path Parameters
Response
Transfer initiated successfully
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I