Skip to main content

Process APM with Token

Process an APM transaction using a payment token.

Endpoint Information

Name: Hosted Fields Process APM Transaction with Payment Token
Method: POST
URL: {{BASE_URL}}/api/v1/payment/process-apm-transaction

Description

Process a payment for a digital wallet or APM using a paymentToken generated during setup.

Authentication

Type: Basic Auth

  • Username: App Key
  • Password: Secret Key

Request Body

Content-Type: application/json

{
"amount": "25",
"currency": "EUR",
"reference": "JYDFOOWSBJL",
"paymentToken": "9b33a6a1-6a9d-4e43-bee6-9b86ceab208d",
"customerToken": "2e7dcfb6fb2d84d1c7740bc5fef2e3aa",
"solutionUniqueId": ["2c032c79-dbb5-47b3-a575-c4098e687226"],
"merchantAccountId": "100643"
}

Key Parameters

ParameterTypeRequiredDescription
paymentTokenstringYesToken from initial APM setup
solutionUniqueIdarrayYesSolution ID

Response

Success Response

{
"success": true,
"message": "APM payment initiated",
"data": {
"status": "Pending",
"redirectUrl": "https://apm-provider.com/checkout?token=xyz123"
}
}