Invoice

تایید پرداخت یک فاکتور

post/v2/invoice/ConfirmPayment

Request

  • Base URL: https://api.payping.ir
  • URL: https://api.payping.ir/v2/invoice/ConfirmPayment
  • Auth: one of:
    • API key in header Authorization
    • OAuth 2 (authorization code, authorization URL https://oauth.payping.ir/connect/authorize, token URL https://oauth.payping.ir/connect/token, scopes: profile, email, nationalcode, birthday, shaba, phone, pay:read, pay:write, product:read, product:write, coupon:read, coupon:write, customer:read, customer:write, invoice:read, invoice:write, upload:write)

Request body

invoiceCodestring required
refIdstring required

Response

Success

successboolean
messagestring
modelCodestring
refIdstring
previewKeystring

Example response

{
  "invoice": {
    "invoice": {
      "billToes": [
        {
          "addressBook": {
            "email": "info@example.com",
            "phone": "09110000000",
            "firstName": "پوریا",
            "lastName": "منفرد",
            "businessName": "پی‌پینگ",
            "additionalInfo": "او یک وکیل است",
            "memo": "در پی‌پینگ با ایشان آشنا شدم",
            "zipCode": "46169696164",
            "state": "تهران",
            "city": "تهران",
            "location": "خیابان جمهوری",
            "nationalId": "22266655591"
          }
        }
      ]
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.