---
title: "Payment"
method: POST
path: "/direct-debit/core/v1/debit/payment-host-to-host"
---

# Payment

`POST /direct-debit/core/v1/debit/payment-host-to-host`

## Headers

- `X-TIMESTAMP` string, utc timestamp, required
- `X-SIGNATURE` string, required
- `X-PARTNER-ID` string, required
- `X-EXTERNAL-ID` string, required
- `X-DEVICE-ID` string
- `X-IP-ADDRESS` string
- `Authorization` string, required — Access Token obtained from Get B2B Token API

## Request body

- PaymentRequest
  - `partnerReferenceNo` string, required — invoice number from partner | max: 64 | Mandatory
  - `validUpTo` string — Expired time payment url | format: 2024-07-10T11:57:58+07:00
  - `pointOfInitiation` string — Point of initiation from partner | value: app/pc/mweb | max: 20
  - `urlParam` object, required
    - `url` string, required — URL partner for redirect back from DANA | format: www.merchant.co.id | max: 255 | Mandatory
    - `type` string, required — Pay Return | Value should be always PAY_RETURN | Mandatory
    - `isDeepLink` string, required — Is Merchant use deep link or not | value: Y/N | Mandatory
  - `amount` AmountObject, required
    - `value` string, required — Transaction Amount. Total Amount with 2 decimal, format ISO 4217 | Mandatory | min length: 1 | max length: 16.2
    - `currency` string, required — Currency. | Mandatory | min length: 1 | max length: 3
  - `additionalInfo` object
    - `channel` string, required — Value should be always EMONEY_DANA_SNAP | Mandatory
    - `orderTitle` string — Order title from merchant
    - `supportDeepLinkCheckoutUrl` string — Value 'true' for Jumpapp behaviour, 'false' for webview, false by default

## Response `200`

Successful

- PaymentResponse
  - `responseCode` string, required — Response Code with format HTTP status code + service code + case code. service code and status code refer to: https://developers.doku.com/getting-started-with-doku-api/response-code/http-status-and-case-code#id-3.-e-wallet . | Mandatory | min length: 1 | max length: 7.
  - `responseMessage` string, required — Response Message
  - `webRedirectUrl` string, required — Redirect URL to Merchant's page/platform for customer to input OTP/PIN
  - `partnerReferenceNo` string — Invoice Number from Partner

---

[API](https://skmtc.net/doku/apis/direct-debit-core-system-notify-binding-to-merchant-emoney-o.md) · [All operations](https://skmtc.net/doku/apis/direct-debit-core-system-notify-binding-to-merchant-emoney-o/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/doku/direct-debit-core-system-notify-binding-to-merchant-emoney-o/revisions/7887174f57bc/schema)
