POST api/MPOSPayment/Fetchpayment_by_Paymentid?Paymentid={Paymentid}

Request Information

URI Parameters
NameDescriptionTypeAdditional information
Paymentid

string

Required

Response Information

Description:

Return type: FetchPyment

Response Formats
{
  "id": "sample string 1",
  "entity": "sample string 2",
  "amount": 3,
  "currency": "sample string 4",
  "base_amount": 5,
  "base_currency": "sample string 6",
  "status": "sample string 7",
  "order_id": "sample string 8",
  "invoice_id": {},
  "international": true,
  "method": "sample string 11",
  "amount_refunded": 12,
  "refund_status": {},
  "captured": true,
  "description": "sample string 15",
  "card_id": "sample string 16",
  "card": {
    "id": "sample string 1",
    "entity": "sample string 2",
    "name": "sample string 3",
    "last4": "sample string 4",
    "network": "sample string 5",
    "type": "sample string 6",
    "issuer": {},
    "international": true,
    "emi": true,
    "sub_type": "sample string 10",
    "token_iin": {}
  },
  "bank": {},
  "wallet": {},
  "vpa": {},
  "email": "sample string 20",
  "contact": "sample string 21",
  "notes": {
    "address": "sample string 1"
  },
  "fee": 22,
  "tax": 23,
  "error_code": {},
  "error_description": {},
  "error_source": {},
  "error_step": {},
  "error_reason": {},
  "acquirer_data": {
    "auth_code": "sample string 1"
  },
  "created_at": 29
}
{"id":"sample string 1","entity":"sample string 2","amount":3,"currency":"sample string 4","base_amount":5,"base_currency":"sample string 6","status":"sample string 7","order_id":"sample string 8","invoice_id":{},"international":true,"method":"sample string 11","amount_refunded":12,"refund_status":{},"captured":true,"description":"sample string 15","card_id":"sample string 16","card":{"id":"sample string 1","entity":"sample string 2","name":"sample string 3","last4":"sample string 4","network":"sample string 5","type":"sample string 6","issuer":{},"international":true,"emi":true,"sub_type":"sample string 10","token_iin":{}},"bank":{},"wallet":{},"vpa":{},"email":"sample string 20","contact":"sample string 21","notes":{"address":"sample string 1"},"fee":22,"tax":23,"error_code":{},"error_description":{},"error_source":{},"error_step":{},"error_reason":{},"acquirer_data":{"auth_code":"sample string 1"},"created_at":29}
<FetchPyment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Payment">
  <acquirer_data>
    <auth_code>sample string 1</auth_code>
  </acquirer_data>
  <amount>3</amount>
  <amount_refunded>12</amount_refunded>
  <bank />
  <base_amount>5</base_amount>
  <base_currency>sample string 6</base_currency>
  <captured>true</captured>
  <card>
    <emi>true</emi>
    <entity>sample string 2</entity>
    <id>sample string 1</id>
    <international>true</international>
    <issuer />
    <last4>sample string 4</last4>
    <name>sample string 3</name>
    <network>sample string 5</network>
    <sub_type>sample string 10</sub_type>
    <token_iin />
    <type>sample string 6</type>
  </card>
  <card_id>sample string 16</card_id>
  <contact>sample string 21</contact>
  <created_at>29</created_at>
  <currency>sample string 4</currency>
  <description>sample string 15</description>
  <email>sample string 20</email>
  <entity>sample string 2</entity>
  <error_code />
  <error_description />
  <error_reason />
  <error_source />
  <error_step />
  <fee>22</fee>
  <id>sample string 1</id>
  <international>true</international>
  <invoice_id />
  <method>sample string 11</method>
  <notes>
    <address>sample string 1</address>
  </notes>
  <order_id>sample string 8</order_id>
  <refund_status />
  <status>sample string 7</status>
  <tax>23</tax>
  <vpa />
  <wallet />
</FetchPyment>