openapi: 3.2.0
info:
description: "# Introduction\n Monoova's Online Card Payment Service incorporates a next-gen Card Payment Checkout integrated with our expansive Payments API to allow merchants to capture card and mobile wallet payments from your customers online and receive funds into your Monoova account for automated reconciliation and disbursement. To integrate the Card Payment Gateway into your website, all you need is Monoova's Merchant Software Development Kit (SDK) hosted on GitHub and a set of straightforward RESTful APIs detailed below. We will continue to update this API documentation as we release additional functionality.\n\n# How to Enable the Card Payment Gateway and Sandbox API’s\n>\n - If not already a user, register an account in our Sandbox Portal\n - Once registered and logged in, navigate to **Manage > API Gateway** and input your API Key (provided to you as part of Portal user registration) to activate API Gateway Access for your mAccount (If you do not know your API Key you will need to roll a new one, this can be done by navigating to **Manage > Accounts**)\n - Card Gateway integration requires some additional back-end configuration prior to use by a member of our integration team who will reach out to onboard and confirm access as a final step to enabling your service.\n - To notify the integration team of your interest in enabling your account for Online Card Payment Service functionality, please Contact us and a member of the team will follow up to guide you through the final steps.\n\n# Integrating Monoova Checkout for Card Payments\n Utilizing Monoova's Merchant SDK enables you to deploy a Card Payment Checkout that securely gathers card payment information that complies with PCI standards, without necessitating substantial PCI compliance modifications within your application. The integrated Card Payment Checkout implementation ensures the secure capture of card data and offers complete customization to seamlessly align with your application's appearance and user experience.\n\n## Before you start\n>\n - Ensure that your mAccount has been properly configured to enable card payments. Please access the Monoova portal or contact Monoova Support to verify this.\n - Download the Card Software Development Kit (SDK): https://github.com/Monoova/merchantSDK\n\n## Using the Merchant SDK\n To begin, clone the Merchant SDK repository. This repository offers an example implementation of the set of tools for initiating a session with Monoova and presenting the credit card checkout for the collection of card payments. Detailed instructions on how to integrate the credit card checkout are included in the SDK.\n\n## Sample Card Details\n The following Card details can be used to test the credit card checkout and end-to-end flow in your Sandbox Account.\n
\n \n | Card Type | \n Card Number | \n Card Expiry | \n Card CVV | \n
\n \n | VISA | \n 4111 1111 1111 1111 | \n 12/31 | \n 123 | \n
\n \n | MASTER CARD | \n 5555 5555 5555 4444 | \n 12/31 | \n 123 | \n
\n
\n\n## Customising the Checkout\n>\n - For those using the provided checkout form, you can make adjustments to the appearance of the checkout by editing the Checkout.html and style.css files to apply host themes.\n - To modify the styles within the card iframe, you should edit the CSS associated with the #Checkout-container ID, as host themes do not apply to the card form.\n - Refer to our README documentation in the Card Software Development Kit (SDK). It includes programmatic examples, including checkout style and callback details, for the events\n * onCheckoutComplete\n * onCheckoutFail\n"
version: v1
title: Monoova Card Payments Update Payment Method Token Status API
contact:
name: Monoova Support
email: support@monoova.com
url: https://www.monoova.com
x-logo:
url: https://movdpwebsiteprodae.blob.core.windows.net/images/Monoova-Primary-Logo-Black-RGB.png
altText: Monoova logo
servers:
- url: https://api.monoova.com
description: Production URL#
- url: https://sand-api.monoova.com
description: Sandbox URL
security:
- BearerAuth: []
tags:
- name: Update Payment Method Token Status
paths:
/au/card/ccm/PaymentMethodToken/{customerId}/{clientPaymentTokenReference}:
patch:
tags:
- Update Payment Method Token Status
summary: Update Status of Payment Method Token
description: This endpoint can be used to update the status of a paymentMethodToken.
operationId: updatePaymentMethodTokenStatus
parameters:
- name: customerId
in: path
required: true
schema:
type: string
description: Customer ID as specified in Credit Card - Generate Client Session.
- name: clientPaymentTokenReference
in: path
required: true
schema:
type: string
description: Client Payment Token Unique Reference as specified in Credit Card - Generate Client Session.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- status
properties:
status:
type: string
description: The new status to which the paymentMethodToken should be changed
enum:
- Active
- Paused
- Deleted
example:
status: Active
responses:
'200':
description: Status updated successfully
content:
application/json:
schema:
type: object
properties:
traceId:
type: string
description: Unique id for logging
errors:
type: array
items:
type: object
properties:
errorCode:
type: string
description: Monoova error code
errorMessage:
type: string
description: Description of error
sourceErrorCode:
type: string
description: Reserved - not currently used
sourceErrorMessage:
type: string
description: Reserved - not currently used
example:
traceId: 660ed149-61db-4644-acd0-5510dc840854
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
BasicAuth:
type: http
scheme: basic
x-tagGroups:
- name: ''
tags:
- Generate a Bearer Token
- Generate a Client Session
- Get Transaction By Id
- Get Transaction By Date Range
- Request Refund Transaction
- Get Async Request Status
- Create Payment Using Token
- Get Payment Method Token Details
- Update Payment Method Token Status
- Webhooks
- Monoova Error Codes