Money transfer – to 3rd Party IBAN

Check Internal Customer Account Existence #

Endpoint

URL

https://crm-api-test.10npay.com/api/v1/IndividualPayment/{iban}/is-internal-customer-account


Method: GET

Full URL Example

https://crm-api-test.10npay.com/api/v1/IndividualPayment/BG36TEPJ40131000500002/is-internal-customer-account

Request

Path Parameters

  • iban: The International Bank Account Number (IBAN) to check for internal customer account existence.

Headers

  • accept: text/plain

  • Authorization: Bearer {token}

Curl Example

curl -X 'GET' \ 'https://crm-api-test.10npay.com/api/v1/IndividualPayment/BG36TEPJ40131000500002/is-internal-customer-account' \ -H 'accept: text/plain' \ -H 'Authorization: Bearer {Token}'

Replace {token} with your actual Bearer token.

Response #
200 Success #

A successful response returns a string indicating whether the internal customer account exists or not.

Example Response

400 Bad Request #

A bad request response returns a JSON object detailing the error.

Response Body

Field

Type

Description

type

string

The type of error.

title

string

The title of the error.

status

number

The HTTP status code.

detail

string

A detailed description of the error.

instance

string

The instance of the error.

additionalProp1

string

Additional properties for more information.

additionalProp2

string

Additional properties for more information.

additionalProp3

string

Additional properties for more information.

Example Response

{
	"type": "string",
	"title": "string",
	"status": 400,
	"detail": "string",
	"instance": "string",
	"additionalProp1": "string",
	"additionalProp2": "string",
	"additionalProp3": "string"
}

404 Not Found #

A not found response returns a JSON object indicating that the specified resource could not be found.

Response Body

Field

Type

Description

type

string

The type of error.

title

string

The title of the error.

status

number

The HTTP status code.

detail

string

A detailed description of the error.

instance

string

The instance of the error.

additionalProp1

string

Additional properties for more information.

additionalProp2

string

Additional properties for more information.

additionalProp3

string

Additional properties for more information.

Example Response

{
	"type": "string",
	"title": "string",
	"status": 404,
	"detail": "string",
	"instance": "string",
	"additionalProp1": "string",
	"additionalProp2": "string",
	"additionalProp3": "string"
}

Snippet #

API Properties
Header parameters
Result of the call

Initiate Money Transfer to 3rd Party IBAN #

Endpoint

URL

https://crm-api-test.10npay.com/api/v1/IndividualPayment/{individualId}/money-transfer-to-3rd-party-iban

 

Method: POST

Request #

Headers

  • accept: text/plain

  • Authorization: Bearer {token}

  • Content-Type: application/json-patch+json

Request Body

The request body should be a JSON object with the following properties:

Field

Type

Description

sourceCustomerAccount

string

The source customer’s account number.

beneficiaryCustomerBIC

string

The BIC of the beneficiary’s bank.

beneficiaryCustomerIBAN

string

The IBAN of the beneficiary’s account.

beneficiaryCustomerName

string

The name of the beneficiary customer.

amount

number

The amount of money to transfer.

paymentNotes

string

Notes regarding the payment.

Example Request Body

{
	"sourceCustomerAccount": "BG36TEPJ40131000500002",
	"beneficiaryCustomerAccount": "BG26BPBI79421095696001",
	"beneficiaryCustomerName": "Ivaylo Petkov",
	"amount": 0.22,
	"notes": "string"
}

Curl Example

curl -X 'POST' \
  'https://crm-api-test.10npay.com/api/v1/IndividualPayment/740/withdrawal-to-3rd-party-iban' \
  -H 'accept: text/plain' \
  -H 'Authorization: Bearer {Token}' \
  -H 'Content-Type: application/json-patch+json' \
  -d '{
  "sourceCustomerAccount": "BG36TEPJ40131000500002",
  "beneficiaryCustomerAccount": "BG26BPBI79421095696001",
  "beneficiaryCustomerName": "Ivaylo Petkov",
  "amount": 0.22,
  "notes": "string"
}'

Replace {token} with your actual Bearer token.

Response #
200 Success #

When the API is called you will need to make consent via the SCA app

A successful response returns a string with the Reference Number of the transaction.

SPR0002241830001
400 Bad Request #

A bad request response returns a JSON object detailing the error.

Response Body

Field

Type

Description

type

string

The type of error.

title

string

The title of the error.

status

number

The HTTP status code.

detail

string

A detailed description of the error.

instance

string

The instance of the error.

additionalProp1

string

Additional properties for more information.

additionalProp2

string

Additional properties for more information.

additionalProp3

string

Additional properties for more information.

Example Response

{
	"errors": {
		"Error": [
			"UserNotFound"
		]
	},
	"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
	"title": "Bad Request",
	"status": 400,
	"traceId": "00-534dd8fa2fc6863d0462cf097daceea1-d87e443e3aa9d6e3-01"
}

Snippet #

Powered by BetterDocs