DCM Platform Guide
  • ๐ŸŒDCM platform
  • โš™๏ธSpecifics of working with the API
    • ๐Ÿ”Security stack
    • ๐Ÿ”‘Key Generation
    • ๐Ÿ”Data encrypting
    • ๐ŸชƒRetry policy
  • ๐ŸŽจDesign guide
  • ๐Ÿ—‚๏ธDCM platform's artifacts
  • ๐ŸฆBank
    • ๐Ÿ“‹Preparing for integration
    • ๐ŸชE-commerce
      • ๐Ÿ“ฆOrder and payment
      • ๐Ÿ“จPayment message
        • 1๏ธโƒฃValidation
        • 2๏ธโƒฃะกallback 1 โ€œPay-inโ€
        • 3๏ธโƒฃCallback 3 โ€œPay-outโ€
        • 4๏ธโƒฃCallback 4 "Credit callback"
      • ๐ŸŽฏTesting
      • ๐Ÿ–‡๏ธMerchant Onboarding
      • โ›”Error reference guide
    • ๐Ÿ—ƒ๏ธAlias database
      • ๐Ÿ—๏ธAdding alias
      • โ†•๏ธ"ะกallback "Alias updated"
      • โ˜‘๏ธGet alias status
    • ๐Ÿ’ธp2p transfers
      • ๐Ÿ“ฒp2p by phone number
        • โบ๏ธp2p order (to pay)
        • ๐Ÿ”Receiver search
        • ๐Ÿ—‚๏ธGet receiver's data
        • โชCallback "Pay request"
      • ๐Ÿ–‡๏ธp2p by deeplink or QR code
        • โบ๏ธp2p order (to request)
        • Pay request initiation
      • ๐Ÿ“จPayment message
        • 1๏ธโƒฃValidation
        • 2๏ธโƒฃะกallback โ€œPay-inโ€
        • 3๏ธโƒฃCallback "Pay-out"
    • ๐Ÿ’ฒGross settlement
      • 1๏ธโƒฃCallback โ€œGross_Settlementโ€
      • 2๏ธโƒฃGross_settlement_list
      • 3๏ธโƒฃGross_settlement_by_id
      • 4๏ธโƒฃGross_settlement_pay
      • 5๏ธโƒฃGross_settlement_confirm
      • 6๏ธโƒฃGross_settlement_confirm_internal
      • ๐Ÿ“งEmail notification
    • โœ”๏ธReconciliation
  • ๐ŸขMerchant
    • ๐ŸซDCM platform for Merchants
      • ๐Ÿ” Integration options
    • ๐Ÿ‘จโ€๐ŸซPreparing for integration
      • โš™๏ธWorking with the API
      • ๐Ÿ”‘Key Generation
      • ๐Ÿ–ฅ๏ธUpdating interfaces
    • ๐ŸชE-commerce
      • ๐Ÿ“ฆOrder
        • ๐Ÿ’ตPayment through the DCM platform
        • ๐Ÿ’ณPayment on the Merchant's website
        • ๐Ÿ“‹Emitters
        • ๐Ÿ“ฌOrder status
      • 1๏ธโƒฃะกallback "Pay-in"
  • ๐Ÿ“‘Document data
    • ๐Ÿ†•Version history
    • ๐Ÿ“ƒChange log
Powered by GitBook
On this page
  • POST/link creditor
  • Callback "Creditor linked"
  1. Bank
  2. p2p transfers
  3. p2p by phone number

Receiver search

Previousp2p order (to pay)NextGet receiver's data

Methods described on this page:

  • POST /link_creditor

  • Callback "Creditor linked"

If the phone number is not found in the alias database, the DCM platform sends a request to participating banks to search for the recipient associated with this number and obtain the clientโ€™s consent to link it as an alias. The request is sent in JWT format using the POST /link_creditor method.

POST/link creditor

Payload:

{ 
"phone": "+380991234567", 
"account": "UA41003506518366713636167", // optional
"pay_request_guid": "b5a8-e79a45160a8b-d1f54a9f-50d3-4a16" 
}, 

Response 202 OK is provided immediately and indicates that the recipient exists as a client of the bank.

Response 400 "USER_NOT_FOUND" is provided immediately and indicates that the recipient is not found in the bank. After receiving the POST /link_creditor request and confirming the existence of the client (as indicated by the 202 OK response to the DCM platform), the bank must obtain the client's consent to link their phone number and IBAN account for receiving P2P transfers.

If the linking is successful, the bank initiates a callback to the DCM platform with information about the alias creation using the "Creditor linked" callback method.

Callback "Creditor linked"

Endpoint: POST/api/v1/p2p/callbacks Payload (if Success)

{ 
"type": "creditor_linked",
"data": {
"pay_request_guid": "b5a8-e79a45160a8b-d1f54a9f-50d3-4a16" 
"creditor": {
"phone": "+380991234567", 
"account": "UA41003506518366713636167", // optional
"pay_request_guid": "b5a8-e79a45160a8b-d1f54a9f-50d3-4a16" 
    }
  }
}

If the client refuses to link the IBAN account to the phone number (or does not respond to the request), the bank initiates a callback to the DCM platform with the corresponding status.

Payload (if Failure)

{ 
"type": "linking_declined",
"data": {
"pay_request_guid": "b5a8-e79a45160a8b-d1f54a9f-50d3-4a16"
 }
}

๐Ÿฆ
๐Ÿ’ธ
๐Ÿ“ฒ
๐Ÿ”