Create payment request
POST/kypay/transaction/payment/new
Create payment request
Request
- application/json
Body
Sell request
AccountId string
Account Id
Amount integer
Amount in euro cents (10000 = 100€)
ClientIP string
Client IP
Description string
Description
ReturnUrl string
Return Url
Responses
- 200
- 401
- 4XX|5XX
Transaction details
- application/json
- Schema
- Example (from schema)
Schema
PaymentUrl string
Payment URL
RefTransaction string
Uniq ref to the futur transaction
{
"PaymentUrl": "https://pay.olky.eu/123456",
"RefTransaction": "1234-0123456789-123-12345678"
}
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...