Create a kypay sell
POST/kypay/sell
Create a kypay sell
Request
- application/json
Body
Sell request
AccountId string
Account Id
Amount integer
Transaction amount in euro cents (10000 = 100€)
IBAN stringrequired
Withdrawal IBAN
PaymentType stringnullablerequired
SEPA Transfer type (SCT|INSTANT PAYMENT)
Responses
- 200
- 401
- 4XX|5XX
The sell transaction details
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
Type string
Possible values: [Purchasing
, Transfer
, Sale
]
Type
Date object
Date of the transaction
oneOf
string
string
Amount integer
Transaction amount in euro cents (10000 = 100€)
FlowCredit stringnullable
Possible values: [C
, F
]
Type of transaction ref
Counterparty stringnullable
Identity of counter party
RefTransaction string
Uniq ref to the transaction
ModalTransac string
Possible values: [10
, 11
, 20
, 21
, 30
]
Terms of the transaction
{
"Type": "Purchasing",
"Date": "2024-02-15T16:52:44.333Z",
"Amount": "10000",
"FlowCredit": "C",
"Counterparty": "4895ae38-a3fa-4ace-bdef-cc31fe5526a0",
"RefTransaction": "o9ikJBpATcWuA375tmcC7tlUBHPAD6CgbJHjkcgX324jeQNsrLg5hjLbTB5M7dTHGyzg4qtqy3Gyiyqh",
"ModalTransac": "10"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
{
"code": "401",
"message": "JWT Token not found"
}
An error occured
- application/json
- Schema
- Example (from schema)
Schema
success boolean
code integer
internal_code integer
message string
{
"success": "false",
"code": "400",
"internal_code": "3001",
"message": "Incorect data"
}
Loading...