BNPL API
Redirect URLsFAQ
BNPL API
Redirect URLsFAQ
milpay doc
  • Back to home
  • One Click V2 (BETA)
    • Available By Contact Info
      GET
    • Login
      POST
    • Complete Login
      POST
    • Available By Customer API Key
      GET
    • Refresh
      POST
    • Calculation
      POST
    • Create Application
      POST
    • Signing
      POST
    • Approve
      POST
  • Shipping Mode
    • List Shipping Modes
      GET
    • Get Shipping Mode
      GET
    • Add Shipping Mode
      POST
    • Edit Shipping Mode
      PATCH
    • Delete Shipping Mode
      DELETE
  • Shipping Address
    • List Addresses
      GET
    • Add Address
      PUT
  • In Store Pickup
    • List In Store Pick Up Points
      GET
    • Get In Store Pick Up Point by ID
      GET
    • Add In Store Pick Up Point
      POST
    • Edit In Store Pick Up Point Copy
      PATCH
    • Delete In Store Pick Up Point Copy Copy
      DELETE

Calculation

Developing
STAGING Gateway
https://gateway-staging.instacash.hu
STAGING Gateway
https://gateway-staging.instacash.hu
POST
https://gateway-staging.instacash.hu
/bnpl/external/one-click/v2/calculation
BETA

Request

Authorization
API Key
Add parameter in header
X-Api-Key
Example:
X-Api-Key: ********************
API Key
Add parameter in header
C-Api-Key
Example:
C-Api-Key: ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

🟠400Bad Reqest
🟠422Unprocessable Entity
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gateway-staging.instacash.hu/bnpl/external/one-click/v2/calculation' \
--header 'X-Api-Key: <api-key>' \
--header 'C-Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "offerId": 0,
    "totalAmount": 1,
    "shippingModePublicId": "string"
}'
Response Response Example
200 - Example 1
{
    "calculationResponse": {
        "payments": [
            {
                "seq": 0,
                "dueDate": "2019-08-24",
                "sum": 1,
                "fee": 0
            }
        ],
        "total": 1,
        "fee": 0,
        "rate": 0,
        "downPayment": 0,
        "downPaymentTotal": 0,
        "thm": 0,
        "currencyIso": "string"
    },
    "bankCard": {
        "MaskedPan": "string",
        "BankCardType": "Unknown",
        "ValidThruYear": "string",
        "ValidThruMonth": "string"
    },
    "lastShippingAddress": {
        "country": "st",
        "city": "string",
        "region": "st",
        "zip": "string",
        "street": "string",
        "street2": "string",
        "street3": "string",
        "fullName": "string"
    }
}
Previous
Refresh
Next
Create Application
Built with