- Overview
- Integration
- Recipes
- General Concepts
- Merchant dashboard
- References
- Our Restful API
- E-Commerce acquiring
- Transfers
- Cards and accounts (UAPI)
- Payment transactions using tokens
- Apple Pay
- Google Pay
- E-Commerce acquiring
/р2рTransfer
POST
/p2pTransfer
Request
Header Params
ExtSystemid
string
required
>= 1 characters<= 50 characters
Example:
ECOM_GOLD_BANK
login
string
required
>= 1 characters<= 30 characters
Example:
SECURE_LOGIN
password
string
required
>= 1 characters<= 30 characters
Example:
SECURE_PASSWORD
orderNumber
string
required
store system. It is unique for every store in the system and
is generated on the order registration
>= 1 characters<= 32 characters
Example:
1234
orderId
string
optional
>= 32 characters<= 32 characters
Example:
dbafea6c-3394-4f6a-a0d2-21d3d8e93e42
RegDate
string <date-time>
required
<= 19 characters
Example:
2023-09-12 12:16:00
Match pattern:
YYYY-MM-DD hh:mm:ss
x-uws-clientdn
string
required
<= 500 characters
Example:
GOLDENBANK
Content-Type
string
optional
Example:
application/json;charset=UTF-8
charset
string
optional
Example:
UTF-8
accept
enum<string>
required
Allowed value:
application/json
Body Params application/json
orderData
object
required
amount
number
150000
<= 10000000000000000000
currency
string
optional
>= 3 characters<= 3 characters
externalFee
string
optional
<= 9 characters
description
string
required
<= 512 characters
sender
object
optional
pan
string
optional
<= 20 characters
expiry
string
optional
<= 4 characters
Example:
2412
Match pattern:
YYMM
cvc
string
optional
>= 3 characters<= 3 characters
Example:
123
Match pattern:
^\d+$
senderCardName
string
optional
<= 25 characters
senderAddress
string
optional
<= 35 characters
senderCity
string
optional
<= 25 characters
Example:
Kyiv
senderCountry
string
optional
>= 3 characters<= 3 characters
Example:
804
senderPostalCode
string
optional
<= 8 characters
Example:
M79019
receiver
object
optional
receiverPAN
string
optional
<= 20 characters
receiverName
string
optional
<= 35 characters
pageData
object
required
language
string
required
>= 2 characters<= 2 characters
Example:
uk
returnUrl
string
required
<= 512 characters
failUrl
string
required
<= 512 characters
param
object
optional
paramName
string
optional
Example:
paramValue
browserParams
object
required
javascriptEnabled
string
required
Example:
true
userAgent
string
required
Example:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.3
colorDepth
string
required
<= 3 characters
Example:
24
screenHeight
string
required
screenWidth
string
required
javaEnabled
boolean
required
Default:
true
browserLanguage
string
required
Example:
uk-UA
browserTimeZone
string
required
Example:
Europe/Kiev
browserAcceptHeader
string
required
Example:
*/*
browserIpAddress
string
required
>= 3 characters<= 5 characters
Example:
192.139.102.100
browserTimeZoneOffset
string
required
>= 3 characters<= 5 characters
Example:
-120
fingerprint
string
optional
os
string
optional
osversion
string
optional
mobile
string
optional
screenPrint
string
optional
plugins
string
optional
deviceType
string
optional
device
string
optional
paramsp2p
object
optional
payerName
string
optional
payerAddress
string
optional
payerCity
string
optional
payerCountry
string
optional
payerPostalCode
string
optional
payerState
string
optional
payerDateOfBirth
string
optional
payerPhone
string
optional
payerIdType
string
optional
Possible values:
IDTP01 – Passport
IDTP0010 – Taxpayer ID (ІПН)
IDTP0016 – Company registration number (код ЄДРПОУ)
Example:
{"name": "payerIdType","value": "IDTP0016"}
payerIdNumber
string
optional
varchar (13)
Example:
{"name": "payerIdNumber","value": "88888888"}
payerIdExpiration
string
optional
payerIdCountry
string
optional
recipientAddress
string
optional
recipientCity
string
optional
recipientCountry
string
optional
recipientPostalCode
string
optional
recipientState
string
optional
recipientDateOfBirth
string
optional
recipientPhone
string
optional
recipientIdType
string
optional
recipientIdNumber
string
optional
recipientIdExpiration
string
optional
recipientIdCountry
string
optional
payerAccountNumber
string
optional
businessApplicationIdentifier
string
optional
fundingOrPaymentTransactionTypeIndicator
string
optional
fundingSource
string
optional
recipientName
string
optional
recipientAccountNumber
string
optional
recipientAccountType
string
optional
payerAccountType
string
optional
merchantIdType
string
optional
Possible values:
IDTP01 – Passport
IDTP0010 – Taxpayer ID (ІПН)
IDTP0016 – Company registration number (код ЄДРПОУ)
Example:
{"name":"merchantIdType","value":"IDTP01"}
merchantIdNumber
string
optional
varchar (13)
Example:
{"name":"merchantIdNumber","value":"ABCDXYZ124"}
Example
{
"orderData": {
"amount": 48000,
"currency": 980,
"externalFee": 2000,
"description": "P2P to CHELENTANO ADRIANO"
},
"sender": {
"pan": "51230000000001",
"expiry": "2812",
"cvc": "123",
"senderCardName": "MORANDI GIANNI",
"senderAddress": "Str Mihai Eminescu",
"senderCity": "Rimini",
"senderCountry": "978"
},
"receiver": {
"receiverPAN": "55780000000001",
"receiverName": "BERLINSCHI ALEXANDRU"
},
"pageData": {
"language": "en",
"returnUrl": "https://p2p.ukrcard.com/callback-page-from/a5a414b6-1aef-ee11-bccb-ac162d763a23/a7a414b6-1aef-ee11-bccb-ac162d763a23/8e210423-1aef-ee11-bccb-ac162d763a23",
"failUrl": "https://p2p.ukrcard.com/callback-page-from/a5a414b6-1aef-ee11-bccb-ac162d763a23/a7a414b6-1aef-ee11-bccb-ac162d763a23/8e210423-1aef-ee11-bccb-ac162d763a23"
},
"param": {
"paramName": "tran_type",
"paramValue": "transfer"
},
"paramsp2p": {
"fundingOrPaymentTransactionTypeIndicator": "C07",
"payerName": "MORANDI GIANNI",
"payerAccountType": "03",
"payerAddress": "Str Mihai Eminescu ",
"payerCity": "Rimini",
"payerCountry": "380",
"recipientName": "CHELENTANO ADRIANO",
"recipientAccountType": "03"
},
"browserParams": {
"userAgent": "Mozilla/5.0 (Linux; Android 13; 2201117TY Build/TKQ1.221114.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/122.0.6261.120 Mobile Safari/537.36",
"colorDepth": 24,
"screenHeight": 873,
"screenWidth": 393,
"javaEnabled": false,
"browserLanguage": "it-IT",
"browserTimeZone": "Europe/Rome",
"browserTimeZoneOffset": -60,
"browserAcceptHeader": "application/json, text/plain, */*",
"browserIpAddress": "212.0.113.154",
"javascriptEnabled": true
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mock.apidog.com/m1/537337-0-default/p2pTransfer' \
--header 'ExtSystemid: ECOM_GOLD_BANK' \
--header 'login: SECURE_LOGIN' \
--header 'password: SECURE_PASSWORD' \
--header 'orderNumber: 1234' \
--header 'orderId: dbafea6c-3394-4f6a-a0d2-21d3d8e93e42' \
--header 'RegDate: 2023-09-12 12:16:00 ' \
--header 'x-uws-clientdn: GOLDENBANK' \
--header 'charset;' \
--header 'accept;' \
--header 'Content-Type: application/json' \
--data-raw '{
"orderData":{
"amount":48000,
"currency":980,
"externalFee":2000,
"description":"P2P to CHELENTANO ADRIANO"
},
"sender":{
"pan":"51230000000001",
"expiry":"2812",
"cvc":"123",
"senderCardName":"MORANDI GIANNI",
"senderAddress":"Str Mihai Eminescu",
"senderCity":"Rimini",
"senderCountry":"978"
},
"receiver":{
"receiverPAN":"55780000000001",
"receiverName":"BERLINSCHI ALEXANDRU"
},
"pageData":{
"language":"en",
"returnUrl":"https://p2p.ukrcard.com/callback-page-from/a5a414b6-1aef-ee11-bccb-ac162d763a23/a7a414b6-1aef-ee11-bccb-ac162d763a23/8e210423-1aef-ee11-bccb-ac162d763a23",
"failUrl":"https://p2p.ukrcard.com/callback-page-from/a5a414b6-1aef-ee11-bccb-ac162d763a23/a7a414b6-1aef-ee11-bccb-ac162d763a23/8e210423-1aef-ee11-bccb-ac162d763a23"
},
"param":{
"paramName":"tran_type",
"paramValue":"transfer"
},
"paramsp2p":{
"fundingOrPaymentTransactionTypeIndicator":"C07",
"payerName":"MORANDI GIANNI",
"payerAccountType":"03",
"payerAddress":"Str Mihai Eminescu ",
"payerCity":"Rimini",
"payerCountry":"380",
"recipientName":"CHELENTANO ADRIANO",
"recipientAccountType":"03"
},
"browserParams":{
"userAgent":"Mozilla/5.0 (Linux; Android 13; 2201117TY Build/TKQ1.221114.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/122.0.6261.120 Mobile Safari/537.36",
"colorDepth":24,
"screenHeight":873,
"screenWidth":393,
"javaEnabled":false,
"browserLanguage":"it-IT",
"browserTimeZone":"Europe/Rome",
"browserTimeZoneOffset":-60,
"browserAcceptHeader":"application/json, text/plain, */*",
"browserIpAddress":"212.0.113.154",
"javascriptEnabled":true
}
}'
Responses
🟢200OK
application/json
Body
orderParam
object
required
orderStatus
integer
required
orderId
string
required
orderVerifyFlag
integer
required
orderAuthParam
object
required
fee
null
required
auth3DData
object
required
paReq
null
required
acsurl
string
required
creq
string
required
Example
{
"orderParam": {
"orderStatus": 0,
"orderId": "677a1413-e59d-44d6-9a28-d2bc7208c27a",
"orderVerifyFlag": 0,
"orderAuthParam": {}
},
"fee": null,
"auth3DData": {
"paReq": null,
"acsurl": "https://acs.alfabank.kiev.ua/acs/api/3ds2/creqbrw",
"creq": "eyJ0aHJlZURTU2VydmVyVHJhbnNJRCI6ImQ1NjVkN2IwLTc5MzMtNDQ3Yi1hMTY4LWFhYjI4OTBhODUzMiIsImFjc1RyYW5zSUQiOiI5MmNkMDdkNy0xZWRmLTRlNGEtOTM4Ny1iNzNlOTQ1YWMwNTEiLCJjaGFsbGVuZ2VXaW5kb3dTaXplIjoiMDQiLCJtZXNzYWdlVHlwZSI6IkNSZXEiLCJtZXNzYWdlVmVyc2lvbiI6IjIuMS4wIn0="
}
}
Modified at 2025-02-25 13:36:38